-
Website
http://jonathansng.com -
Original page
http://www.jonathansng.com/technology/php-vs-rails/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
Search Engine Optimization
1 comment · 1 points
-
Nik Bauman
1 comment · 1 points
-
zackmctee
1 comment · 1 points
-
srinathbtech
2 comments · 1 points
-
Quad Core Imac
1 comment · 1 points
-
-
Popular Threads
All my old PHP code is the same though, I wonder how much nicer it would be if I went back to coding PHP with what I have learnt with rails...
As for the PHP code that I posted, obviously that code could be drastically reduced with SQL triggers and better code, but for the most part, a new programmer using PHP vs one using Ruby, Ruby is going to be the winner :)
However, what you surely can compare is the great readable syntax in Ruby and the good community in rails, their overall willigness in picking up the latest technology (best practises, patterns, git and a like) and their ability to learn and adapt frequently.
From my PHP-Years i can tell you that the majority of PHP-Coders never adapted to new technical expertise while i can see from the core rails community, that this makes up 50% of the fun - learning and improving that is.
-act
I am a 6-year veteran PHP coder who is finally making the jump to learn RoR.
I had built my own frameworks that cover much of the functionality of MVC methodology--
I think the major concern with PHP is that many of the PHP programmers out there are merely dabblers, as the language requires little skill to get going. I find that to be one of its best points, and I recall that is why I picked it up so well so quickly back in the day.
Regarding PHP frameworks, have you seen Symfony?
lol, php cake is the worst from all the php frameworks.
good luck with that!
cake is refactoring its "ActiveRecord" implementation at a tremendous slow pace
implementation to match the one on rails so why should you wait and refactor all
of your code instead of concentrating on your own application code?
languages ruby, php
frameworks rails, cakephp
if you compare ruby and php ruby is a more powerful language
if you compare rails with cakephp well.. I'll say rails is better.
ither way rails is not like the "PHP language itself"
I'll say use rails and then compare them.
is like when you are used to something and then you do it in another way.
and you think there is not so different.
then you go back to the way you use to do it and you feel the difference.
then you switch back to the new thing and realize that this is how you should
approach the problem!
- Rails is clear, readable and fast
- cake is cryptic, obscure and slow
By the way look at the literature and the programmers base. I mean if you are an experienced Cake programmer you probably have a ROR background. But then why move to Cake. I did it just to add another buzzword on my CV
-Budget and Overhead Factors
-Work force skill level
-Stability of Framework/Language
It's still a work in progress, though give it a read at:
http://www.chriswpage.com/2009/05/choosing-the-...