note 104360 added to class.mysqli
| From: | PascalHAVELANGE at osu1 dot php dot net | Date: | Fri, 10 Jun 2011 15:20:57 +0000 |
| Subject: | note 104360 added to class.mysqli | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-180408@lists.php.net to get a copy of this message | ||
I wrote a php script (command line) that will save you some time if you deal with many or large
databases. It generates for you PHP5 classes (that uses MySQLi) out of any MySQL5 database.
- One class per table
- Select (with filters/limits), Insert, Update, Delete, Count
- Accessors for linked tables based on the InnoDB foreign keys
- Automatic datetime type conversion
- Generated code is documented
For the time being I have only implemented support for MySQL5 DB to PHP5 classes, but other
languages, and databases can be added using php and XSL.
The project name is php-db2class and can be found here:
https://sourceforge.net/projects/classify-db/
----
Server IP: 69.147.83.197
Probable Submitter: 158.169.131.14
----
Manual Page -- http://www.php.net/manual/en/class.mysqli.php
Edit -- https://master.php.net/note/edit/104360
Del: integrated -- https://master.php.net/note/delete/104360/integrated
Del: useless -- https://master.php.net/note/delete/104360/useless
Del: bad code -- https://master.php.net/note/delete/104360/bad+code
Del: spam -- https://master.php.net/note/delete/104360/spam
Del: non-english -- https://master.php.net/note/delete/104360/non-english
Del: in docs -- https://master.php.net/note/delete/104360/in+docs
Del: other reasons-- https://master.php.net/note/delete/104360
Reject -- https://master.php.net/note/reject/104360
Search -- https://master.php.net/manage/user-notes.php