Book Image

Zend Framework 2 Cookbook

By : Josephus Callaars, [email protected]
Book Image

Zend Framework 2 Cookbook

By: Josephus Callaars, [email protected]

Overview of this book

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.
Table of Contents (17 chapters)
Zend Framework 2 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Downloading Zend Framework 2 and finding its documentation


Let's find out where to get all the essential literature on the Zend Framework.

Finding Zend Framework 2

The main website of Zend Framework 2 is http://framework.zend.com and always holds the most updated information on Zend Framework 2. We can easily download the framework from there, as well as some packages, for example the framework including the Zend Server, or the minimal package of Zend Framework.

Downloading only the framework itself, without any context like the skeleton application is a great way of starting an application from scratch without any of the clutter that comes with the default skeleton.

Coding in the phpcloud

A new toy made by Zend that is currently still in beta level is the phpcloud, which allows developers to create a fast reliable development environment for developers to develop on. One of the features of using the phpcloud is that it not only comes with Zend Framework 2, but also runs on the Zend Server which allows spectacular debugging capabilities and application deployment. At the moment sign up for the phpcloud is free, but we can assume that this will change in the future. How this will turn out, however, is not known to us yet.

The documentation and getting started guide

The Zend Framework 2 documentation is luckily much more reliable than the original Zend Framework documentation (which is a good thing, trust me). Zend really committed to creating a framework that is well documented and has an open contribution that is powered by a strong community and tools like Github (instead of Subversion as in the original framework). The documentation and getting started guide can both be found under the Learn menu option on the main Zend Framework 2 website.

See also