PHP Classes


Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Giovanni Ramos  >  Zend Framework Models Generator  >  >  Download  
Role: Documentation
Content type: text/plain
Description: Documentation
Class: Zend Framework Models Generator
Generate model classes from MySQL databases
Author: By
Last change: Add a Bitdeli badge to README
Date: 1 year ago
Size: 1,674 bytes


Class file image Download

## 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

Install the ZF1 Quick Start:

    git clone

**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](

Distributed under the [MIT License]( (MIT-LICENSE.txt)

[![Bitdeli Badge](]( "Bitdeli Badge")