News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Soledad Pendaes' Blog:
PHP will never have a (real) Rails-like framework
January 31, 2007 @ 09:15:00

Well, according to Soledad Pendaes, PHP will never have a (real) Rails-like framework because of some of the limitations with objects inherent to the language.

I know the title is harsh but it's so true. At least it is according to nowadays php's implementation of classes and objects, which do not permit to "reopen" and add or redefine new methods to an existing class definition, which is the basis upon Rails (and I presume lots more of applications and frameworks) is built.

The post goes on to talk about they "why" behind the statement - basically that this kind of functionality makes it easier to "Extend. Morph. Adapt. Improve. Refine." your applications. She talks some about other frameworks that have tried to offer the same kinds of functionality Rails does (CakePHP and Symfony) but notes that they still have their limitations (in specific, mentioning CakePHP's AppModel functionality).

3 comments voice your opinion now!
rails framework redefine existing class php5 cakephp symfony rails framework redefine existing class php5 cakephp symfony


blog comments powered by Disqus

Similar Posts

Zenning! Blog: Web Frameworks: Which one to learn?

DevShed: Enforcing Object Types in PHP - Using the Type Hinting Feature in PHP 5

Zend Developer Zone: Zend Framework Hidden Gems: Zend_Config

David Otton's Blog: PHP Tip: Classes Arenít Derived From stdClass

Maarten Balliauw: Working with Windows Azure from within PhpStorm


Community Events





Don't see your event here?
Let us know!


introduction developer release language bugfix api laravel tips interview code list development community deployment conference series symfony framework podcast zendserver

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework