Download - ZEND FRAMEWORK 1static.zend.com/topics/20090603-Webinar-ZF-1-8.pdf · 7/1/2009 · Zend_Tool -Overview • In a nutshell: “Zend_Toolis both RAD tools as well as a framework for

Transcript

Copyright © 2007, Zend Technologies Inc.

ZEND FRAMEWORK 1.8By Matthew Weier O’Phinney

And Ralph Schindler

OVERVIEW

Finally, something capable of calling ‘the greatest thing since sliced bread.’

- Ralph Schindler

Overview

• Focus on Rapid Application Development (RAD)

• Focus on common task standardization

• Focus on the Cloud

| 1-Jul-09Overview | 3

ZEND_TOOL

Putting the ‘Framework’ in Zend Framework

-Ralph Schindler

Zend_Tool - Overview

• In a nutshell:

� “Zend_Tool is both RAD tools as well as a framework for

exposing your own set of tooling needs to the Zend_Tool user

interface.”

• Main Classes & APIs:

� Zend_Tool_Framework

� Zend_Tool_Project

• Supporting Classes & APIs:

� Zend_CodeGenerator

� Zend_Reflection

| 1-Jul-09Zend_Tool | 5

Zend_Tool – How to get it?

• Download and go

• SVN

� Create a link to the proper runner (zf.sh/zf.bat)

• Preferably in the system path

� Add Zend Framework library to global include_path

• Zend Server

• Pear Channel (http://pear.zfcampus.org/)

| 1-Jul-09Zend_Tool | 6

Zend_Tool – What Can It Do?

| 1-Jul-09Zend_Tool | 7

Zend_Tool – What Can It Do?

| 1-Jul-09Zend_Tool | 8

Zend_Tool – What Can It Do?

| 1-Jul-09Zend_Tool | 9

Zend_Tool – What Can It Do?

| 1-Jul-09Zend_Tool | 10

Zend_Tool – What Can It Do?

| 1-Jul-09Zend_Tool | 11

Zend_Tool – What Can It Do?

| 1-Jul-09Zend_Tool | 12

Zend_Tool – What Can It Do?

| 1-Jul-09Zend_Tool | 13

Zend_Tool – What Can It Do?

| 1-Jul-09Zend_Tool | 14

Zend_Tool – What Can It Do?

| 1-Jul-09Zend_Tool | 15

Zend_Tool – What Can It Do?

| 1-Jul-09Zend_Tool | 16

Zend_Tool – What Can It Do?

• You can find out at the end of the month at the

next webinar ;)

• http://www.zend.com/en/company/news/event/webi

nar-zend-tool-command-line-tooling

| 1-Jul-09Name of this section | 17

ZEND_APPLICATION

Your bootstrap, … it should probably look more like this:

- Ralph Schindler

Zend_Application – The Problem

• Provides a standardized bootstrapping process

• Ability to bootstrap reusable resources, common-

and module-based bootstrap classes and

dependency checking.

• Takes care of setting up the PHP environment

• Sets up autoloading by default.

| 1-Jul-09Zend_Application | 19

Zend_Application – Autoloading

• New Autoloader

� Resource Autoloader

� Module Autoloader

| 1-Jul-09Zend_Application | 20

Zend_Application – A Stroll Through Code

| 1-Jul-09Zend_Application | 21

Zend_Application – A Stroll Through Code

| 1-Jul-09Zend_Application | 22

Zend_Application – A Stroll Through Code

| 1-Jul-09Zend_Application | 23

Zend_Application – A Stroll Through Code

| 1-Jul-09Zend_Application | 24

Zend_Application – A Stroll Through Code

| 1-Jul-09Zend_Application | 25

Zend_Application – A Stroll Through Code

| 1-Jul-09Zend_Application | 26

• Built in Resources:

� Database

� FrontController

� Layout

� Locale

� Modules

� Navigation

� Session

� Translate

� View

ZEND_NAVIGATION

Where would you like to go today?

Zend_Navigation – The Problem

• Developed by Contributor Robin Skoglund

• Tree structures are hard

• Navigation is a form of tree structure

• Standard way of solving a number of “navigation”

problems

� Menus

� Breadcrumbs

� Sitemaps

� Your Navigation problem here?

| 1-Jul-09Zend_Navigation

| 28

Zend_Navigation – The Problem

| 1-Jul-09Zend_Navigation

| 29

Zend_Navigation – The Problem

| 1-Jul-09Zend_Navigation

| 30

Zend_Navigation – The Problem

| 1-Jul-09Zend_Navigation

| 31

EC2 AND S3 SUPPORT

Because ‘the cloud’ is not just a pretty picture on a flow chart anymore.

-Ralph Schindler

Zend_Service_Amazon_S3/EC2

• What is EC2?

� Developed By Contributor Jon Whitcraft

� Amazon Elastic Cloud Computing (EC2)

� Launch and manage server instances in Amazon's data

centers using APIs or available tools and utilities.

� You can use Amazon EC2 server instances at any time, for as

long as you need, and for any legal purpose.

• What is S3?

� Developed by Contributor Stanislav Malyshev

� Provides a simple web services interface that can be used to

store and retrieve any amount of data, at any time, from

anywhere on the web.

� Service aims to maximize benefits of scale and to pass those

benefits on to developers.

| 1-Jul-09Zend_Service_Amazon_S3/EC2 | 33

Zend_Service_Amazon_EC2

| 1-Jul-09Zend_Service_Amazon_EC2/S3 | 34

Zend_Service_Amazon_EC2

| 1-Jul-09Zend_Service_Amazon_EC2/S3 | 35

Zend_Service_Amazon_EC2

| 1-Jul-09Zend_Service_Amazon_EC2/S3 | 36

Zend_Service_Amazon_S3

| 1-Jul-09Zend_Service_Amazon_EC2/S3 | 37

Zend_Service_Amazon_S3

| 1-Jul-09Zend_Service_Amazon_EC2/S3 | 38

Copyright © 2007, Zend Technologies Inc.

THANK YOU!http://framework.zend.com

Latest Release 1.8.2

[email protected]

[email protected]

| 39