A Telosys template of a PHP Persistence for a PHP MVC application, able to perform CRUD (Create, Read, Update, Delete) operations. All data is cache-persisted. This template is part of a Bundle (see the Telosys 3 MVC PHP Template and Telosys 3 REST API PHP Template).
- PHP.
- A PHP MVC Application.
- Download the template.
- Check that your model is ready (DSL/Database).
- Generate the code with Telosys.
- Use the generated code in your project.
- After being generated, this template provides you with a repository file for every entity present in your model (see "Usage:2").
- You can import each file in their corresponding Controller like this :
$this-><Entity>Repository = <Entity>Repository::getInstance();
NOTE : You don't need to do this if you also use the Telosys 3 MVC PHP Template.
This project uses the LGPL v3 License.