Zend framework

3823 palavras 16 páginas
Getting Started with Zend Framework
By Rob Allen, www.akrabat.com Document Revision 1.7.6 Copyright © 2006, 2010

This tutorial is intended to give an introduction to using Zend Framework by creating a simple database driven application using the Model-View-Controller paradigm. Note: This tutorial has been tested on version 1.10.1 through to 1.11.4 of Zend Framework. It stands a very good chance of working with later versions in the 1.x series, but will not work with versions prior to 1.10.1.

Requirements
Zend Framework has the following requirements: • PHP 5.2.4 (or higher) • A web server supporting mod_rewrite or similar functionality.

Tutorial assumptions
I have assumed that you are running PHP 5.2.4 or higher with the Apache web server. Your Apache installation must have the mod_rewrite extension installed and configured. You must also ensure that Apache is configured to support .htaccess files. This is usually done by changing the setting:
! AllowOverride None AllowOverride All

to
!

in your httpd.conf file. Check with your distributionʼs documentation for exact details. You will not be able to navigate to any page other than the home page in this tutorial if you have not configured mod_rewrite and .htaccess usage correctly.

Getting the framework
Zend Framework can be downloaded from http://framework.zend.com/download/latest in either .zip or .tar.gz format. Look at the bottom of the page for direct links. The “Minimal” version is what you need.

Setting up Zend_Tool
Zend Framework is supplied with a new command line tool. We start by setting it up.

Zend_Tool for Windows
• Create a new directory in Program Files called ZendFrameworkCli • Double click the downloaded archive file, ZendFramework-1.10.6-minimal.zip. • Copy the bin and library folders from within the ZendFramework-1.10.6-minimal.zip folder window to the C:\Program Files\ZendFrameworkCli folder. This folder should now have two sub folders: bin and library. • Add the bin

Relacionados

  • Zend framework
    1052 palavras | 5 páginas
  • Iniciando com o zend framework
    3876 palavras | 16 páginas
  • Criando a Primeira Aplicação com o Zend Framework 2
    660 palavras | 3 páginas
  • Bacharelado
    1910 palavras | 8 páginas
  • Tutorial rápido - zend php
    729 palavras | 3 páginas
  • Introdução php
    866 palavras | 4 páginas
  • xxxxx
    3092 palavras | 13 páginas
  • Bioquimica
    2804 palavras | 12 páginas
  • Zend
    2572 palavras | 11 páginas
  • Zend
    2140 palavras | 9 páginas