Free Sample
+ Collection

Zend Framework 2.0 by Example: Beginner’s Guide

Beginner's Guide
Krishna Shasankar V

PHP Developers will find this book quickly takes their web application building skills to new levels. It’s a chance to learn Zend Framework 2.0 through real world examples and an involving hands-on approach.
RRP $29.99
RRP $49.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 139781782161929
Paperback228 pages

About This Book

  • Master application development with Zend Framework 2.0
  • Learn about Zend Framework components and use them for functions such as searching, image processing, and payment gateway integrations
  • Integrate third-party services for media sharing and payment processing

Who This Book Is For

If you are a PHP Developer who is new to Zend Framework, but you want to get hands-on with the product quickly, this book is for you. Basic knowledge of object oriented programming with PHP is expected.

Table of Contents

Chapter 1: Getting Started with Zend Framework 2.0
Zend Framework 2.0
Introduction to Zend Server Community Edition (CE)
Time for action – installing Zend Server CE
Time for action – configuring Zend Server CE
Time for action – installing MySQL
Time for action – creating a database
Chapter 2: Building Your First Zend Framework Application
Time for action – creating a Zend Framework project
Zend Framework 2.0 – modules
Time for action – creating a module
MVC layer
Zend Framework module – folder structure
Time for action – creating controllers and views
Zend Framework module – configuration
Time for action – modifying module configuration
Chapter 3: Creating a Communication Application
Time for action – creating a registration form
Form validation
Time for action – adding validation to the registration form
Models and database access
Time for action – creating models and saving the form
Time for action – user authentication
Chapter 4: Data Management and Document Sharing
Zend Framework 2 ServiceManager
Time for action – migrating existing code to ServiceManager
Database operations
Time for action – implementing an admin UI to manage users
Document management
Time for action – creating a file upload form
Managing file sharing
Time for action – implementing a file sharing system
Chapter 5: Chat and E-mail
Layouts and views
Time for action – using jQuery UI in a simple page
Building a simple group chat
Time for action – creating a simple group chat application
Sending mails
Time for action – creating a simple e-mail form
Time for action – setting module layout using ZF events
Chapter 6: Media Sharing
External modules
Resizing images
Time for action – resizing images using modules
The Photo gallery application
Time for action – implementing a simple photo gallery
Google Data APIs
Time for action – fetching photos from Google Photos
YouTube Data API
Time for action – listing YouTube videos for a keyword
Chapter 7: Search Using Lucene
Introduction to Lucene
Time for action – installing ZendSearch\Lucene
Time for action – generating a Lucene index
Time for action – displaying search results
Indexing Microsoft Office documents
Time for action – indexing document files
Chapter 8: Creating a Simple Store
Shopping cart
Time for action – creating a store front
The store administration
Time for action – creating the Store Admin interface
Payments with PayPal
Time for action – setting up PayPal
PayPal Express Checkout
Time for action – accepting payments using PayPal
Chapter 9: HTML5 Support
HTML5 input elements
Time for action – HTML5 input elements
HTML5 view helpers
Time for action – HTML5 view helpers
HTML5 attributes
Time for action – HTML5 multiple file uploads
Chapter 10: Building Mobile Applications
Cloud-connected mobile applications
Time for action – configuring your phpCloud account
Time for action – building your first cloud-connected mobile application
Native applications versus mobile web applications
Time for action – testing as a native application
Zend Server Gateway
Time for action – creating a mobile search interface

What You Will Learn

  • Install and configure Zend Framework 2.0
  • Familiarize yourself with building Zend Framework 2.0 applications and get well versed with Zend Framework 2 MVC
  • Discover how to use forms, validation, and authentication
  • Understand models and database access
  • Create a communications application including chat and e-mail
  • Implement searches using Apache Lucene
  • Build your own e-commerce store with PayPal integration
  • Learn how to create HTML5 web applications

In Detail

ZF2 is the latest update to the well-known Zend Framework. This version has considerably eased the process of building complex web applications with minimal development effort using plug and play components. ZF2 also provides a highly robust and scalable framework for developing web applications.

"Zend Framework 2.0 by Example: Beginner’s Guide" will guide you through the process of developing powerful web applications using ZF2. It covers all aspects of Zend Framework application development right from installation and configuration; the tasks are designed in a way that readers can easily understand and use them to build their own applications with ease.

"Zend Framework 2.0 by Example: Beginner’s Guide" begins with the basic installation and configuration of the Zend Framework. As you progress through the exercises, you will become thoroughly acquainted with ZF2. With this book, you will learn about the basic concepts of building solid MVC web applications using Zend Framework 2.0. The detailed step-by-step instructions will enable you to build functionality such as a group chat, a file & media sharing service, search, and a simple store to name a few. You will also use a wide range of external modules to implement features that are not natively available. By the end of the book, you will be well versed in building complex, functionality-rich web applications using Zend Framework 2.0.

"Zend Framework 2.0 by Example: Beginner’s Guide" provides everything that you need for building functionality-rich web applications with simple real world examples and tasks.


Read More