php zen with zend
DESCRIPTION
A presentation on the Zend Framework that covers what it is, why to use it, as well as some small examples of it in action.TRANSCRIPT
PHP Zen with Zend
Exploring the Zend FrameworkNathan Porter 2008
What is the Zend Framework?• Web Application Framework
– Code Libraries– Object Oriented
• Open Source• PHP5• MVC design• It’s RAD
– Rapid– Application– Development
Why Zend?
• Standardized PHP• Allows developer to focus on functionality
instead of code• Modular design• Well Documented• Dozens of useful pre-coded components• Contains parts of available API’s like
Google• List of Components
Zend: Who Uses it?
• SourceForge– OpenId (Zend OpenId)
• Fox Interactive– IGN.com– RottenTomatoes.com– AskMen.com
• IBM– QEDWiki
Zend: Getting Started
• Zend is already set up at Plymouth on www, www2, and turing
• For personal development, Zend needs to be set up on the web server
• Download Zend Framework
• A great example of setting up Zend Applications
Zend vs PHP: Zend_Date
Yesterday With Zend Yesterday with PHP
• Breakdown– Same goal– Less code for operation– More Precision– More functionality with dates
Zend vs PHP: Zend Mail
Mail With Zend Mail With PHP
• Breakdown– Same goal– Potentially more code– Object Oriented style more apparent– More functionality with mail
Using Zend: Zend_Feed
• Functionality for consuming RSS and Atom Feeds
• Pre-built to handle most feed syntax
• Object Oriented
– Zend_Feed::import()
• Try/catch error handling
– Zend_Feed_Exception
• Documentation
Zend Studio: A Zend IDE
• Pros– Syntax Highlighting– Fast Zend App Creation– Auto Complete
• Cons– Big– Need Project Base– Expensive: $799 to $990
Works Cited
• Wikipedia: http://en.wikipedia.org/wiki/Zend_Framework• Framework Manual:
http://framework.zend.com/manual/en/• Zend Framework Wiki:
http://framework.zend.com/wiki/pages/viewpage.action?pageId=10530
• Zend: http://www.zend.com/en/• Zend Framework Tutorials: http://www.zftutorials.com/• Zend Application Setup:
http://mitchellhashimoto.com/zend-framework-tutorials/getting-started/