Namespaces briefing

at 2007-09-02 in AnnouncementsHomepageRFCs by friebe (0 comments)

With the PHP internals' developers seemingly having agreed on integrating namespaces into PHP 5.3 (see http://news.php.net/php.internals/31930 and http://news.php.net/php.internals/31957), and after having discussing the topic with Frank from (Stubbles) and Alex (XP core dev) numerous times, I thought I'd start sharing our thoughts on this topic.

Facts and strategy

  • Namespaces were intended to go into PHP 6 only in the beginning
  • Some rogue developer backported the patch:)
  • Namespaces are optional - that is, a PHP version with namespaces support is able to run non-namespaced code
  • The XP framework would embrace namespaces once they're released officially
  • Because mixing non-namespaced XP and namespaced XP will be tough on its internals, all the code would be migrated to use them, resulting in a new release
  • Since quite a bit of core changes are needed, this release will have a new major number (currently, that would be 6.0.0)
  • To ease migration and to give us the opportunity to provide bug fixes and releases for 5.x, an xp5 branch will be created. Active development will focus on XP6
To stay up-to-date, you can follow RFC #0136. It will be updated over time to contain all the important facts, migration utilities, decisions, dependencies and issues.



Subscribe

You can subscribe to the XP framework's news by using RSS syndication.


Categories

News
General
PHP5
Announcements
RFCs
Further reading
Examples
Editorial
EASC
Experiments
Unittests
Databases
5.8-SERIES
Unicode
Language
5.9-SERIES

Related

Find related articles by a search for «Namespaces».