<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FireLike &#187; Zend Framework</title>
	<atom:link href="http://www.firelike.com/index.php/category/software-development/php/zend-framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.firelike.com</link>
	<description>In search of..</description>
	<lastBuildDate>Sun, 15 Jan 2012 22:52:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Insert processing istruction to Zend View Helper Navigation Sitemap dom object</title>
		<link>http://www.firelike.com/index.php/2012/01/15/insert-processing-istruction-to-zend-view-helper-navigation-sitemap-dom-object/</link>
		<comments>http://www.firelike.com/index.php/2012/01/15/insert-processing-istruction-to-zend-view-helper-navigation-sitemap-dom-object/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 21:58:49 +0000</pubDate>
		<dc:creator>firelike</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://www.firelike.com/?p=109</guid>
		<description><![CDATA[What if you want to associate a xslt stylesheet to the sitemap generated by Zend_View_Helper_Navigation_Sitemap. I did it by adding a xml-stylesheet processing instruction to the view helper dom object. Here is the code: class SitemapController extends Zend_Controller_Action { public function indexAction () { $this->_helper->layout->disableLayout(); $this->_helper->viewRenderer->setNoRender("true"); $pages = array(); // generate the pages array somehow [...]]]></description>
			<content:encoded><![CDATA[<p>What if you want to associate a xslt stylesheet to the sitemap generated by Zend_View_Helper_Navigation_Sitemap. I did it by adding a xml-stylesheet processing instruction to the view helper dom object. Here is the code:<br />
<code><br />
class SitemapController extends Zend_Controller_Action<br />
{<br />
    public function indexAction ()<br />
    {<br />
        $this->_helper->layout->disableLayout();<br />
        $this->_helper->viewRenderer->setNoRender("true");</p>
<p>        $pages = array(); </p>
<p>        // generate the pages array somehow<br />
        $someservice = new My_Serivce_PageGenerator();<br />
        $pages = $someservice->fetchAllMyWebsitePages();</p>
<p>        // generate sitemap xml<br />
        $xml = $this->_generateSitemapXml($pages);</p>
<p>        $response = $this->getResponse();<br />
        $response->setHeader('Cache-Control', 'public', true);<br />
        $response->setHeader('Content-Type', 'text/xml', true);<br />
        $response->appendBody($xml);</p>
<p>    }</p>
<p>    private function _generateSitemapXml ($pages)<br />
    {</p>
<p>        $sitemap = new Zend_View_Helper_Navigation_Sitemap();</p>
<p>        $sitemap->setView($this->view);<br />
        $sitemap->setUseSitemapValidators(false);<br />
        $sitemap->setMinDepth(0);<br />
        $sitemap->setMaxDepth(0);</p>
<p>        $container = new Zend_Navigation();<br />
        $container->addPages($pages);</p>
<p>        $sitemap->setContainer($container);</p>
<p><strong><br />
        // get the dom object<br />
        $dom = $sitemap->getDomSitemap();</p>
<p>        // define path to xslt stylesheet<br />
        $xslt_file_path = '/sitemap_style.xsl';</p>
<p>        // create processing instruction<br />
        $xslt = $dom->createProcessingInstruction('xml-stylesheet', 'type="text/xsl" href="' . $xslt_file_path . '"');</p>
<p>        // add it to the dom<br />
        $urlset = $dom->getElementsByTagName('urlset');<br />
        $dom->insertBefore($xslt, $urlset->item(0));</p>
<p>        // instead of using the render method we use this:<br />
        $xml = $sitemap->getUseXmlDeclaration() ? $dom->saveXML() : $dom->saveXML($dom->documentElement);</p>
<p>        return rtrim($xml, PHP_EOL);</p>
<p>    </strong><br />
    }</p>
<p>}<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.firelike.com/index.php/2012/01/15/insert-processing-istruction-to-zend-view-helper-navigation-sitemap-dom-object/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento for Developers: Part 1 Introduction to Magento</title>
		<link>http://www.firelike.com/index.php/2011/04/01/magento-for-developers-part-1-introduction-to-magento/</link>
		<comments>http://www.firelike.com/index.php/2011/04/01/magento-for-developers-part-1-introduction-to-magento/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 08:43:42 +0000</pubDate>
		<dc:creator>firelike</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://www.firelike.com/?p=78</guid>
		<description><![CDATA[What is Magento? It&#8217;s the most powerful online eCommerce platform in the universe and is changing the face of eCommerce forever. Of course, you already know that. What you may not realize is Magento is also an object-oriented PHP Framework that can be used to develop modern, dynamic web applications that tap into Magento&#8217;s powerful [...]]]></description>
			<content:encoded><![CDATA[<p>What is Magento? It&#8217;s the most powerful online eCommerce platform in the universe and is changing the face of eCommerce forever.</p>
<p>Of course, you already know that. What you may not realize is Magento is also an object-oriented PHP Framework that can be used to develop modern, dynamic web applications that tap into Magento&#8217;s powerful eCommerce features.</p>
<p>This is the first in a series of articles in which we&#8217;re going to go on a whirlwind tour of Magento&#8217;s programming framework features. Don&#8217;t worry if you don&#8217;t follow everything immediately. As you study the system more everything in this article will start to make sense, and you&#8217;ll soon be the envy of your colleagues stuck working with more  primitive PHP systems.</p>
<p><a href="http://www.magentocommerce.com/knowledge-base/entry/magento-for-dev-part-1-introduction-to-magento">Magento &#8220;Knowledge Base&#8221; Magento for Developers: Part 1 &#8220;Introduction to Magento&#8221; eCommerce Software for Growth</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.firelike.com/index.php/2011/04/01/magento-for-developers-part-1-introduction-to-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend, Microsoft, IBM join forces to simplify cloud-app devlopment for PHP coders &#124; All about Microsoft &#124; ZDNet.com</title>
		<link>http://www.firelike.com/index.php/2009/09/26/zend-microsoft-ibm-join-forces-to-simplify-cloud-app-devlopment-for-php-coders-all-about-microsoft-zdnet-com/</link>
		<comments>http://www.firelike.com/index.php/2009/09/26/zend-microsoft-ibm-join-forces-to-simplify-cloud-app-devlopment-for-php-coders-all-about-microsoft-zdnet-com/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 08:34:16 +0000</pubDate>
		<dc:creator>firelike</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://www.firelike.com/?p=63</guid>
		<description><![CDATA[As this article says all the right buzzwords are part of a newly unveiled Simple API for Cloud Application Services. Itâ€™s an open-source initiative that currently includes Zend, Microsoft, IBM, Nirvanix, Rackspace and GoGrid as the founding members. (No Google and no Amazon, however.) Here you can read more : Zend, Microsoft, IBM join forces [...]]]></description>
			<content:encoded><![CDATA[<p>As this article says all the right buzzwords are part of a newly unveiled <a href="http://www.simplecloud.org/">Simple API for Cloud Application Services</a>. Itâ€™s an open-source initiative that currently includes Zend, Microsoft, IBM, Nirvanix, Rackspace and GoGrid as the founding members. (No Google and no Amazon, however.)  Here you can read more : <a href="http://blogs.zdnet.com/microsoft/?p=4031">Zend, Microsoft, IBM join forces to simplify cloud-app devlopment for PHP coders | All about Microsoft | ZDNet.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.firelike.com/index.php/2009/09/26/zend-microsoft-ibm-join-forces-to-simplify-cloud-app-devlopment-for-php-coders-all-about-microsoft-zdnet-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Programming Laboratory</title>
		<link>http://www.firelike.com/index.php/2008/09/28/open-programming-laboratory/</link>
		<comments>http://www.firelike.com/index.php/2008/09/28/open-programming-laboratory/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 20:00:32 +0000</pubDate>
		<dc:creator>firelike</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://www.firelike.com/?p=40</guid>
		<description><![CDATA[This is good place for zend framework samples]]></description>
			<content:encoded><![CDATA[<p>This is good place for <a href="http://www.oplabo.com/" target="_blank">zend framework samples</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.firelike.com/index.php/2008/09/28/open-programming-laboratory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SEO and Url Rewriting</title>
		<link>http://www.firelike.com/index.php/2008/09/28/seo-and-url-rewriting/</link>
		<comments>http://www.firelike.com/index.php/2008/09/28/seo-and-url-rewriting/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 19:54:20 +0000</pubDate>
		<dc:creator>firelike</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[rewriting]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.firelike.com/?p=38</guid>
		<description><![CDATA[This is interesting discussion about url rewriting.Â  Here is the link .]]></description>
			<content:encoded><![CDATA[<p>This is interesting discussion about url rewriting.Â  Here is the <a href="http://www.manning-sandbox.com/thread.jspa?threadID=23577" target="_blank">link .</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.firelike.com/index.php/2008/09/28/seo-and-url-rewriting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Framework</title>
		<link>http://www.firelike.com/index.php/2006/12/17/zend-framework/</link>
		<comments>http://www.firelike.com/index.php/2006/12/17/zend-framework/#comments</comments>
		<pubDate>Mon, 18 Dec 2006 07:38:41 +0000</pubDate>
		<dc:creator>firelike</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://www.firelike.com/?p=8</guid>
		<description><![CDATA[Zend came up with their own framework]]></description>
			<content:encoded><![CDATA[<p>Zend came up with their own <a href="http://framework.zend.com" target="_blank">framework </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.firelike.com/index.php/2006/12/17/zend-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

