News Feed
Sections




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

Lukas Smith's Blog:
Horizontal Reuse aka Traits Reloaded
March 26, 2010 @ 10:38:14

In a quick post to his blog Lukas Smith talks about the proposal for traits support that's been pending for PHP for a while now. Recent updates have been made to it, so it's come back up to the front of developer's minds:

Stefan has since tweaked the proposal and in the latest version it includes an alternative approach called Grafts along with the original Traits idea, which is essentially language level delegation pattern support. I am absolutely sure that we will either see Traits or Grafts in the next non patch release of PHP (aka 5.4 or 6.0).

Lukas would like to see the support go in sooner than later, so he requests some comments and thoughts on the proposed functionality and to leave them as comments on his blog entry.

1 comment voice your opinion now!
horizontal reuse traits rfc grafts


blog comments powered by Disqus

Similar Posts

Gonzalo Ayuso's Blog: Inject dependencies via PhpDoc

Maarten Balliauw's Blog: Reuse Excel business logic with PHPExcel

Freek Lijten's Blog: Currently on PHP's internals...

Brandon Savage's Blog: Keeping Superglobals Out Of Classes

TechChorus Blog: What is your definition of a "True PHP Developer?"


Community Events

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


language application api part2 framework interview podcast php7 example yii2 laravel programming opinion introduction community list series composer project symfony

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