Zend Framework 2.0 by Example: Beginner’s Guide

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.

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.
$29.99
$49.99
RRP $29.99
RRP $49.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 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
MySQL
Time for action – installing MySQL
Time for action – creating a database
Summary
Chapter 2: Building Your First Zend Framework Application
Prerequisites
ZendSkeletonApplication
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
Summary
Chapter 3: Creating a Communication Application
Zend\Form
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
Summary
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
Summary
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
Zend\EventManager
Time for action – setting module layout using ZF events
Summary
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
Summary
Chapter 7: Search Using Lucene
Introduction to Lucene
Time for action – installing ZendSearch\Lucene
Indexing
Time for action – generating a Lucene index
Searching
Time for action – displaying search results
Indexing Microsoft Office documents
Time for action – indexing document files
Summary
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
Summary
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
Summary
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
Summary

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.

Authors

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
MySQL
Time for action – installing MySQL
Time for action – creating a database
Summary
Chapter 2: Building Your First Zend Framework Application
Prerequisites
ZendSkeletonApplication
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
Summary
Chapter 3: Creating a Communication Application
Zend\Form
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
Summary
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
Summary
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
Zend\EventManager
Time for action – setting module layout using ZF events
Summary
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
Summary
Chapter 7: Search Using Lucene
Introduction to Lucene
Time for action – installing ZendSearch\Lucene
Indexing
Time for action – generating a Lucene index
Searching
Time for action – displaying search results
Indexing Microsoft Office documents
Time for action – indexing document files
Summary
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
Summary
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
Summary
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
Summary

Book Details

ISBN 139781782161929
Paperback228 pages
Read More