Free Sample
+ Collection

Zend Framework 1.8 Web Application Development

Keith Pope

Design, develop, and deploy feature-rich PHP web applications with this MVC framework
RRP $23.99
RRP $39.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781847194220
Paperback380 pages

About This Book

  • Create powerful web applications by leveraging the power of this Model-View-Controller-based framework
  • Learn by doing – create a "real-life" storefront application
  • Covers access control, performance optimization, and testing
  • Best practices, as well as debugging and designing discussion

Who This Book Is For

This book is for PHP web developers who want to get started with Zend Framework. If you are already using this framework, you will learn how to use it in the best way and produce better applications.

Basic knowledge of Object Oriented design will be helpful.

Table of Contents

Chapter 1: Creating a Basic MVC Application
Overview of MVC architecture
Setting up the environment
Creating the project structure
Application directory structure
Your first controller
Your first view
Handling errors
Chapter 2: The Zend Framework MVC Architecture
Zend framework MVC overview
The Front Controller
The router
The Dispatcher
The Request object
The Response object
Chapter 3: Storefront Basic Setup
Getting started
The Storefront requirements
The Storefront overview
Basic structure and setup
Building the Storefront
The Storefront database
Logging and debugging
Chapter 4: Storefront Models
Models in the Zend Framework
Model design
Storefront Models
Loading Models and Resources
The SF Library
Chapter 5: Implementing the Catalog
Getting started
Creating the Catalog Model and Resources
Model Resource Items
Implementing the Catalog Model
Catalog Model
Loading Models and other assets
Creating the Catalog Controllers
Creating the Catalog Views
Building and running the storefront
Chapter 6: Implementing User Accounts
Creating the user model and resources
Creating the Customer Controller
Creating the Customer Views
Building the application
Chapter 7: The Shopping Cart
Creating the Cart Model and Resources
Creating the Cart Controller
Creating the Cart Views and Forms
Chapter 8: Authentication and Authorization
Authentication versus Authorization
Authentication with Zend_Auth
Authorization with Zend_Acl
Chapter 9: The Administration Area
What is an administration area?
Implementing the storefront administration area
Catalog management
Securing the administration area
Chapter 10: Storefront Roundup
Using multiple modules
Chapter 11: Storefront Optimization
General optimizations
Dispatching optimizations
Chapter 12: Testing the Storefront
What is testing?
PHPUnit and Zend_Test setup
Writing tests
Testing the Customer Controller
Common problems

What You Will Learn

  • Explore the features of Zend Framework's MVC architecture
  • Learn about designing and implementing an MVC application
  • Avoid common mistakes made when first learning an MVC framework
  • Test your applications with the popular PHPUnit framework
  • Interact with a database using Zend_Db and Zend_Db_Table
  • Secure your application using Zend_Acl and Zend_Auth
  • Optimize your application using caching and other performance tips
  • Add administrative functionality to your applications

In Detail

The Zend Framework has a flexible architecture that lets you build modern web applications and web services easily. The MVC components make the maintenance and testing of your applications easier. However, it is not only an MVC framework for developers. It also provides an easy-to-use high-quality component library that is designed to be used the way you want, picking up specific components without requiring the use of whole framework.

It's easy to get started and produce a powerful and professional looking web site when you've got this book to hand. Taking you through a real-life application, it covers the major Zend Framework components, as well as throwing light on the best practices and design issues faced when building complex MVC applications.

This book takes you through detailed examples as well as covering the foundations you will need to get the most out of the Zend Framework. From humble beginnings you will progress through the book and slowly build upon what you have learned previously. By the end, you should have a good understanding of the Zend Framework, its components, and the issues involved in implementing a Zend Framework based application.


Read More

Recommended for You