JRoller has upgraded to Roller 1.0.1 and Remember Me is finally working! Since I'm the one who added this feature - please let me know if you find any issues with it. The last time we deployed it to JRoller, it ended up being a huge security hole and you could log into other people's accounts. Doh! Sorry about that. Hopefully it won't happen this time.
If you want to know how this feature is implemented, see AppFuse's Remember Me documentation.
I've decided to attend the Microsoft Conference in a few weeks. The good news is I got approval (from Microsoft) to blog the whole thing - even during the event. So you, my dear readers, will know as much as I do after this shindig. Furthmore, they agreed to let me cut out early. My sister's birthday is St. Patty's day (Thursday) and she's going to pick me up so we can head to my parents (in Oregon) for the weekend. A couple days with the folks and then I fly back to Denver on Saturday. Sounds fun.
David Geary on Ruby on Rails:
Interestingly enough, ROR creates
default views for your db tables. Cool. But after I thought about it
for a minute, I came to the conclusion that that feature is certainly
close to useless: It's nice to get you up and running, and great for
seductive demos and articles, but you're going to override at least 100% of the views that ROR generates. And therein lies the rub...
...because views in ROR are a mixture of HTML and Ruby scriplets!
We've been there before, of course, in the early days of JSP with HTML
mixed with Java scriptlets. No thanks, I'll pass on that giant step
backwards.
I've thought about this myself. I think David is right, but only to a certain point. Ruby on Rails (and its scriptlet-ridden views) will work until they get HTML designers in their writing Ruby code. Furthermore, when companies start off-shoring their Ruby development, that's when it gets ugly. JSP scriplets were a disaster because you had HTML developers writing Java code, and using if statements that exceeded the 64K block and such. JSP scriplets are hard to maintain when they're used and abused. I've seen a lot of code (especially the off-shored stuff) that has very ugly and unmaintanable scriplet code. However, using scriptlets in JSPs isn't a bad thing - it's only bad if you're coding business logic and/or, using lots of Java code in them, or having JSPs that are scriplet-only pages.
However, I believe Rails is a bit different. Not only does it enforce MVC from the get-go, but you can't use the views stand-alone (can you?). With JSPs and Servlets, you have the opportunity to use JSPs only - which encourages scriptlets. I do wish that Rails' templates used the ${...} syntax that JSP, Velocity and FreeMarker enjoy - the <% %> syntax brings bad bad thoughts of 1000+ line JSPs.
Oh, and one last thing - for David and Rick (the JSF-is-the-best-thing-since-sliced-bread-duo). At least Rails allows HTML in its view templates. JSF developers don't even get to see HTML anymore - poor guys.
This weekend was another action-packed one. On Saturday, we went to the NBA All Star Jam at the Convention Center in downtown Denver. I expected some sort of practice session with the All Stars, but it was just a carnival-like event for grade-school age basketball fans and players. We went with "Uncle Justin" and had a great time riding the light rail down and playing with basketballs at the event. Saturday night, we went to the DU Hockey game and got to witness our first loss of the season. It was a bad game, but I think the Pioneers needed it to get their heads straight for the playoffs in two weeks.
Today, Abbie and I headed up to Copper to do some tubing. The drive up was great - no traffic and Abbie slept the whole way. We rode up the lift together and hopped on the tube for our first ride down. It was wicked fast, and I thought we were in over our heads for a minute. Abbie got scared and cold and that first run was our last. I put on her hat and gloves (she didn't want them before we started the run) and we marched back to the car. The drive back was traffic-less and Abbie kept me entertained with all her mountain-driving observations. I'm going to try to get back in the habit of taking pictures when we do this fun stuff. Click on any image below to see pictures from this weekend.