Zend Framefork2
Firstly know your php version by writing php -v on cmd
For that you need to set environment variables
Steps-
a)right click My Computer->Properties->advanced->Environment Variables->Search for path add ;c:\xampp\php
All set to go
Steps Of Installation
1)Upgrade php to > 5.3.1
2)Better option reinstall xampp
xampp-1.8.3
php-5.5.6
3)download Zend skeleton from github from the following link
https://github.com/zendframework/ZendSkeletonApplication
4)first time when you will run your application skeleton it will ask for composer
For that just follow these steps
a)Open cmd
b)Browse to the location of application
c)run the following 2 commands
php composer.phar self-update
php composer.phar install
Firstly know your php version by writing php -v on cmd
For that you need to set environment variables
Steps-
a)right click My Computer->Properties->advanced->Environment Variables->Search for path add ;c:\xampp\php
All set to go
Steps Of Installation
1)Upgrade php to > 5.3.1
2)Better option reinstall xampp
xampp-1.8.3
php-5.5.6
3)download Zend skeleton from github from the following link
https://github.com/zendframework/ZendSkeletonApplication
4)first time when you will run your application skeleton it will ask for composer
For that just follow these steps
a)Open cmd
b)Browse to the location of application
c)run the following 2 commands
php composer.phar self-update
php composer.phar install
There are a number of articles you could read that could help:
- Official documentation - has useful stuff - especially the view quick start
- View Layers, Database Abstraction, Configuration, Oh, My! - Good intro to View Layer & Db
- Getting started writing ZF2 modules - Good intro to modules
- Modules in ZF2 - Another intro to modules
- Using the ZF2 EventManager - introduction to event manager
- PHP Constructor Best Practices And The Prototype Pattern - Zend\Db\ResultSet uses this
- Learning About Dependency Injection and PHP - Useful background for Zend\Di
- An introduction to Zend\Di - Intro to using Zend\Di
Also, these blog categories have useful info:
- Matthew Weier O'Phinney's ZF2 articles
- Rob Allen's ZF2 articles
For source code:
The documentation for the skeleton app includes instructions on using composer to pull ZF2. Composer also handles all your auto-loading needs, so you don't need to manually configure your PHP autoloading, which is another great reason to be using it.