简体   繁体   中英

Ruby on Rails worth learning?

I use PHP+Zend and Java+Wicket and learn Python (so will have Django available).

So I want to know if it is worth learning RoR for rapid web-development . Is it much faster building web-apps than with the other approaches or is it neglectable?

Or let me rephrase it: What are the facts that make RoR much faster in rapid development than the one listed above and so makes RoR worth learning in addition to the others.

Thanks

ps: make it community wiki or whatever, but imho this is a clear question with not much room for argumentation.

People are quick at developing things they know. If what you know solves your problems right now in a reasonable time frame then there's little reason to learn something else because someone else says it's faster or better.

Do what works for you and for your projects.

Yes RoR is worth learning.

If for nothing else that to have more exposure to other things in programming. The more experience in other frameworks and languages you have the more it changes your thinking and can lead to better results at times. Plus it makes you more marketable.

The best RAD tool kit is the one that you like best, because you will be the most proficient in it. Not having to go to the documentation as often, knowing how to layout your project and knowing the strengths and weaknesses will all trump the "ability" of the framework you choose. Pick one that you like and learn it through and through. With someone who knows the frameworks, they all will be about the same (order of magnitude) with regards to both development time and performance. So my advice would be to pick one you like, and stick with it. The one you chose ultimately comes down to your ability level and your tastes...

You can make other frameworks do basically what Rails gives you for rapid development....so there's no clear "Rails is better than Java or PHP". After all, it's just a bunch of Ruby. A lot of frameworks (CakePHP, Asp.net MVC, have copied some of the more useful features of Rails).

However, it is certainly a lot more convenient for doing rapid development if you agree with the Rails philosophies.

Here's the reasons.

  • Scaffolding - in a command you can generate a table, model, tests, and a bunch of CRUD views and controllers.
  • ActiveRecord - it's the easiest ORM out there to use, all you need is to have a bunch of tables and you can immediately do 90% of the operations you need without having to write any code
  • Ruby - it's a language made with a lot of shortcuts that you let you write code faster in less lines
  • RubyGems + Github - there is a lot of code out there that you can start using in a few commands if someone has already solved a problem you're having.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM