Coder Social home page Coder Social logo

extjsgeneratorfromzf's Introduction

README
======

About
=====

Author: Anton Fischer <[email protected]>

Creating database:
==================

Use sql/schema.sql and sql/data-example.sql


Creating Zend Framework Application by command tools:
=====================================================
$ cd extjs-generator-from-zf/
$ zf create project ./
$ zf enable layout
$ zf configure db-adapter "adapter=pdo_pgsql&host=127.0.0.1&port=5432&dbname=egfzf&username=egfzf&password=pass"
$ zf create db-table.from-database
$ zf create controller ExtjsGenerator

Result:

.
├── application
│   ├── Bootstrap.php
│   ├── configs
│   │   └── application.ini
│   ├── controllers
│   │   ├── ErrorController.php
│   │   ├── ExtjsGeneratorController.php
│   │   └── IndexController.php
│   ├── layouts
│   │   └── scripts
│   │       └── layout.phtml
│   ├── models
│   │   └── DbTable
│   │       ├── BouquetsFlowers.php
│   │       ├── Bouquets.php
│   │       ├── Flowers.php
│   │       └── Wrappers.php
│   └── views
│       ├── helpers
│       └── scripts
│           ├── error
│           │   └── error.phtml
│           ├── extjs-generator
│           │   └── index.phtml
│           └── index
│               └── index.phtml
├── docs
│   └── README.txt
├── library
├── public
│   └── index.php
└── tests
    ├── application
    │   └── controllers
    │       └── IndexControllerTest.php
    ├── bootstrap.php
    ├── library
    └── phpunit.xml


Links
=====

http://framework.zend.com/manual/1.10/en/zend.tool.usage.cli.html (zf cli)

Setting Up Your VHOST
=====================

The following is a sample VHOST you might want to consider for your project.

<VirtualHost *:80>
   DocumentRoot "/home/***/php/extjs-generator-from-zf/public"
   ServerName extjs-generator-from-zf.local

   # This should be omitted in the production environment
   SetEnv APPLICATION_ENV development

   <Directory "/home/***/php/extjs-generator-from-zf/public">
       Options Indexes MultiViews FollowSymLinks
       AllowOverride All
       Order allow,deny
       Allow from all
   </Directory>

</VirtualHost>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.