Vous voulez voir cette page en français ? Cliquez ici.


or
Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
Pro Zend Framework Techniques: Build a Full CMS Project
 
 

Pro Zend Framework Techniques: Build a Full CMS Project [Paperback]

Forrest Lyman

List Price: CDN$ 51.95
Price: CDN$ 32.73 & this item ships for FREE with Super Saver Shipping. Details
You Save: CDN$ 19.22 (37%)
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.
Ships from and sold by Amazon.ca. Gift-wrap available.
Only 1 left in stock--order soon (more on the way).
Want it delivered Monday, May 28? Choose One-Day Shipping at checkout.

Frequently Bought Together

Customers buy this book with Beginning Zend Framework CDN$ 29.93

Pro Zend Framework Techniques: Build a Full CMS Project + Beginning Zend Framework
Price For Both: CDN$ 62.66

One of these items ships sooner than the other. Show details

  • This item: Pro Zend Framework Techniques: Build a Full CMS Project

    In Stock.
    Ships from and sold by Amazon.ca.
    This item ships for FREE with Super Saver Shipping. Details

  • Beginning Zend Framework

    Usually ships within 2 to 5 weeks.
    Ships from and sold by Amazon.ca.
    This item ships for FREE with Super Saver Shipping. Details


Product Details

  • Paperback: 500 pages
  • Publisher: Apress; 1 edition (Oct 23 2009)
  • Language: English
  • ISBN-10: 1430218797
  • ISBN-13: 978-1430218791
  • Product Dimensions: 23.1 x 18.8 x 2 cm
  • Shipping Weight: 431 g
  • Amazon Bestsellers Rank: #233,520 in Books (See Top 100 in Books)

Product Description

About the Author

Forrest Lyman is a passionate PHP developer who concentrates on CMS development. He developed the Digitalus CMS on the Zend Framework, progressing from version 0.1 through 1.5. Once Zend FW reached its production release (1.0), Forrest released Digitalus as an open source project.



Over the course of the project he developed a wide range of sites based on the CMS, from small business sites to international nonprofit and university systems. Working hands on developing these sites with the Zend Framework has given Forrest a unique perspective into building extensible CMS systems with Zend FW.


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

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items.
Your tags: Add your first tag
 

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

There are no customer reviews yet on Amazon.ca
5 star:    (0)
4 star:    (0)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
Share your experience with this product with others
Create your own review
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 3.5 out of 5 stars (15 customer reviews)

17 of 17 people found the following review helpful
2.0 out of 5 stars Great In Theory; Useless In Practice, Dec 29 2009
By Travis A. Butler - Published on Amazon.com
Amazon Verified Purchase(What's this?)
This review is from: Pro Zend Framework Techniques: Build a Full CMS Project (Paperback)
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
2.0 out of 5 stars Good CMS example, but repetitive and poorly edited, Jan 17 2010
By Chad Kieffer - Published on Amazon.com
Amazon Verified Purchase(What's this?)
This review is from: Pro Zend Framework Techniques: Build a Full CMS Project (Paperback)
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
4.0 out of 5 stars Great Book but with a lot of errors, Jan 27 2010
By Kurt Hogentogler "Web Developer" - Published on Amazon.com
This review is from: Pro Zend Framework Techniques: Build a Full CMS Project (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.
 Go to Amazon.com to see all 15 reviews  3.5 out of 5 stars 

Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback


Amazon.ca Privacy Statement Amazon.ca Shipping Information Amazon.ca Returns & Exchanges