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: 4 years ago
Size: 925 bytes


Class file image Download
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      ->
2) phpclasses  ->

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

- 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
For more information send a message to info at phpclasses dot org.