Skip to content

codegooglecom/sphorm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

No packages published

Languages