There were times that I felt I could not write this book. I think all first-time authors must feel this way, no matter how knowledgeable they might be in a certain field. It's a very humbling feeling.
I know I wouldn't have grown from this experience without the Apress team. I want to thank all of them. Thanks especially to Beth Christmas for putting up with my "deadline malfunctions" and having the patience to work with me. Thanks to Steve Anglin for taking a chance and giving me the opportunity to write this book, and a big thank you to Matthew Moodie for taking the time to lend a hand.
Welcome to Beginning Zend Framework. The primary goal of this book is to set the foundation for your journey into Zend Framework. You can be a beginner or a seasoned developer—this book includes something for everyone. For the Zend Framework beginner, this book covers everything from the basic setup to answering questions about what a controller is. For the seasoned developer, it includes chapters on the caching and the search component of Zend Framework.
What the book doesn't include is a how-to of PHP. Because the book is entirely focused on using PHP, you need at least a basic understanding of the language.
Following is a chapter-by-chapter breakdown—the road map.
Chapter 1: "Getting Started with Zend Framework"
You need a starting point, and there is nothing better than setting up a working development environment to get off on the right foot. This chapter covers all the tools you need to get a simple and complex application powered by Zend Framework up and running. It furnishes step-by-step instructions on how to install and test each component, and finishes up by showing you how to create a small application using Zend Framework's Zend_Tool.
Chapter 2: "The Application"
If you're reading this book chapter by chapter, here you will create a small application called Loudbite, which is a small music mashup site. The application leaves plenty of room for you to expand on and is only used for the examples. This chapter provides not only the background but also the database ERD and overall architecture of the application.
Chapter 3: "Writing Controllers Using Zend_Controller"
Zend Framework has a unique way of controlling user requests, and this chapter covers the basic building blocks of this process. The chapter describes the URL structure as well as how Zend Framework treats each piece of the URL to route the user to the appropriate controller-action of the application.
Chapter 4: "Views, Forms, Filters, and Validators"
What would a Framework book be without a chapter on the crucial elements web developers create everyday on a project? Forms! This chapter covers how Zend Framework eases the grueling tasks of creating, validating, and filtering forms.
Chapter 5: "Database Communication, Manipulation, and Display"
Because most web applications require a persistent storage unit such as a database, this chapter looks at the database support that Zend Framework provides. This chapter covers using PDO, creating statements, executing statements, retrieving information, using object-oriented statements, and working with built-in pagination support.
Chapter 6: "Sending and Receiving E-mail"
E-mail! Zend Framework did not stop at database and typical web layer functions; it also created a solid email component for sending and retrieving e-mail. This chapter shows you how to create e-mail, how to send e-mail using text and HTML, and how to send attachments.
Chapter 7: "Web Services and Feeds"
For today's developers, REST and RSS feeds are part of the standard vernacular. So it's no surprise that Zend Framework has included support for these services and has gone one step further by providing wrappers for your favorite open APIs. This chapter covers how Zend Framework works with the current web service alphabet soup: REST. It also shows you how to create web services, call web services, and create and consume feeds.
Chapter 8: "Creating a Search Engine Using Zend_Search_Lucene"
This chapter discusses search engines and how Zend Framework has packaged a proven search engine such as Lucene. It takes you step by step into creating each of the building blocks of the search engine: from creating an index to adding content using the built-in wrappers for Word, HTML documents, and Excel files.
Chapter 9: "Caching with Zend Framework"
The last chapter discusses how you can get that extra juice by speeding up applications using cache. You will learn how to successfully implement the Zend Caching component for standard HTML to database records.
As a reader of technical manuals, I tend to have more questions about topics covered in the book after each chapter. If you encounter any questions, I'm here to help. You can reach me directly at [email protected] or you can find me posting Zend Framework-related items as well as answering any questions you may have with this book on this site: www.beginningzendframework.com.
Was this article helpful?