O'Reilly logo

Pro Zend Framework Techniques: Build a Full CMS Project by Forrest Lyman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Managing Data with Zend Framework

Current web applications utilize a wide range of data sources, including flat files, web services, feeds, and databases. Content management systems exist that are based on each of these sources, or combinations of them, but most of them store their content in databases.

The CMS you are developing in this book will use a MySQL database. What MySQL lacks in enterprise features is more than made up for by its simplicity and speed. The vast majority of LAMP [2] hosting packages include at least one MySQL database.

In this chapter, you will learn how to interact with databases using Zend Framework's database abstraction layer, Zend_Db. Zend_Db is an object-oriented interface to SQL database systems. You will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required