Monday, October 24, 2011

Ruby on Rails 3.0

I have created a webpage in Ruby on Rails after going through all those server setup at slicehost.com and all those plugins. I kinda like the CMS editor, but don't like plugin hell!

I installed one file management plugin to upload css and js files,but it was so stupid to cut off after some characters. After checking their code, i realized that they were using "Get" method to send data. I learned hard way that you should not trust those weird plugins they got. They got so many different versions and it needs to be compatible. Besides all those, I really like the scaffolding, conventions in modelling, and different view engine options. It is definitely ahead of the current Asp.net MVC 3 or 4 with all those features. You may know that recent asp.net mvc features and code sharing with nuget packages are copy of RoR. You can do scaffolding with T4 templates and do the data modeling style coding with new Entity framework code first approach. They are still weak on the data migration  part, but it is coming very strong.

If you setup a server for your RoR project before, you may know all different options and little things to do. If you have limited memory on your slice, it takes some time to restart worker threads after inactivity period. They are not very efficient. I did bunch different things to make it work. Good thing is you can find everything about to start a server from scratch. You can check articles at Slicehost.com for different server options.

Anyway, What do you think about Ruby on Rails and Asp.Net MVC?

No comments:

Post a Comment

Hey!
Let me know what you think?