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 Getting started
- 2 Getting started with Symfony 2.8
- 2.1 Setup
- 2.2 Delete Doctrine dependencies
- 2.3 Install Ting
- 2.4 Setup database
- 2.5 Creating repositories
- 2.6 Creating City repository
- 2.7 Creating Country repository
- 2.8 Creating CountryLanguage repository
- 2.9 Database connection settings
- 2.10 Repositories settings
- 2.11 Creating entities
- 2.12 You can now use Ting
- 3 Entities
- 4 Queries
- 5 Repository
- 6 About the hydrators
- 7 UnitOfWork
- 8 Cache
- 9 The cache component