About the Persistence layerEdit on GitHub
Persistence layer is the owner of the schema, entities, and queries. This layer knows the database structure and holds the connection to it.
Propel Fast and simple ORM Framework MySQL or PostgreSQL. Both databases are supported.
Persistence layer elements:
|Repository is used to read from the database.
|Entity manager allows operating with table contents.
|Entity represents a single row from the database.
|Query objects provide an object-oriented API for writing database queries.
|XML files that define the database schema for the related module.
|Factory is used to instantiate query objects.
The following diagram shows how the elements interact:
For submitting the form