ASISG

Gy - php framework/CMS | Documentation | How to add any database to gy

<-- table of contents

How to add any database to gy

gy php framework - does not use complex designs and database capabilities, so you can easily connect any database.

To do this, you need to create a class layer between gy and your database. Examples of this class:

Then implement all the methods following the example from these files.

Create a database in the database you need, and specify the necessary type and parameters for the connection in the configuration file.

After that, you need to set the data for the database script gy/install/installDataBaseTable.php Installation Examples:

The moment of creating the class object for working with the database is indicated here https://github.com/ssv32/gy/blob/master/gy/gy.php




View documentation on GitHub.com