Quick Search:

jump to detailed chart Line History

line history graph

View Mode

Logical Physical

Show Arbitrary Diff

From to

Supports revisions and tags.

Watches and RSS

History

trunk 39 1 1.0 188 82

latest revision download trunk

39 annotated / raw | Diffs: previous, other | Lines: 38 ( +1, -1 )

Created: 2007-03-31 18:01:23 -0500 (16 months ago) | Author: opengeek | Changeset: 39

- Documentation updates

Branch point for: 1.0

38 new/moved annotated / raw | Diffs: previous, other | Lines: 38 ( +38, -0 )

Created: 2007-03-29 02:12:29 -0500 (16 months ago) | Author: opengeek | Changeset: 38

Moved from: trunk/xpdo/om/sample/mysql/person.map.inc.php 36

- Moved sample classes to model directory
- Added model/schema including:
 - sample build file for reverse and forward engineering
 - sample xml schema file generated from sample tables
- Added test/properties.inc.php for test framework
- Updates to MakeTable and MakeForm
- Update to PDO_mysql class to create new connection in cases where mysql_ functions are already being used

36 annotated / raw | Diffs: previous, other | Lines: 38 ( +1, -1 )

Created: 2007-03-26 12:35:43 -0500 (16 months ago) | Author: opengeek | Changeset: 36

Moved to: trunk/model/sample/mysql/person.map.inc.php 38

- 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

1 new annotated / raw | Lines: 38 ( +38, -0 )

Created: 2006-11-15 15:40:08 -0600 (21 months ago) | Author: jason | Changeset: 1

Importing xPDO

Branch point for: 2.0

latest revision download Branch 1.0

188 annotated / raw | Diffs: previous, other | Lines: 127 ( +3, -3 )

Created: 2008-04-01 09:28:39 -0500 (4 months 20 days ago) | Author: opengeek | Changeset: 188

* Changed from using static functions for xPDOValidator and xPDOValidationRules to actual object instances/methods.

181 annotated / raw | Diffs: previous, other | Lines: 127 ( +25, -1 )

Created: 2008-03-31 15:32:27 -0500 (4 months 20 days ago) | Author: opengeek | Changeset: 181

* Changes and updates to new xPDO validation package:
        -Added 4 basic xPDOValidationRule classes:
                -xPDOMaxLengthValidationRule
                -xPDOMaxValueValidationRule
                -xPDOMinLengthValidationRule
                -xPDOMinValueValidationRule
        -Added sample validation rules to sample schema.
        -Added xPDOGenerator support for validation rules.
        -Added on-demand loading of schema validation rules in xPDOObject, either when validate() is called, or when rules are added/removed via addValidationRule()/removeValidationRule(), whichever comes first.
* Added xPDO::getConfig() and xPDO::setConfig() methods for proper public access to xPDO::config and the ability to extend the behavior.

83 annotated / raw | Diffs: previous, other | Lines: 103 ( +100, -35 )

Created: 2007-10-30 18:28:28 -0500 (9 months ago) | Author: opengeek | Changeset: 83

* Refactored xPDO::loadClass()
 - Made xPDO::packages a single-dimensional array of package names and paths.
 - Changed the way classes are loaded by searching through all registered packages if not found in the current package, and isolated actual class/map loading logic to a separate _loadClass() function. Needs some profiling.
        - TODO: Need to remove the loading of base classes from the constructor for more control in using custom base classes.
* Added package to the map metadata for each object; requires full map regeneration.
* Fixed xPDOObject::addMany() to properly set compound primary keys on _relatedObjects, i.e. only if all keys in a compound primary key are set.
* Fixed xPDOObject::_saveRelatedObject() functionality to set _relatedObjects of cardinality=many with proper keys and remove placeholder objects with keys like __new1, __new2, etc.
* XPDOTest::testCascadeSave(), added an assertion to ensure multiple related object trees are saved properly.
* Modified xPDOObject::getFKClass() to use loadClass() and validate the relationship is usable.
* Introducing xPDOGenerator::compile()
 - Started adding in functionality to compile all classes and maps from a single package into one file for potentially quicker loading in some situations.

82 new annotated / raw | Diffs: previous, other | Lines: 38 ( +38, -0 )

Created: 2007-10-30 17:59:53 -0500 (9 months ago) | Author: opengeek | Changeset: 82

Creating a 1.0 working branch

Atlassian FishEye, Subversion, CVS & Perforce analysis. (Version:1.5 Build:build-293 2008-04-15 ) - Administration - Page generated 2008-08-21 14:25 -0500