|Symfony VS CakePHP : which one is closest to PHP||#1|
I'm mostly a Rails developer but sometimes, I have to code in PHP. Because www.momige.com prefers questions that can be answered, I'd like to have a idea which one of the two is closest to PHP?
Sometimes, I'm under the impression that CakePHP is a outdated copy of Rails that wants to look like Ruby but fails at it and thus leaving the best of PHP behind.
posted date: 2008-12-08 09:23:00
|Re: Symfony VS CakePHP : which one is closest to PHP||#3|
I like symfony because it doesn't have PHP4 compatibility as a business goal. This lets the framework ditch some of the cruft and limitations of PHP4 and leverages the much stronger OOP in PHP5.
posted date: 2008-12-08 09:31:00
|Re: Symfony VS CakePHP : which one is closest to PHP||#4|
there are loads of questions dealing with the php framework issue.for example: php-framework-decision-analysis-paralysiswhat-php-framework-would-you-choose-for-a-new-application-and-whywhich-php-framework-is-closest-to-ruby-on-rails-cakephp-codeigniterI don't think this question will bring anything new to light.besides I think the framework of choice is more and more Zend Framework (IMHO).How would you define closeness?All frameworks are written in 100% PHP, non of them could be any closer to PHP. They are PHP.
posted date: 2008-12-08 09:38:00
|Re: Symfony VS CakePHP : which one is closest to PHP||#5|
Have you noticed that the Symfony code base does not use the new PHP5/OOP Interface construct whatsoever (at least last I checked, late last year)? How can you construct proper, "program to the interface", OO software, without using interfaces?
posted date: 2008-12-08 09:47:00
|Re: Symfony VS CakePHP : which one is closest to PHP||#6|
Yes, I noticed that. I don't think it weakens my point, though. Static methods, private data members, get/set hooks, not having to use the awful reference operator, etc - working with 5 is just better. Yes, I would like it if they used interfaces, but it's not a bad product for the lack of them.
posted date: 2008-12-08 09:55:00
|Re: Symfony VS CakePHP : which one is closest to PHP||#7|
@George In a dynamically typed language, you don't need static interfaces to "program by contract".
posted date: 2008-12-08 12:20:00
|select page: « 1 »|