A while back, I was trying out cold fusion to see if it could become my new "quickly get a website up and running" environment. I was pretty dissapointed with it. The speed / power / ease tradeoffs just didn't feel like they were in the right place. Ever since then I've been using a pretty standard J2EE solution. While I'm quite happy with how that works out, I really wish I had something faster to develop quick ideas with.
Yesterday, I spent about half the day learning / working with ruby on rails. In that half-day I wrote a simple web application for a content editor I've been working on that:
- Allows a user to create "lessons"
- Allows the user to tag those lessons and search based on tags (with a nifty Ajax interface)
- Writes the lessons out into our version control system (with an index in a db)
- Allows the user to launch a Flex application (which I had already written) to actually preview or edit the lesson through a REST api
- Set up a development environment
- Learn enough ruby on rails to get this done
- Figure out how to actually use TextMate well
I'm not sure whether or not I'd go the J2EE or the RoR route if I was just starting a large complex site, but for small simple things, RoR is my choice for now on.
Oh, for books, I had grabbed the OReilly ruby book and Sitepoint's "Simply Rails 2". The ruby book is great, really explains the language well. The rails books is really just walking you through one example without a lot of "why" so I'm pretty dissapointed with it. It wasn't enough for me to build this simple example and I relied on google for a lot, but it was enough for me to understand what rails could do for me and to figure out what I should search for.
Spent 3 more hours with it today and added:
RoR rocks my socks.
- Account creation / signup
- Authentication (Login / Logout)
- A comment system to let people comment on lessons in progress
- An audit log for all changes done to a lesson