Ting - Documentation¶
- Simple: no magic inside : it’s basically SQL queries
- Fast: with no magic comes no overhead
- Supports Mysql and PostgreSQL
Why another datamapper for PHP?
Great datamappers for MySQL and PostgreSQL already exist. However the most popular tools are complex and hard to master requiring new skills to query databases or boring xml files to describe the database. Ting has been created with the simplicity as a credo.
Ting is not an ORM, because it doesn’t fully support relations between objects. But you can easily build join queries and retrieve every objects involved in your query.
- 1 Queries
- 1.1 Perform a read query
- 1.2 Perform a write query
- 2 Repository
- 3 About the hydrators
- 4 UnitOfWork
- 5 Cache
- 6 The cache component