If you can't read please download the document
Upload
matthew-weier-ophinney
View
11.425
Download
0
Embed Size (px)
Citation preview
Zend Framework Tutorial
Matthew Weier O'PhinneyProject LeadZend Framework
CodeWorks 200928 Sep 4 Oct 2009ATL, Miami, DC, NYC
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
CDN Links are at top
Direct Links are below
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)