You are not logged in.
This video uses a collection of powerful PHP libraries in order to illustrate how easy it really is to build a command-line tool for reporting against XML files. We start off by logging visitor statistics in the controller into a log file with Zend_Log. Once data has been collected, we're then able to utilize SimpleXML, Zend_Date and the Zend_Tool component to build out a very simple reporting tool. This is of course just an example of what's possible. What comes to mind for me is building a cron job for generating reports based on the zf.sh executable, or even just doing backups at the command-line with the help of a fully integrated Zend Framework installation.
I've noticed that configuration information isn't properly loaded into Zend_Tool and am still trying to figure out the design decisions there. You'll notice that I was having some timezone issues with regards to Zend_Date and it seems that specifying a timezone in my application.ini file didn't resolve the issue.
Grab a copy of the project or browse the repository.
Offline
Hello Jon!
Thanx for great and helpfull casts!
Im going step by step through zc54 and my terminal show me error like :
Warning: file_get_contents(/../../../logs/visitors.xml): failed to open stream: No such file or directory in /usr/local/zend/apache2/htdocs/dev/library/ZC/Tool/VisitorProvider.php on line 14
---------
Visitors
Timezone: Europe/Helsinki
what to do? .)
Offline
Hi JT,
I think it probably has to do with permissions on the actual folder. Did you set write access for the web server?
Offline