zend framework tutorial, zendcon 2009

Download Zend Framework Tutorial, ZendCon 2009

If you can't read please download the document

Upload: matthew-weier-ophinney

Post on 16-Apr-2017

15.184 views

Category:

Technology


2 download

TRANSCRIPT

Zend Framework Tutorial

Matthew Weier O'PhinneyProject LeadZend Framework

ZendCon 200919 October 2009

About me:ZF Contributor since January 2006

Assigned to the ZF team in July 2007

Promoted to Software Architect in April 2008

Project Lead since April 2009

Photo 2009, Chris Shiflett

What we'll cover

What is Zend Framework?

Getting and Installing Zend Framework

Utilities and Patterns
used throughout ZF

Using ZF's MVC layer:
Hands-on demonstration: Pastebin

What is
Zend Framework?

Full Stack Framework?

Component Library?

Both.

Getting and Installing
Zend Framework

Always found at:http://framework.zend.com
/download/latest

Zend Server

CDN Links

Direct Links

Use CLI:
% tar xzf ZendFramework-1.9.2-minimal.tar.gz
% unzip ZendFramework-1.9.2-minimal.zip

Or use a GUI file manager

Unzip/Untar

Add to your include_path

; UNIX: "/path1:/path2"include_path = ".:/home/matthew/zf/library"

Add to your include_path

# Goes in either a ,
# or .htaccess:php_value include_path ".:/home/matthew/zf/library"

Add to your include_path

Exception information: Message:

Stack trace:

Request Parameters:

.htaccess file

SetEnv APPLICATION_ENV development

RewriteEngine OnRewriteCond %{REQUEST_FILENAME} -s [OR]RewriteCond %{REQUEST_FILENAME} -l [OR]RewriteCond %{REQUEST_FILENAME} -dRewriteRule ^.*$ - [NC,L]RewriteRule ^.*$ index.php [NC,L]

index.php (environment)