By: W. Jason Gilmore
Publication Date: March 10, 2011
Format: DRM-free PDF
Learn how to build powerful websites fast with this hands-on guide to the Zend Framework. Select topics include Zend_Auth, Zend_Db, Doctrine 2, testing with PHPUnit and Zend_Test, and automated website deployment using Capistrano!
Framework-based web development is practically a requirement these days. Fortunately for the PHP community there are plenty of PHP-based frameworks to choose from, including the powerful Zend Framework. “Easy PHP Websites with the Zend Framework” is the most up-to-date guide to the Zend Framework, covering all of the topics which will help you build websites with amazing speed and efficiency.
Newcomers to the Zend Framwork are welcome! We’ll kick things off by showing you how to use the ZF command-line tool to create your first Zend Framework project, build actions, controllers, and models, and effectively manage your project views and layouts. From there we’ll work through a wide variety of key topics, including:
You’ll also learn about the Zend Framework’s deep integration with popular web services, and work through examples involving mining data from the Amazon Product Advertising API using Zend_Service_Amazon. You’ll also learn how to create Zend Framework-enabled scripts which can be executed from the terminal for reason of performing batch operations, and even integrate these scripts into your website ecosystem in order to draw upon configuration data and third-party resources.
Almost every chapter concludes with a section explaining how to effectively unit test different parts of your website, and an entire chapter is devoted to configuring PHPUnit and Zend Test.
A concluding chapter is devoted to showing you how to automate the deployment process using Phing and Capistrano.
GameNomad is a social networking website for the video gaming community. Constructed using the Zend Framework, Doctrine 2, and incorporating many of the features discussed throughout the book, readers are provided with all of the source code used to power the site!
Each chapter concludes with a quiz which you can use to test your comprehension. A total of 41 questions are spread throughout the book, with all answers found in the back of the book!
Readers of this book are provided with free electronic updates for the project’s lifetime. You will be notified via e-mail every time a new version of the book is made available through the website.