Few days back, I did introspection and thought, as a developer:
- How many languages I know?
- How many databases I have worked with?
- Which frameworks I am comfortable working with?
- Do I know the latest technologies in my field?
Then I downloaded Ruby 1.9.2, with pik, so I can continue work on the project work(ruby 1.8.6), as well as try out rails 3. Needless to say Rails 3.x is far better than it's predecessor Rails 2.x. bundler is just awesome! But I was so used to use ActiveRecord (with mysql and oracle), I was not able to think how would I work without it on a Rails project.
I first tried mongodb online (Try it out section) and felt it different, but complete. Whatever basic operations you can perform in mysql/oracle, you can do it in that tutorial.
I installed Rails 3.0.3 without ActiveRecord and installed mongodb to give it a try. It is really different and it amazes you by the fact that how easy to use it with rails. ActiveRecord syntax will not work, but mongo mapper has it's own syntax. In two-three hours I had my basic application with Rails 3 and mongodb on windows7 machine up and running (including learning curve and thanks to mongodb and mongo mapper asciicast and Ryan Bates for nifty_generators)
Once I was done with my rails3-mongodb test application, I realized that MySQL and Oracle are not end of the world. There are better and different things that I should learn. It is much faster to install and configure Ruby 1.9.2 + mongodb + rails 3 and get the application up and running as compared to Ruby 1.9.2 + MySQL/OracleXE (10g) + rails 3 from scratch.
I would love to hear comments/similar experiences :)
0 comments:
Post a Comment