PHPLibs 0.3 rc released
After heavy development a new version of phplibs has been released! As all 0.x versions they introduce major API breakage, many code clean ups and many new features. 0.3 will follow the same life cycle as previous ones which means that by the time 0.4 will be released 0.3 will be obsolete.
One of the major changes is the structure of the library which now follows PSR-0 guidelines and any PSR-0 class loader can work with PHPLibs structure.
Seeking for quality and stability PHPUnit was used to write test units for the majority of the library, this exposed MANY bugs that were fixed and also assures that any future change will not introduced unnoticed code behaviour changes.
EventDispatcher was re-engineered to address some common problems and make it more compatible with different test cases. The API was not changed that much but it was inspired a bit from symfony's implementation.
Caching is a common case in web development that's why a new abstract Caching system was written that can be used to cache any type of object. Back-ends for APC, MemCached, file system and sqlite are already implemented for you but you are free to expand it and write your own implementation.
Some initial work was done to create an abstract authentication system, replacing the old WAAS. As a result a singleton realm was created which can use backends for authentication and storage for identity tracking. 0.3 ships with only a database authentication backend and with 3 types of identity tracking storage engines. The API is abstract and expandable.
Last but not least, much work was done to improve ORM system. As a result a new DB/ORM system was written from scratch which is based on the same concept as the previous one but it now support all types of relationships, abstract caching, arbitrary queries and events through the revamped EventDispatcher system.
Along with the previous changes a new skeleton was written to reflect the new design of PHPLibs.
You can download 0.3 version at download page http://phplibs.kmfa.net/download or reference the API at http://phplibs.kmfa.net/api/@0.3 .
Cheers!
One of the major changes is the structure of the library which now follows PSR-0 guidelines and any PSR-0 class loader can work with PHPLibs structure.
Seeking for quality and stability PHPUnit was used to write test units for the majority of the library, this exposed MANY bugs that were fixed and also assures that any future change will not introduced unnoticed code behaviour changes.
EventDispatcher was re-engineered to address some common problems and make it more compatible with different test cases. The API was not changed that much but it was inspired a bit from symfony's implementation.
Caching is a common case in web development that's why a new abstract Caching system was written that can be used to cache any type of object. Back-ends for APC, MemCached, file system and sqlite are already implemented for you but you are free to expand it and write your own implementation.
Some initial work was done to create an abstract authentication system, replacing the old WAAS. As a result a singleton realm was created which can use backends for authentication and storage for identity tracking. 0.3 ships with only a database authentication backend and with 3 types of identity tracking storage engines. The API is abstract and expandable.
Last but not least, much work was done to improve ORM system. As a result a new DB/ORM system was written from scratch which is based on the same concept as the previous one but it now support all types of relationships, abstract caching, arbitrary queries and events through the revamped EventDispatcher system.
Along with the previous changes a new skeleton was written to reflect the new design of PHPLibs.
You can download 0.3 version at download page http://phplibs.kmfa.net/download or reference the API at http://phplibs.kmfa.net/api/@0.3 .
Cheers!
Posted May 10, 12:10 from sque
RSS Feed