•  
  •  
  •  
  •  
  •  
  •  
  •  
Username:
Password:
Forgot password?  Register
XML syndication

Popular listings

IÂ’m using the Zend Framework at the moment and came across a problem with creating custom helpers for the Zend_View class. All is fine if you place your helpers either within the zend frameworkÂ’s own helpers folder (not a good idea) or within a directory in your site structure. The problem arises if you place the helpers in a folder in the PHP include path and donÂ’t know the full path to the folder.
http://www.bigroom.co.uk/blog/zend_view-helpers-in-include-path/
PageRank: 6/10
(Clicks: 188; Comments: 0; Listing added: Feb 16, 2007) Listing Details Report Broken  Listing
Zend_View is a class for working with the "view" portion of the model-view-controller pattern. That is, it exists to help keep the view script separate from the model and controller scripts. It provides a system of helpers, output filters, and variable escaping. Zend_View is template system agnostic; you may use PHP as your template language, or create instances of other template systems and manipulate them within your view script. Essentially, using Zend_View happens in two major steps: 1. Your controller script creates an instance of Zend_View and assigns variables to that instance. 2. The controller tells the Zend_View to render a particular view, thereby handing control over the view script, which generates the view output.
http://framework.zend.com/manual/en/zend.view.html
PageRank: 6/10
(Clicks: 186; Comments: 0; Listing added: Feb 3, 2007) Listing Details Report Broken  Listing
In parts 1 and 2, we discuss the goals behind the Zend Framework and show you how to use it to create the beginnings of our online feed reader, creating a form and adding information to a database while getting to know the MVC pattern. In this tutorial, you will see how to use the Zend Framework to implement the online feed reader portion of the application.
http://www-128.ibm.com/developerworks/edu/os-dw-os-php-zend3.html
PageRank: 4/10
(Clicks: 183; Comments: 0; Listing added: Jan 3, 2007) Listing Details Report Broken  Listing
So, this all started as I read about the Zend_Controller_RewriteRouter class. While building my own framework, routing was a particularly sticky issue to iron out, so I wanted to see how Zend handled the whole issue. And they did in a fine way, apparently somewhat borrowed from Ruby On Rails
http://www.johndwells.com/journal/phrappe_controller_front-part-1-using-zend_config-to-describe-routing
PageRank: 3/10
(Clicks: 180; Comments: 0; Listing added: Jan 6, 2007) Listing Details Report Broken  Listing
MVC is designed to "decouple data access and business logic from data presentation and user interaction" and was doing a fine job of it but clearly that isn't what I'm after. I was misapplying the pattern completely. So this got on to thinking about a CMS. CMSes "facilitate the organization, control, and publication of documents and other content, such as images and multimedia resources" and sounds a little more like what I'm after but then how do I integrate custom functionality such as my video chooser wizard thing into that. Incidentally I've no intention of using a pre-packaged CMS or writing anything myself much larger than is necessary to satisfy the requirements of this site but it sounds to me that I'm after some kind of CMS / MVC hybrid or at least a template system that blocks of functionality can be injected into or perhaps the other way round.
http://forums.devnetwork.net/viewtopic.php?p=366799
PageRank: 1/10
(Clicks: 179; Comments: 0; Listing added: Apr 29, 2007) Listing Details Report Broken  Listing
While getting the hang of the Zend_Controller_RewriteRouter, which is now included in Zend Framework 0.1.5, I was adding the routes in my index.php (bootstrap) file and wondered if there was any way of storing them elsewhere. It is possible to loop over Zend_Controller_RewriteRouter::addRoutes() but the method I will describe here is based on some recent updates to Zend_Controller_RewriteRouter by its author Michael Minicki.
http://www.ingredients.com.au/nick/2006/07/18/rewriterouter-and-zend_config-play-together/
PageRank: 3/10
(Clicks: 176; Comments: 0; Listing added: Jan 3, 2007) Listing Details Report Broken  Listing
Zend_Mime is a support class for handling multipart MIME messages. It is used by Zend_Mail and Zend_Mime_Message and may be used by applications requiring MIME support.
http://framework.zend.com/manual/en/zend.mime.html
PageRank: 6/10
(Clicks: 176; Comments: 0; Listing added: Feb 3, 2007) Listing Details Report Broken  Listing
Zend_Controller provides the foundation for building a website based on the Model-View-Controller (MVC) pattern. The Zend_Controller system is designed to be lightweight, modular, and extensible. It is a minimalist design to permit flexibility and some freedom to users while providing enough structure so that systems built around Zend_Controller share some common conventions and similar code layout. The Zend_Controller workflow is implemented by several components. While it is not necessary to completely understand the underpinnings of all of these components to use the system, having a working knowledge of the process is helpful.
http://framework.zend.com/manual/en/zend.controller.html
PageRank: 6/10
(Clicks: 174; Comments: 0; Listing added: Feb 3, 2007) Listing Details Report Broken  Listing
Not all sites have feeds, but it's still useful to track everything in one place. This article shows how to use the Zend_HTTP_Client module to create a proxy to pull data into the feed-reader interface. In this article, you will learn: * How to use the Zend_HTTP_Client module to load Web-site data. * How to save the full text of feed entries and that of Web pages not supporting feeds. * How to read the full text of saved feed entries within the feed-reader interface. At the end of this article, you will have completed the framework of the feed-reader application. First, modify the database schema, then update the code to support the new schema. Next, add the functionality to save feed entry and Web pages to the database. Finally, use Zend_HTTP_Client to allow users to optionally save the entries to the database and view them in your updated online feed reader.
http://www-128.ibm.com/developerworks/library/os-php-zend4/index.html
PageRank: 4/10
(Clicks: 170; Comments: 1; Listing added: Jan 3, 2007) Listing Details Report Broken  Listing
As the current Zend_Log component doesn't provide very meaningful log content per default I wanted to extend the information logged and also the logfile layout. In the article of Stefan Koopmanschap this issue is solved by using the setMessagePrefix method of the Zend_Log class, which pushs the additional log information and layout unlovely to the Bootstrap file. Another way to improve the content and layout being logged is writing a custom Zend_Log_Adapter by extending for instance Zend_Log_Adapter_File and overwriting its _parseLogLine metod and redefining its _options array.
http://raphaelstolt.blogspot.com/2007/03/extending-zendlog-layout.html
PageRank: 0/10
(Clicks: 170; Comments: 0; Listing added: Mar 15, 2007) Listing Details Report Broken  Listing