News Feed
Jobs 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

DevShed: PHP 5 Helpers: Calling Methods Out of Object Scope

PHPGeek.com: Using AuthComponent for Access Control in CakePHP

Greg Beaver's Blog: PHP_ParserGenerator and PHP_LexerGenerator

Cal Evan's Blog: Three Lists I Never Want to See Again

Alexander Netkachev's Blog: Create Ajax Login page with Dojo toolkit and Zend Framework


Community Events











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


release overview code hhvm component podcast opinion composer unittest facebook symfony2 application install framework package introduction example language security hack

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