Re:7 reasons I switched back to PHP after 2 years on Rails -...
by jamongkad on Sunday September 23, 2007 @02:22AM
(#58484)
He used MVC and DRY practices not common in PHP but is still very possible(I know I use them). Very nice! I would give kudos to Martin Fowler's Active Record pattern which can be found in (phpclasses.org). Very nice library and easy to use as well. I'm willing to wager the author is taking advantage of PHP5.
[ Parent
| on HN ]
Re:7 reasons I switched back to PHP after 2 years on Rails -...
by henning on Sunday September 23, 2007 @02:50AM
(#58491)
He mentioned using a feature only available in PHP 5, so yes.
PHP definitely can be used in a reasonably professional way, you just won't get a lot of examples of it being used that way in books or in code you'll come across on the Internet, usually.
Probably most of the people who know how to use PHP as well as it can be used work at Yahoo.
Re:7 reasons I switched back to PHP after 2 years on Rails -...
by jamongkad on Sunday September 23, 2007 @05:13AM
(#58509)
Sadly that's true. There aren't many good examples of using PHP the professional way. That being said I can somewhat relate to the author(coming from PERL/PHP jumped to Rails and back to PHP). I loved the way Rails was constructed and how it approaches web app development not to mention. I definitely think most web development frameworks should take a page off it's book.