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

PHPMaster.com: PHP Traits: Good or Bad?

Phil Sturgeon: The Neverending Muppet Debate of PHP 6 v PHP 7

PHPMaster.com: Using Traits in PHP 5.4

Three Devs & A Maybe Podcast: The PHP-FIG/RFC, CodeIgniter 3 and PyroCMS with Phil Sturgeon

Matthew Weier O'Phinney's Blog: Using Action Helpers To Implement Re-Usable Widgets


Community Events

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


podcast language series laravel5 symfony security community release framework opinion library api threedevsandamaybe extension introduction interview unittest voicesoftheelephpant laravel version

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