https://github.com/geraintluff/persistence-generator
A highly experimental and probably useless PHP/MySQL data storage framework
https://github.com/geraintluff/persistence-generator
Last synced: about 1 month ago
JSON representation
A highly experimental and probably useless PHP/MySQL data storage framework
- Host: GitHub
- URL: https://github.com/geraintluff/persistence-generator
- Owner: geraintluff
- Created: 2013-03-27T23:08:29.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-28T12:24:03.000Z (about 13 years ago)
- Last Synced: 2025-03-23T15:16:34.244Z (about 1 year ago)
- Language: PHP
- Size: 117 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# persistence-generator
A highly experimental and probably useless PHP/MySQL data storage framework, useful for creating HTML/JSON APIs.
## What?
You specify the shape of your data objects (objects properties, array items, etc.) and the framework then generates some PHP base classes for you, that deal with all the
You can have a look at the files called `test-genX.php` for some examples of me just messing around with the framework as I'm building it. Have a look at the folder `cms/` to see me starting to build an API.
## Why?
Because you're not the boss of me.
## I just cloned it and it won't connect to MySQL!
Surprisingly enough, I didn't put my MySQL credentials up on GitHub for everyone to use. There's a missing file `config.php`, which defines some constants, including the `MYSQL_*` constants used for the connection.