library datamapper
Map objects to storage (MySQL or Redis), without relations mapping
jamm/datamapper
Map objects to storage (MySQL or Redis), without relations mapping
- Saturday, March 23, 2013
- by OZ
- Repository
- 1 Watchers
- 4 Stars
- 2 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
It's DataMapper to map objects into storages: MySQL or Redis., (*1)
Main classes are:
Mapper.php - basic mapper, which can use:
Redis\Gateway.php - gateway to Redis storage
or
MySQL\Gateway.php - gateway to MySQL, (*2)
To understand, how it works, read about patterns: Data Mapper and Table Data Gateway, (*3)
Gateways uses MetaTable to map schema of your table, this schema can be fetched from existing database, or imported by array, or constructed directly in code., (*4)
dev-master
9999999-dev
Map objects to storage (MySQL or Redis), without relations mapping
Sources
Download
MIT
The Requires
datamapper