Zend Framework 1 to 2 Migration Guide: a php[architect] guide
- Length: 108 pages
- Edition: 1
- Language: English
- Publisher: php[architect]
- Publication Date: 2015-10-01
- ISBN-10: 1940111218
- ISBN-13: 9781940111216
- Sales Rank: #1328970 (See Top 100 Books)
Zend Framework 1 was one of the first major frameworks for PHP 5 and, for many, introduced object-oriented programming principles for writing PHP applications. Many developers looking to embrace a well-architected and supported framework chose to use it as the foundation for their applications. However, the first version was not without its faults. Zend Framework 2 is a significant improvement over its predecessor. It re-designed key components, promotes the re-use of code through modules, and takes advantage of features introduced in PHP 5.3 such as namespaces. The first release of ZF1 was in 2006. If you’re maintaining an application built on it, this practical guide will help you to plan how to migrate to ZF2. This book addresses common issues that you’ll encounter and provides advice on how best to update your application to take advantage of ZF2’s features. It also compares how key components—including Views, Database Access, Forms, Validation, and Controllers—have been updated and how to address these changes in your application code. Written by PHP professional and Zend Framework contributor, coach, and consultant Bart McLeod, this book leverages his expertise to ease your application’s transition to Zend Framework 2.
Table of Contents
Chapter 1 Quick start: Zend_Tool versus ZendSkeletonApplication
Chapter 2 Zend Framework 2 Overview
Chapter 3 Model View Controller
Chapter 4 Getting Started
Chapter 5 Error Handling and Logging
Chapter 6 Layout
Chapter 7 The View
Chapter 8 Controller Plugins & Translations
Chapter 9 Forms
Chapter 10 Data Validating and Filtering
Chapter 11 The Database
Chapter 12 Development Practices