<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Reporting with Zend_Tool and Zend_Log</title>
	<atom:link href="http://www.zendcasts.com/reporting-with-zend_tool-and-zend_log/2010/04/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zendcasts.com/reporting-with-zend_tool-and-zend_log/2010/04/</link>
	<description>free Zend Framework screencasts. Video tutorials to get you up to speed with different parts of the Zend Framework and enterprise PHP development.</description>
	<lastBuildDate>Wed, 01 Feb 2012 00:49:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Bud</title>
		<link>http://www.zendcasts.com/reporting-with-zend_tool-and-zend_log/2010/04/comment-page-1/#comment-16621</link>
		<dc:creator>Bud</dc:creator>
		<pubDate>Mon, 28 Mar 2011 06:53:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=336#comment-16621</guid>
		<description>The best way to process XML data for display is by using XSLT.  I recommend installing Apache-Xerces2-J which has class files that allow you to process XML using SAX (event) or DOM (tree) for display.  This would make for a great third tutorial which would also allow you to introduce Zend_Bridge.</description>
		<content:encoded><![CDATA[<p>The best way to process XML data for display is by using XSLT.  I recommend installing Apache-Xerces2-J which has class files that allow you to process XML using SAX (event) or DOM (tree) for display.  This would make for a great third tutorial which would also allow you to introduce Zend_Bridge.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joseph</title>
		<link>http://www.zendcasts.com/reporting-with-zend_tool-and-zend_log/2010/04/comment-page-1/#comment-14349</link>
		<dc:creator>joseph</dc:creator>
		<pubDate>Sat, 08 Jan 2011 07:43:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=336#comment-14349</guid>
		<description>cool</description>
		<content:encoded><![CDATA[<p>cool</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.zendcasts.com/reporting-with-zend_tool-and-zend_log/2010/04/comment-page-1/#comment-9029</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 02 Aug 2010 12:42:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=336#comment-9029</guid>
		<description>Hi Jon,

First of all, I have to thank you for your zendcasts.

About the problem with the require_once, it&#039;s useless to define anything in the application.ini because this file doesn&#039;t seem to be read by the CLI project. 
The solution appears to append in the .zf.ini  a definition for both provider and manifest:
basicloader.classes.0 = &quot;ZC_Tool_VisitorProvider&quot;
basicloader.classes.1 = &quot;ZC_Tool_Manifest&quot;

I found this solution at this link : http://chetzit.com/blog/zend-framework/12.html

Hope this will help</description>
		<content:encoded><![CDATA[<p>Hi Jon,</p>
<p>First of all, I have to thank you for your zendcasts.</p>
<p>About the problem with the require_once, it&#8217;s useless to define anything in the application.ini because this file doesn&#8217;t seem to be read by the CLI project.<br />
The solution appears to append in the .zf.ini  a definition for both provider and manifest:<br />
basicloader.classes.0 = &#8220;ZC_Tool_VisitorProvider&#8221;<br />
basicloader.classes.1 = &#8220;ZC_Tool_Manifest&#8221;</p>
<p>I found this solution at this link : <a href="http://chetzit.com/blog/zend-framework/12.html" rel="nofollow">http://chetzit.com/blog/zend-framework/12.html</a></p>
<p>Hope this will help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kalo</title>
		<link>http://www.zendcasts.com/reporting-with-zend_tool-and-zend_log/2010/04/comment-page-1/#comment-8128</link>
		<dc:creator>Kalo</dc:creator>
		<pubDate>Fri, 25 Jun 2010 00:59:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=336#comment-8128</guid>
		<description>i dont know why but with:
$writer-&gt;setFormatter(new Zend_Log_Formatter_Xml(&#039;visitor&#039;,$this-&gt;getFormat()));

it logs only the first row:
200

when i remove $this-&gt;getFormat() so its only 
$writer-&gt;setFormatter(new Zend_Log_Formatter_Xml(&#039;visitor&#039;));

it logs all the data $value....</description>
		<content:encoded><![CDATA[<p>i dont know why but with:<br />
$writer-&gt;setFormatter(new Zend_Log_Formatter_Xml(&#8216;visitor&#8217;,$this-&gt;getFormat()));</p>
<p>it logs only the first row:<br />
200</p>
<p>when i remove $this-&gt;getFormat() so its only<br />
$writer-&gt;setFormatter(new Zend_Log_Formatter_Xml(&#8216;visitor&#8217;));</p>
<p>it logs all the data $value&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://www.zendcasts.com/reporting-with-zend_tool-and-zend_log/2010/04/comment-page-1/#comment-7872</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Tue, 15 Jun 2010 15:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=336#comment-7872</guid>
		<description>Hi Jon, 

  I&#039;m not sure if this the best way of handling this, however, I managed to get around the autoloading issue you mentioned by setting up a custom Zend_Application bootstap for use with all CLI / Zend Tool utilities.

I did this by adding a __construct to my manifest file and starting up my application only registering namespaces I want for CLI activities. Eg..

  public function __construct()
  {
    define(&#039;APPLICATION_PATH&#039;, dirname(__FILE__) . &#039;/../../application&#039;);
    define(&#039;APPLICATION_ENV&#039;, &#039;production&#039;);
    
    require_once APPLICATION_PATH . &#039;/../library/Doctrine/Doctrine.php&#039;;    
    
    $application = new Zend_Application(
      APPLICATION_ENV,
      APPLICATION_PATH . &#039;/configs/application.ini&#039;
    ); 
    
    $application-&gt;bootstrap(&#039;cli&#039;);
}


And in my Bootstrap...

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
  protected function _initCli()
  {
    // CLI / Zend Tool specific loaders / inits
  }

}</description>
		<content:encoded><![CDATA[<p>Hi Jon, </p>
<p>  I&#8217;m not sure if this the best way of handling this, however, I managed to get around the autoloading issue you mentioned by setting up a custom Zend_Application bootstap for use with all CLI / Zend Tool utilities.</p>
<p>I did this by adding a __construct to my manifest file and starting up my application only registering namespaces I want for CLI activities. Eg..</p>
<p>  public function __construct()<br />
  {<br />
    define(&#8216;APPLICATION_PATH&#8217;, dirname(__FILE__) . &#8216;/../../application&#8217;);<br />
    define(&#8216;APPLICATION_ENV&#8217;, &#8216;production&#8217;);</p>
<p>    require_once APPLICATION_PATH . &#8216;/../library/Doctrine/Doctrine.php&#8217;;    </p>
<p>    $application = new Zend_Application(<br />
      APPLICATION_ENV,<br />
      APPLICATION_PATH . &#8216;/configs/application.ini&#8217;<br />
    ); </p>
<p>    $application-&gt;bootstrap(&#8216;cli&#8217;);<br />
}</p>
<p>And in my Bootstrap&#8230;</p>
<p>class Bootstrap extends Zend_Application_Bootstrap_Bootstrap<br />
{<br />
  protected function _initCli()<br />
  {<br />
    // CLI / Zend Tool specific loaders / inits<br />
  }</p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://www.zendcasts.com/reporting-with-zend_tool-and-zend_log/2010/04/comment-page-1/#comment-7119</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Mon, 03 May 2010 12:39:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=336#comment-7119</guid>
		<description>Good call Matt. Thanks :)</description>
		<content:encoded><![CDATA[<p>Good call Matt. Thanks <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.zendcasts.com/reporting-with-zend_tool-and-zend_log/2010/04/comment-page-1/#comment-7047</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 29 Apr 2010 13:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=336#comment-7047</guid>
		<description>Is there any reason to not use the Zend_Config_Xml component to traverse the XML

Also your timezone error looks like its thrown by &quot;date(&#039;e&#039;)&quot; which you could have changed to a Zend_Date object to resolve</description>
		<content:encoded><![CDATA[<p>Is there any reason to not use the Zend_Config_Xml component to traverse the XML</p>
<p>Also your timezone error looks like its thrown by &#8220;date(&#8216;e&#8217;)&#8221; which you could have changed to a Zend_Date object to resolve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.zendcasts.com/reporting-with-zend_tool-and-zend_log/2010/04/comment-page-1/#comment-7045</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 29 Apr 2010 12:21:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=336#comment-7045</guid>
		<description>previously I have used 

autoloaderNamespaces.namespace[] = &quot;Zucchi_&quot;

to resolve my namespacing

Dunno If this is of any help</description>
		<content:encoded><![CDATA[<p>previously I have used </p>
<p>autoloaderNamespaces.namespace[] = &#8220;Zucchi_&#8221;</p>
<p>to resolve my namespacing</p>
<p>Dunno If this is of any help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://www.zendcasts.com/reporting-with-zend_tool-and-zend_log/2010/04/comment-page-1/#comment-6935</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Wed, 28 Apr 2010 02:53:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=336#comment-6935</guid>
		<description>Great as always.  Thanks

PS. NetBeans (6.9 Beta) has built in Zend Framework now!  They also use a provider for the integration.</description>
		<content:encoded><![CDATA[<p>Great as always.  Thanks</p>
<p>PS. NetBeans (6.9 Beta) has built in Zend Framework now!  They also use a provider for the integration.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joni Design</title>
		<link>http://www.zendcasts.com/reporting-with-zend_tool-and-zend_log/2010/04/comment-page-1/#comment-6915</link>
		<dc:creator>Joni Design</dc:creator>
		<pubDate>Tue, 27 Apr 2010 15:34:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=336#comment-6915</guid>
		<description>Hi Jon,

I&#039;ve noticed that you had some problems with the &#039;require_once&#039; when loading your custom classes.

You might want to do this in your &#039;application.ini&#039; files

&lt;code&gt;
autoloaderNamespaces.joni = &quot;Joni_&quot;
&lt;/code&gt;

Zend application should be able to take care of class autoloading when this line is added to your application config file (i.e. application.ini)

Hope this helps! Keep up the good screencasts!</description>
		<content:encoded><![CDATA[<p>Hi Jon,</p>
<p>I&#8217;ve noticed that you had some problems with the &#8216;require_once&#8217; when loading your custom classes.</p>
<p>You might want to do this in your &#8216;application.ini&#8217; files</p>
<p><code><br />
autoloaderNamespaces.joni = "Joni_"<br />
</code></p>
<p>Zend application should be able to take care of class autoloading when this line is added to your application config file (i.e. application.ini)</p>
<p>Hope this helps! Keep up the good screencasts!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

