Add support for PHP 5 in the XP frameworkScope of Change
The XP framework will add support for PHP 5 from a certain release date on.
Support for PHP 4 will continue until a not yet defined point in the future
in form of security or bug fixes. Rationale
XP framework for PHP4 has been written with PHP5's features in mind,
planning to migrate to PHP5 as soon as it was released. Functionality
Repository layout
trunk/
skeleton/
ports/
classes/
dist/
web/
util/
branches/
xp4/
skeleton/
ports/
classes/
dist/
web/
util/
First, files from trunk/ will be copied (branched) to branches/xp4. Second,
all classes in skeleton and ports/classes will be migrated to their PHP5
versions. Third-party applications
Third-party applications - or in general - applications that base on
version 4 of the XP framework are not required to support both branches.
The co-existance of PHP4- and PHP5-versions targets a
seamless traversion from PHP4 to PHP5 for just these applications. Security considerations
n/a Speed impact
n/a Dependencies
Related documents
Comments
- friebe, Thu Dec 14 13:32:06 2006
Another idea would be to keep the migrated PHP5 classes in a branch,
say, branches/xp5 and have skeleton/ and ports/ there (no "2" in the
directory names). At the time we want to switch, we'd move trunk to
branches/xp4 and branches/xp5 to trunk. | Table of contents |