
zend-framework-orm
"Zend Framework Db Table ORM" is a project that aims to give greater ORM functionality to Zend_Db_Table Relationships.
These extend the class "Zend_Db_Table_Abstract" and "Zend_Db_Table_Row_Abstract" without touching or altering anything of its existing features.
You can download libraries through SVN on the following link or can be downloaded directly from Downloads.
Also, it’s mandatory to use the adapter database "Zsamer_Db_Adapter_Pdo_Mysql" because it gives some advantages for using transactions employed in the ORM. If you are using Mysql, I recommend the use of the InnoDB engine because it supports transactions.
By default, the adapter for Mysql it’s ready, but if you gonna use another adapter like Oracle (e.g) it’s necessary to create the appropriate class that extends the adapter to use. See link installation & configuration.
To use the adapter mentioned is necessary to include the following line in the config.ini connection:
database.adapter = pdo_mysql
database.params.adapterNamespace = Zsamer_Db_Adapter;
The repository has a complete set of implementation examples inside the "application" folder, which includes the config.ini file, orm.sql and a module called "cms", with controllers of examples (ContentController and ProjectController ) and their respective models classes.
The repository also includes the Mysql tables of the examples in a .sql file (orm.sql); this one is in the "application" folder with the .ini config file.
The examples are in InnoDB Engine to support transactions, and Constraint (referential integrity).
Examples:
Example Content Manager System
Criteria or conditions on Objects Related
To see in Spanish
Project Information
- License: GNU GPL v2
- 31 stars
- svn-based source control
Labels:
PHP5
Zend
Framework
ORM
ZendFramework
PatternsDesign
Zend_Db
Zend_Db_Adapter
Zend_Db_Table
ReferentialIntegrity
Relationships