Actions

Zend Application Development

From zen2

Revision as of 01:07, 21 March 2010 by Chris (talk | contribs) (Created page with '==Create the initial framework== <pre> zf.sh create project csf </pre> ==Key Files== ===index.php=== /public/index.php is now the main intro to the site. APPLICATION_ENV is wher…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Create the initial framework

zf.sh create project csf

Key Files

index.php

/public/index.php is now the main intro to the site. APPLICATION_ENV is where production, development etc is defined. This is then used in /application/configs/application.ini APPLICATION_ENV can take the value from /public/.htaccess which may include the line

SetEnv APPLICATION_ENV development

index.php will then turn this into "development : production" to pass to application.ini

application.ini

This is where paths and database connections are defined.