News

Heads up: Deprecated img.graph package removed

at 2012-02-21 in Announcements by friebe

The deprecated package img.graph and the classes therein - img.graph.Graph, img.graph.PieChart and img.graph.PieSlice have been removed. These classes have been deprecated since May 2005.



RFC #0237: xp -w and xp -d

at 2012-02-13 in RFCs by friebe

Scope of Change
Two new command line options will be added to the xp runner:

  1. -w - Use Console::writeLine() on the expression
  2. -d - Use var_dump() on the expression

Rationale
Users often find themselves typing xp -e 'Console::writeLine(...);'. This should be shortened.

Read the full RFC here



5.8.4RC4: Scriptlet parameters

at 2012-02-10 in 5.8-SERIESAnnouncementsReleases by friebe

We would like to announce the immediate availability of the fourth release candidate for XP 5.8.4. On top of the third RC, we have included the changes to the scriptlet API previously announced here.

You can download and install as always:

  $ cd ~/xp
$ wget http://releases.xp-framework.net/setup/5.8.4RC4 -O - | php -- -d ~/bin/

Enjoy:-)



Scriptlet request parameters case preserving

at 2012-02-08 in Announcements by friebe

Following the discussion in issue #120, we have now implemented case-preserving parameters, while keeping case-insensitive lookups. There is a minor BC break here:

  // For an URL like http://example.com/?CustomerId=100:
// * Old behaviour: $params = [ customerid : '100' ]
// * New behaviour: $params = [ CustomerId : '100' ]
$params= $request->getParams();

To retain the old behaviour, change the above as follows:

- $params= $request->getParams();
+ $params= $request->getParams(CASE_LOWER);



5.8.4RC3: JSON, Configuration, Properties and FC

at 2012-02-03 in 5.8-SERIES5.9-SERIESAnnouncementsReleases by friebe

We would like to announce the immediate availability of the third release candidate for XP 5.8.4. On top of the second RC, we have included JSON serialization for objects, the possibility to supply multiple configuration sources for both XPCLIs and web applications based on RFC #0221, extended the util.Properties class to be case-insensitive when parsing boolean values and added a method lang.reflect.Field::getTypeName() for forward compatibility with the upcoming 5.9-SERIES.

You can download and install as always:

  $ cd ~/xp
$ wget http://releases.xp-framework.net/setup/5.8.4RC3 -O - | php -- -d ~/bin/

Enjoy:-)



RFC #0210: Separate contrib & framework versions - vote please!

at 2012-02-01 in RFCs5.9-SERIES by friebe

We've worked on RFC #0210: Separate contrib and framework versions, the goal of which is to separate framework and contrib. library versions. While today, all libraries are versioned alongside the framework, e.g. xp-rt-5.8.4 and xp-contrib.stomp-5.8.4, the libraries will have separate versions in the future and instead a pointer to the framework version (range) they depend on. We've therefore gathered all the current libraries inside the xp.contrib repository and have reconstructed their changelog from SVN and Git commit history. The RFC includes these and the version numbers we can derive from that for each library.

Now while we were doing that, we also noticed quite a bunch of deprecated, badly named, unmaintained and otherwise outdated libraries. For the most obvious, we've created RFCs on how to further proceed with them. Please give your votes by adding "+1" or "-1" (and optionally, a reason) as to these proposals in the issue comments.


Thanks!



New method Field::getTypeName()

at 2012-01-28 in 5.8-SERIESAnnouncements by friebe

In preparation for the upcoming change of lang.reflect.Field::getType(), due to fix its inconsistency with other parts of the reflection API, we have added a forward-compatible lang.reflect.Field::getTypeName() method that you can start migrating your code to so it will work in both XP Framework versions.

For an example of what needs to be changed, see this pull request to the XP compiler.



RFC #0218: Parameter annotations

at 2012-01-28 in 5.9-SERIESRFCs by friebe

Scope of Change
Annotations on method parameters will be allowed.

Rationale
Originally motivated from XP Framework's pull request #33 - Stubbles IoC container and dependency injection.

Read the full RFC here.



5.8.4RC2

at 2012-01-23 in 5.8-SERIESAnnouncementsReleases by friebe

We would like to announce the immediate availability of the second release candidate for XP 5.8.4. On top of the first RC, we have included fixes for the HTTP transport based on the curl extension and bugfixes for XMLRPC deserialization. We would like to thank the contributors from over at GamePay for these patches! Also, there have been several optimization to the XP compiler in generating dependencies.

You can download and install as always:

  $ cd ~/xp
$ wget http://releases.xp-framework.net/setup/5.8.4RC2 -O - | php -- -d ~/bin/

Enjoy:-)



RFC #0231: Remove xp.contrib's "dba" module

at 2012-01-22 in 5.8-SERIES5.9-SERIESRFCs by friebe

Scope of Change
The module "dba" will be completely removed.

Rationale
The io.dba classes where deprecated in the 5.8-SERIES and moved to the ports repository (what is now "xp.contrib") for backwards compatibility on 2010-02-14, almost two years ago at the time of writing.

Read the full RFC here



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