Pro Zend Framework Techniques and over one million other books are available for Amazon Kindle . Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime free trial required. Sign up when you check out. Learn more
More Buying Choices
Have one to sell? Sell yours here
or
Get a £3.60 Amazon.co.uk Gift Card
Pro Zend Framework CMS: Building a full CMS using Advanced Aspects of the Zend Framework
 
 
Start reading Pro Zend Framework Techniques on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Pro Zend Framework CMS: Building a full CMS using Advanced Aspects of the Zend Framework [Paperback]

Forrest Lyman
2.5 out of 5 stars  See all reviews (2 customer reviews)
RRP: £36.99
Price: £28.85 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £8.14 (22%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Want guaranteed delivery by Thursday, May 31? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Kindle Edition £21.64  
Paperback £28.85  
Trade In this Item for up to £3.60
Get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade in Pro Zend Framework CMS: Building a full CMS using Advanced Aspects of the Zend Framework for an Amazon.co.uk gift card of up to £3.60, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.

Frequently Bought Together

Pro Zend Framework CMS: Building a full CMS using Advanced Aspects of the Zend Framework + Beginning Zend Framework (Expert's Voice in Open Source) + Zend Enterprise PHP Patterns (Expert's Voice)
Price For All Three: £89.99

Show availability and delivery details

Buy the selected items together


Product details

  • Paperback: 240 pages
  • Publisher: APRESS; 1 edition (19 Oct 2009)
  • Language English
  • ISBN-10: 1430218797
  • ISBN-13: 978-1430218791
  • Product Dimensions: 23.1 x 18.8 x 2 cm
  • Average Customer Review: 2.5 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Bestsellers Rank: 433,638 in Books (See Top 100 in Books)

More About the Author

Forrest Lyman
Discover books, learn about writers, and more.

Visit Amazon's Forrest Lyman Page

Product Description

Product Description

The Zend Framework is a truly amazing PHP–based web application development framework and platform that is breathing new life into PHP development. One of the most common uses for a framework such as this is to build content–driven web sites.

Pro Zend Framework Techniques offers:

  • A structured guide for PHP developers, ultimately helping you to create more flexible software much more quickly
  • Clear guidance through the entire process of building a custom content management system (CMS) with the Zend Framework
  • The ideal example project, building a CMS, to illustrate how to use the many different aspects of the framework

What you’ll learn

  • How to structure a real Zend Framework application top to bottom using a CMS application
  • How to work with abstract (flexible) data structures
  • How to add security, access control, and authentication with the Zend Framework
  • How to build a custom, modular CMS
  • How to integrate web services and RSS with a Zend Framework application
  • How to do performance tuning, graceful error handling, internationalization, and more...

Who this book is for

This book is for intermediate–level PHP developers who want to build custom content–driven web sites. Secondly, this book serves as a very readable reference with real–world examples of many of the core Zend Framework components.

Table of Contents

  1. Getting Started
  2. Designing Your Site
  3. Building and Processing Web Forms with Zend_Form
  4. Managing Data with Zend Framework
  5. Working with CMS Data
  6. Managing Content
  7. Creating the Site Navigation
  8. Handling Security in a Zend Framework Project
  9. Searching and Sharing Content
  10. Extending Your CMS
  11. Advanced Topics
  12. Installing and Managing a Site with Your CMS

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(2)
(1)

Your tags: Add your first tag
 

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

5 star
0
4 star
0
1 star
0
Most Helpful Customer Reviews
Good book... 29 Jan 2010
Format:Paperback
I'm new to Zend Framework and - in fact I've just recently started learning OOP in PHP, but after going through the book I've realised that there's a lot of things missing.
The author has forgotten some essential information withouth which you won't be able to move on as your code will throw errors. Things like including path to the CMS folder in the bootstrap, plenty of the typos in the names of the classes etc. You really have to be careful and do some internet research to find your way around this project. Apart from this - interesting concepts for the beginner in Zend Framework.
Comment | 
Was this review helpful to you?
1 of 3 people found the following review helpful
Format:Paperback
Always on the lookout for a new ZF book I was interested to hear about a book which pitches itself at 'pro' Zend Framework techniques.

Going to the publishers website you can download source code that the book uses, so thought i'd take a look, and i'm glad I did.

I'm really not sure why this book is pitched at professional techniques as the source includes calling zend_db_table and select methods objects directly from inside an action (rather than abstracting these into the model that they use), using the costly actionstack to forward to empty actions just to show a message (when you could just render a different script in the same action) and other techniques that seasoned developers would steer clear of.

I obviously can't comment on the content of the book, but if you already have a few ZF projects under your belt then you may want to look at something more advanced such as Zend Framework 1.8 Web Application Development
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  15 reviews
17 of 17 people found the following review helpful
Great In Theory; Useless In Practice 30 Dec 2009
By Travis A. Butler - Published on Amazon.com
Format:Paperback|Amazon Verified Purchase
Like many, I bought this book as it is one of the few non-beginner Zend Framework books that comes from a trusted publisher. What I expected was a great next step in advancing my Zend Framework knowledge. What I got was a rushed, almost useless run through of how this particular author created his CMS.

The author spends multiple chapters on the same exact CRUD (create, read, update, delete) functionality in each controller. Very little additional information is given when new features are added.

All in all, the biggest complaint, and the reason this is rated 2 stars as opposed to 4, is you simply can not follow the code in the book. I did a quick run through of my notes after finishing the book and came to the conclusion that 1 in 4 code samples contains at least 1 critical error. From misspellings, to incorrect class names, to missing syntax, to functions that don't exist; You will be spending hours upon hours just trying to figure out why your script isn't working! And to top it off, the publisher has not yet added a single errata (I personally have submitted at least 20).

Another complaint is the sample code is not broken up into chapters, but instead provides only the final product. This is somewhat useless when working through the book systematically. I worry that this added layer of complication and frustration may drive many away from using Zend Framework as a person could easily mistake problems in the sample code with problems of the framework.

To wrap it up, this book was a rushed, weakly thought out attempt at covering the beast that is Zend Framework. I highly recommend you look elsewhere.
5 of 5 people found the following review helpful
Good CMS example, but repetitive and poorly edited 17 Jan 2010
By Chad Kieffer - Published on Amazon.com
Format:Paperback|Amazon Verified Purchase
I agree with most of the points in Travis Butler's review . I encountered several obvious editing errors in code samples and wasted a lot of time tracking them down. I finally wrote to Apress' editorial staff who admitted "It is possible that some code may have been added or changed at the last minute, bypassing our normal technical review process." This is a shame because I had begun to prefer Apress over Packt books because of a perceived emphasis on higher quality from Apress.

The other issue, as Travis points out, is repetition. After building a few CRUD actions there really isn't any need to to show more basic CRUD code samples later in the book. Instead, discussing subjects covered or alternate approaches in a bit more detail would have been more valuable for readers.

If you need to build your first CMS and are looking for a good example of how to do so with the Zend Framework, I'd recommend this book despite the editing errors. If you're a seasoned developer, I'd look elsewhere.
4 of 4 people found the following review helpful
Great Book but with a lot of errors 28 Jan 2010
By Kurt Hogentogler - Published on Amazon.com
Format:Paperback
I enjoyed this book even with the amount of errors I found in the code.

That said, I learned a lot in this book and had a lot of fun with it. For the most part if you have some experience with php and the Zend Framework you should be able to figure out the errors and fix them.

I'll briefly cover what I think is the heart of the book.

This book uses direct inheritance as it is simple and easy to implement versus lets say composition. For example, by using direct inheritance, if you have a Page Model, then you would directly extend from the data source gateway class.

eg. class Model_Page extends Zend_Db_Table_Abstract

The disadvantages of this are it is hard to run unit test without a database connection. Breaks OO inheritance principle (if your concerned about that) and is tightly coupled with Zend_Db_Table.

The author notes that there are a number of different opinions regarding the structure of an MVC application. He states that the approach he describes is a fat controller approach.

But after building the application it seems to me he is using a Fat Model skinny Controller for the business logic in the application stack. The methods and queries are done in the Model not the Controller.

Doing this allows for code reuse anywhere in the application, readability is enhanced and maintainability is easier as the Controller is easier to maintain with fewer lines of code and less logic contained in it.

What I really like about the application you build, is the authors use of an abstract data structure. Abstract data structures look at content in a contrastive way. In an abstract system content is content. To implement this approach he uses the node pattern which consists of two components: pages which are the main containers and the content nodes which are the actual blocks of content. A page can have any number of content nodes.

So what the pattern means is that any page can have any number of content nodes. The same database tables can work for a page, a blog, a cms, or any type of page. Also, pages can contain other pages.

The Model_Page and Model_ContentNode classes you build handle the low-level database management and this is where the direct inheritance takes place from Zend_Db_Table_Abstract.

The Page and ContentNode model classes provide an abstraction layer between the application and the underlying database structure. But this has added difficulty because you create a flexible data structure and this has made managing the data more complicated than it would be if you had a fixed table tailored for each content type. Like in a traditional CMS database.

The way around this involves creating another layer of abstraction on top of the models called "content item objects".

These objects extend a base abstract class called CMS_Content_Item_Abstract that handles all the interaction with the Page and ContentNode models. This in turn gives you a real object oriented data access.

So, now that I have this base content item class, I can create new forms of content for my CMS project very easily, without altering the underlying model or database. You can than create a concrete class that extends the abstract class and add public properties for each of your data.

I liked this approach and would be interested to hear what other people think.
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges