Reporting with Zend_Tool and Zend_

Jon Leben­sold posts a con­tin­u­a­tion to his screen­cast on Zend_tool; Report­ing with Zend_Tool and Zend_Log

This video uses a col­lec­tion of pow­er­ful PHP libraries in order to illus­trate how easy it really is to build a command-line tool for report­ing against XML files. We start off by log­ging vis­i­tor sta­tis­tics in the con­troller into a log file with Zend_Log. Once data has been col­lected, we’re then able to uti­lize Sim­pleXML, Zend_Date and the Zend_Tool com­po­nent to build out a very sim­ple report­ing tool. This is of course just an exam­ple of what’s pos­si­ble. What comes to mind for me is build­ing a cron job for gen­er­at­ing reports based on the zf.sh exe­cutable, or even just doing back­ups at the command-line with the help of a fully inte­grated Zend Frame­work installation.

I’ve noticed that con­fig­u­ra­tion infor­ma­tion isn’t prop­erly loaded into Zend_Tool and am still try­ing to fig­ure out the design deci­sions there. You’ll notice that I was hav­ing some time­zone issues with regards to Zend_Date and it seems that spec­i­fy­ing a time­zone in my application.ini file didn’t resolve the issue.

Grab a copy of the project or browse the repos­i­tory.

via Zend­casts.

Tags: ,

Leave a Comment

*

Get Adobe Flash playerPlugin by wpburn.com wordpress themes