Zend Framework 2 Cookbook


Zend Framework 2 Cookbook
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
$25.49
save 15%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
$49.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Recipes to help you create, test, and optimize your applications
  • A useful guide for PHP developers wanting to broaden their horizons
  • Helps you understand how MVC works and how to make it work for you

Book Details

Language : English
Paperback : 340 pages [ 235mm x 191mm ]
Release Date : December 2013
ISBN : 1849694842
ISBN 13 : 9781849694841
Author(s) : Josephus Callaars
Topics and Technologies : All Books, Web Development, Cookbooks, Open Source


Table of Contents

Preface
Chapter 1: Zend Framework 2 Basics
Chapter 2: Translating and Mail Handling
Chapter 3: Handling and Decorating Forms
Chapter 4: Using View
Chapter 5: Configuring and Using Databases
Chapter 6: Modules, Models, and Services
Chapter 7: Handling Authentication
Chapter 8: Optimizing Performance
Chapter 9: Catching Bugs
Appendix: Setting up the Essentials
Index
  • Chapter 1: Zend Framework 2 Basics
    • Introduction
    • Setting up a Zend Framework 2 project
    • Handling routines
    • Understanding dependency injection
    • Using configurations to your benefit
    • The EventManager and Bootstrap classes
  • Chapter 4: Using View
    • Introduction
    • Working with View
    • Creating a global layout template
    • Creating reusable Views
    • Using view strategies/renderers
    • Using context switching for a different output
    • Writing a custom view strategy/renderer
  • Chapter 5: Configuring and Using Databases
    • Introduction
    • Connecting to a database
    • Executing simple queries
    • Executing queries using TableGateway
    • Optimization with a DB profiler
    • Creating a Database Access Object
  • Chapter 9: Catching Bugs
    • Introduction
    • Handling Exceptions – your partner in crime
    • Logging and how it makes your life easier
    • Unit testing – why would you do it
    • Setting up and using unit testing
  • Appendix: Setting up the Essentials
    • Making sure you have all that you need
    • Downloading Zend Framework 2 and finding its documentation
    • Composer and its uses within Zend Framework 2
    • Basic Zend Framework 2 structures
    • About storage adapters and patterns

Josephus Callaars

Josephus Callaars is a software developer whose passion began like so many other developers at the appropriate age of twelve. Being intrigued by mathematics and software languages such as Assembler and Java, he quickly found out that his career was to be found in the abstract side. Since 2003 he has been developing software applications commercially, and always tried to stay up-to-date with the latest technologies.

Josephus has been passionate about developing ever since, and always thought it could be done better every time. He is a Zend Certified Engineer and is regularly to be found in the open source community, where he is always on the lookout for new things to learn.

Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Zend Framework 2 Cookbook +    Getting Started with Oracle WebLogic Server 12c: Developer’s Guide =
50% Off
the second eBook
Price for both: $43.05

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Set up Zend Framework 2 on a Linux web server
  • Make your application accessible in other countries and languages
  • Choose and create custom output display renderings
  • Set up modules and use them as widgets
  • Connect and query different types of databases
  • Create the best authentication method
  • Optimize framework applications
  • Debug and test framework applications

In Detail

Zend Framework 2 is the latest creation of World Wide Web infrastructure company Zend Technologies Ltd. This new PHP framework comes with tons of features and an attractive way of creating applications. Not only is the overall usability of the technology much better, but it also makes your applications more testable, something that is often overlooked.

"Zend Framework 2 Cookbook" will show you how applications are set up in Zend Framework 2 and how you can develop successfully in this massive framework. You will master features like Modules, Views, Controllers, and Authentication. The book also discusses the Event Manager, unit testing, and how to optimize your application.

The book begins with a discussion about setting up Zend Framework 2, and you will also look at how the framework itself works. By the end of this book, you will be able to create entire secure applications on your own and make sure they are tested and optimized for performance as well.

You will learn about sending and receiving e-mails, translation and localization of the application, and how to set up the framework on a Linux web server. You will also learn how to display data from the application to the user by using different display strategies and renderings. The creation of modules will also be discussed. Then, you will move on to look at how to authenticate users and make sure the developer knows how to pick the best method available. Unit testing, debugging, and enhancing the performance will also be covered in this book.

"Zend Framework 2 Cookbook" is a perfect book for anyone who wants to start developing with Zend Framework 2.

Approach

This book is written in a practical, cookbook style with numerous examples and recipes. This style allows you to go both directly to your topic of interest or follow topics throughout a chapter to gain an in-depth knowledge of certain areas.

Who this book is for

'Zend Framework 2 Cookbook" is for PHP developers who are fairly advanced in programming in PHP. It will also be useful for developers who have a keen interest in expanding their knowledge outside the boundaries of simply scripting pages together. As unit testing and MVC will be discussed, it is beneficial for the reader to know what these technologies are, although experience with developing applications is not necessarily essential.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software