PHP Classes

File: docs/tutorial_text.txt

Recommend this page to a friend!
  Classes of Saro Carvello   MySQL Class Generator   docs/tutorial_text.txt   Download  
File: docs/tutorial_text.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: MySQL Class Generator
Generate classes to access MySQL as objects
Author: By
Last change:
Date: 7 years ago
Size: 925 bytes
 

Contents

Class file image Download
Hello, MySQLReflection is a PHP utility for auto generating PHP classes source code for all tables from a given MySQL Database. A generated class can compute CRUD operations against a MySQL Table. You can download it from: 1) github -> https://github.com/rcarvello/mysqlreflection 2) phpclasses -> https://www.phpclasses.org/package/10162 Now I show you how it works... it is very simple: 1) To set your database modify mysqlreflection.config.php 2) Then, just run app_create_beans.php. (In this demo I used the "bean_db" database. See sql\bean_db.sql and install it into your local MySQL server) After running the utility you will find all generated classes into beans subfolders. Note: - Auto generated classes are prefixed with "Bean". - Each auto generated classes uses bean\bean.config.php for configuration info. - Each auto generated classes uses Model.php and MySqlRecord.php