-
Notifications
You must be signed in to change notification settings - Fork 0
Automatically exported from code.google.com/p/sphorm
License
codegooglecom/sphorm
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
[Requirements] - PHP 5.2.x (probably is true for 5.1.x too, wasn't tested yet...) - MySQL (for now) - PDO & PDO_MYSQL [Installation] - Download latest stable/unstable release. - Unpack to a desirable directory. - Define 'SPHORM_HOME' constant for custom installation directory. (Default is {DOCUMENT_ROOT}/sphorm). - Change SPHORM_HOME/conf/DataSource.php - List _all_ your beans/classes to SPHORM_HOME/conf/Beans.php file. See a sample inside. - Copy _all_ your domain classes to SPHORM_HOME/domains or define your own path using SPHORM_DOMAIN_DIR const. - _all_ your domain classes should be 1 class per 1 file. By default filename should be the same as class name. If you want custom filenaming, change define your own SPHORM_DOMAIN_PATTERN constant. In this case filename is not required to be the same as class name. - Check samples dir with for more examples. Thank you for using sphorm!
About
Automatically exported from code.google.com/p/sphorm
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published