5.2.0-Release: Overhauled database support

at 2007-01-17 in ReleasesAnnouncements by kiesel (0 comments)

With this release, we catch up with PHP5's version number. Coincidentially, XP 5.2.0 requires at least PHP 5.2.0 to run, but there is actually no connection between the XP and PHP version numbering scheme.

With this release comes a major change in how Database classes (rdbms.DataSet) have to look like - thus also the bump in the minor version number. Along with this, serveral minor improvements in speed and/or reliability have been made and xml.XSLProcessor has been deprecated; scriptlets now use xml.DomXSLProcessor by default.

XP 5.2.0
Requires PHP 5 (5.2.0 - ...) - Download

ChangeLog 5.2.0

  • Replace deprecated is_a() with instanceof operator in core (kiesel)
  • Made rdbms.Criteria usable in a fluent interface way (e.g. $c= Criteria::newInstance()->add('bz_id', 500, EQUAL)->add(...); (friebe)
  • Implemented RFC #0107 (Generic acccess to rdbms.Peer/rdbms.DataSet) (friebe)
  • Use stream wrapper loading for loadClass() in class lang.archive.ArchiveClassLoader (kiesel)
  • Implemented RFC #0083: Define classes through stream wrappers (kiesel)
  • - Deprecated xml.XSLProcessor - use xml.DomXSLProcessor instead Sablotron was removed from ext in PHP5 (in Version 5.0.0 Beta 1 on 29-Jun-2003, ChangeLog states: "Completely Overhauled XML support ... Moved the old DOM-XML and XSLT extensions to PECL"). Neither PECL nor PECL4Win show any trace of ext/xslt extension anymore, though. (friebe)
  • Changed xml.XMLScriptlet to use xml.DomXSLProcessor (friebe)



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 «5.2.0-Release:».