Creating a Datestamped Log File using the Standard Log Resource Plugin
Wednesday, March 10, 2010

In a previous post, I looked at creating a custom resource plugin to create a logger. Since I wrote that code, a standard resource plugin to perform this function has been created. At first sight the standard plugin is inferior, in that the custom plugin allows for the insertion of a date into the log filename, which allows a new log to be created every day, while the standard plugin requires a fixed filename specified in the configuration file. However, I have worked out a simple mechanism for adding a date stamp to the filename, which I shall share in this article. (more…)

Posted by James at 11:40 pm   0 comments

Bootstrapping the Application: a Custom Log Resource Plugin
Monday, September 28, 2009

So far, we have been looking at how to use several of the standard resource plugins that come with Zend_Application in order to initialise application resources. It is possible, indeed encouraged, to create your own custom resource plugins to handle the initialisation of resources that fall outside their scope. (more…)

Posted by James at 9:57 am   1 comment