Php Zen with Zend

10
PHP Zen with Zend Exploring the Zend Framework Nathan Porter 2008

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 of Php Zen with Zend

Page 1: Php Zen with Zend

PHP Zen with Zend

Exploring the Zend FrameworkNathan Porter 2008

Page 2: Php Zen with Zend

What is the Zend Framework?• Web Application Framework

– Code Libraries– Object Oriented

• Open Source• PHP5• MVC design• It’s RAD

– Rapid– Application– Development

Page 3: Php Zen with Zend

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

Page 4: Php Zen with Zend

Zend: Who Uses it?

• SourceForge– OpenId (Zend OpenId)

• Fox Interactive– IGN.com– RottenTomatoes.com– AskMen.com

• IBM– QEDWiki

Page 5: Php Zen with Zend

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

Page 6: Php Zen with Zend

Zend vs PHP: Zend_Date

Yesterday With Zend Yesterday with PHP

• Breakdown– Same goal– Less code for operation– More Precision– More functionality with dates

Page 7: Php Zen with Zend

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

Page 8: Php Zen with Zend

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

Page 9: Php Zen with Zend

Zend Studio: A Zend IDE

• Pros– Syntax Highlighting– Fast Zend App Creation– Auto Complete

• Cons– Big– Need Project Base– Expensive: $799 to $990

Page 10: Php Zen with Zend

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/