- Initial commit of 1.0 beta (potentially unstable) - New aggregate and composite schema/map definitions - simpler definitions are faster and easier to process - refer to distinct relationships to another class by an alias rather than class name + key - new owner attribute to indicate if the local or foreign object owns the foreign key value used to define the relationship - to migrate: - modify schema: - add an alias attribute for each aggregate/composite relation (key attribute can be removed) - add an owner attribute for each aggregate/composite relation (value will be local or foreign) - Public API changes requiring code modifications (migration guide will be released with additional details): - xPDO class: - getObjectGraph() - getCollectionGraph() - getFKDefinition() - xPDOObject class and derivatives (i.e. all generated classes): - getOne() - getMany() - addOne() - addMany() - getFKDefinition() - xPDOQuery class - join() - innerJoin() - leftJoin() - rightJoin() - from() - bindGraph() - New physical class/map structure to better support for platform-specific optimizations - packages now require both a class file in the package root, as well as classes for each driver implementation in the appropriate subdirectory - to migrate, move your existing classes to the package root, and regenerate from the schema to create the new driver specific class stubs
* Removed trailing PHP tag from all files. Not needed and can lead to extra whitespace. * Moved xPDOGenerator to xpdo/om/mysql * Migrated remaining db-specific code from xPDO class to mysql/xPDOObject in preparation to create ports optimized for other db systems. - load(), loadCollection(), loadCriteria(), and getSelectColumns are now static methods of xPDOObject that now implement db-specific code to power xPDO::getObject(), xPDO::getCollection(), xPDO::getCriteria(), and xPDO::getSelectColumns(), respectively.
* xPDOCacheHandler class updated to allow configuration properties to determine a class for handling xPDO object and result set caching. * Modified fromArray() so it is not responsible for determining the _new attribute of xPDOObject instances. This is the responsibility of xPDO::getObject(), which uses xPDO::load(), and xPDO::getCollection(). * Fixed all line endings to Unix style...