PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Giovanni Ramos   Zend Framework Models Generator   README.md   Download  
File: README.md
Role: Documentation
Content type: text/plain
Description: Documentation
Class: Zend Framework Models Generator
Generate model classes from MySQL databases
Author: By
Last change: Update of README.md
Date: 8 months ago
Size: 1,674 bytes
 

Contents

Class file image Download
ZEND FRAMEWORK MODELS GENERATOR ====================== ## About ## Models Generator for the Zend Framework 1 (ZF1). This script aims to automate the creation and access of the database models. To facilitate access to the elements of a data model, two abstract classes have been created and are available to perform this task. ## Installation ## **Git clone** Install the ZF1 Models Generator: git clone git@github.com:giovanniramos/zf_generate_models.git Install the ZF1 Quick Start: git clone git@github.com:giovanniramos/zf_quickstart.git **Installation structure** <project name>/ |-- application/ |-- library/ | |-- App/ | | `-- Model/ | | |-- Mapper/ | | | `-- Abstract.php | | `-- Abstract.php |-- public/ `-- scripts/ `-- zf1_generator/ Copy the folder `zf1_generator` to the directory: <project name>/scripts/ Copy the folder `App` located in `zf1_library`, and paste in: <project name>/library Add to your `application.ini` the following Namespaces: autoloaderNamespaces[] = "App" To run and test the script, go to the url: <host name>/scripts/zf1_generator And generate the "Models" the Guestbook database, which is present in the package ZF1 Quick Start. Then run the application! That's all you need to do. ## License ## Copyright (c) 2013 [Giovanni Ramos](https://github.com/giovanniramos) Distributed under the [MIT License](http://www.opensource.org/licenses/MIT) (MIT-LICENSE.txt) [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/giovanniramos/zf_generate_models/trend.png)](https://bitdeli.com/free "Bitdeli Badge")