Trick or ruby ​​on the rails

I've put some of my free time reading / learning about cakephp, but now I'm wondering if it wouldn't be better to switch entirely to rubies on rails.

Can you give me the good and bad of these tools when it comes to web development?

many thanks

+2


source to share


5 answers


personally I would choose cakephp at this point. php and mysql are very common on most web hosting packages, even free ones. it is php based and there are a huge number of resources to learn and help. you can reuse many classes already written. regarding the speed of cakephp, there are ways to speed up cakephp in production through coding and caching techniques.



+1


source


Why switch? Since you have your initial start on CakePHP, take a short break.

Learn a little Ruby on Rails, then switch back to CakePHP when the mood hits you.



This way, in the end, you will gain knowledge of two languages ​​/ frameworks, not just one. It's always best to get as much exposure as possible. Each has its own advantages and disadvantages, but why not study enough to make a decision on your own?

+6


source


None is better than the other. While some may be more suitable for specific applications than others, they are certainly good frameworks.

They say PHP is faster, Ruby is objectively a better developed language. They probably matter more than the framework itself - you can always change the libraries or write your own classes to make the framework do what you want.

My advice is to stick with what you know, if you like it - learning a new structure is a long process. If you have problems with Cake or want to try something different, Rails is definitely worth it.

+3


source


I recently read a good article from a developer with a CakePHP base who has just completed a large Ruby on Rails project.

http://www.jimmycuadra.com/blog/10-from-cake-to-rails

It details where Rails is stronger than Cake, but also vice versa. Another blog post compares Ruby and PHP here.

http://developingwithstyle.com/articles/2009/06/09/10-reasons-why-ruby-is-better-than-php-reason-5.html

+2


source


I would pick a ruby ​​on the rails because

  • Ruby is fun to write
  • there is a great community.
  • There are better quality resources like www.railscasts.com and learnmetocode.com.
0


source







All Articles