Zend Framework 2 Application Development

PHP developers can create more powerful applications using the flexibility of Zend Framework 2. This book will extend your capabilities through a totally practical course culminating in the creation of a social network.

Zend Framework 2 Application Development

Starting
Christopher Valles

PHP developers can create more powerful applications using the flexibility of Zend Framework 2. This book will extend your capabilities through a totally practical course culminating in the creation of a social network.
$26.99
$44.99
RRP $26.99
RRP $44.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 139781782162100
Paperback298 pages

About This Book

Create powerful web applications by leveraging the power of this Model-View-Controller-based frameworkLearn by doing; create a social network from design to deploymentWritten in a framework and the API-centric approach to simplify the process of learning

Who This Book Is For

Written for PHP developers who want to get started with Zend Framework 2. Whether you are learning Zend framework from scratch or looking to sharpen up your skills from previous versions, Zend Framework 2 Application Development will help you to harness the power of Zend to produce better and more powerful applications. Basic knowledge of object-oriented design will be helpful.

Table of Contents

Chapter 1: Let's Build a Social Network
Why ZF2?
What are we going to build?
The approach – API-centric app
Summary
Chapter 2: Setting Up the Environment
Using the provided virtual machine
Summary
Chapter 3: Scratching the Surface of Zend Framework 2
Bootstrap your app
The request object
The router
DispatchListener
Front controller
The response object
An example is worth a thousand words
Summary
Chapter 4: The First Request/Response – Building the User Wall
API development
Frontend
Summary
Chapter 5: Handling Text Content – Posting Text
API development
Frontend
Summary
Chapter 6: Working with Images – Publishing Pictures
API development
Frontend
Summary
Chapter 7: Dealing with URLs – Posting Links
API development
Frontend
Summary
Chapter 8: Dealing with Spam – Akismet to the Rescue
API development
Frontend
Summary
Chapter 9: Let's Read Feeds – A News Reader
Overview
API development
Frontend
Summary
Chapter 10: Sign Up
Overview
API development
Frontend
Summary
Chapter 11: Log in
Overview
API development
Frontend
Summary
Chapter 12: Sending E-mails
Overview
API development
Summary
Chapter 13: OAuth 2.0 Protocol Securing our API
Overview
API development
Frontend
Following the OAuth 2.0 flow
The challenge
Summary

What You Will Learn

Get to grips with the features of Zend Framework 2’s MVC architectureFilter and validate data no matter what the content isHandle and manage file uploadsGather content from other websitesFight spam with services such as AkismetPull content from RSS feedsQuickly build forms such as login, register, and so on.Protect your API layer by using authentication protocols such as OAuthManage database operationsBuild web services using the latest controller types

In Detail

Zend Framework 2 has a flexible architecture that lets us build modern web applications and web services easily. It also provides an easy-to-use, high quality component library that is designed to be used the way you want. It's easy to get started and produce a powerful and professional looking website with Zend Framework 2 Application Development. Exploring real life applications, we will explore the Zend Framework 2 components, as well as throwing some light on best practices and design concerns faced when building complex MVC applications.Zend Framework 2 Application Development is a hands-on guide to building your application. We will explore the components of this new version of the framework and discover how to use each component, the options available, and how to get the most from each component. Whilst learning everything you need to know, we’ll even create our own social network. We will also learn to engineer an application using an API-centric approach, broadly used today to build applications that work seamlessly on desktops, mobiles and tablets. We will learn how to filter and validate data, interact with databases to retrieve and store data, handle and manipulate file uploads, interact with other websites, deal with spam, and also protect your APIs using OAuth authentication whilst allowing people from all over the world to interact with your application. Zend Framework 2 Application Development is your guide to everything you need to know to build applications of any size for big and small companies alike, whilst using the right components for the job.

Authors

Table of Contents

Chapter 1: Let's Build a Social Network
Why ZF2?
What are we going to build?
The approach – API-centric app
Summary
Chapter 2: Setting Up the Environment
Using the provided virtual machine
Summary
Chapter 3: Scratching the Surface of Zend Framework 2
Bootstrap your app
The request object
The router
DispatchListener
Front controller
The response object
An example is worth a thousand words
Summary
Chapter 4: The First Request/Response – Building the User Wall
API development
Frontend
Summary
Chapter 5: Handling Text Content – Posting Text
API development
Frontend
Summary
Chapter 6: Working with Images – Publishing Pictures
API development
Frontend
Summary
Chapter 7: Dealing with URLs – Posting Links
API development
Frontend
Summary
Chapter 8: Dealing with Spam – Akismet to the Rescue
API development
Frontend
Summary
Chapter 9: Let's Read Feeds – A News Reader
Overview
API development
Frontend
Summary
Chapter 10: Sign Up
Overview
API development
Frontend
Summary
Chapter 11: Log in
Overview
API development
Frontend
Summary
Chapter 12: Sending E-mails
Overview
API development
Summary
Chapter 13: OAuth 2.0 Protocol Securing our API
Overview
API development
Frontend
Following the OAuth 2.0 flow
The challenge
Summary

Book Details

ISBN 139781782162100
Paperback298 pages
Read More