<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Zendcasts Forum]]></title>
		<link>http://www.zendcasts.com/forum/index.php</link>
		<description><![CDATA[The most recent topics at Zendcasts Forum.]]></description>
		<lastBuildDate>Sun, 25 Dec 2011 01:27:16 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Zend Framework Boilerplate]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?id=480&amp;action=new</link>
			<description><![CDATA[<p>Hi jon,</p><p>I was wondering if you heard about zf-boilerplate ( http://zf-boilerplate.com ) it&#039;s a new project that&#039;s getting popular fairly quick, basically it&#039;s ZF with a bunch of components already pre configured (like Doctrine 2, VMs, etc)</p><p>Just wanted to bring to your attention since it&#039;d nice to have a screencast about it.</p><p>Merry xmas!</p>]]></description>
			<author><![CDATA[dummy@example.com (vengiss)]]></author>
			<pubDate>Sun, 25 Dec 2011 01:27:16 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?id=480&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Zend_Framework and Apache mod_userdir]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?id=479&amp;action=new</link>
			<description><![CDATA[<p>Ok, finally solved this myself. My solution required three steps.</p><p>1. Use the Zend Framework&#039;s application.ini to change the base URL<br /></p><div class="codebox"><pre><code>[development : production]
# Debug output
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1

# Front Controller
resources.frontController.params.displayExceptions = 1
resources.frontController.baseUrl = &quot;/~user/project&quot;</code></pre></div><p>2. Create a .htaccess for the top level of your project (e.g., devserver/~user/project/). It includes a RewriteRule and RewriteBase to automagically push all requests to the public/ directory so Zend Framework can work its magic.<br /></p><div class="codebox"><pre><code>SetEnv APPLICATION_ENV &quot;development&quot;
&lt;IfModule mod_rewrite.c&gt;
    RewriteEngine On
    RewriteBase /~user/project
    RewriteRule ^(.*)$ public/$0 [L]
&lt;/IfModule&gt;</code></pre></div><p>3. Modify the default Zend Framework .htaccess file in the public/ directory of your Zend Framework project (e.g. devserver/~user/project/public/). You&#039;re adding a RewriteBase to this as well. This helps keep any links in the project from trying to drop down to the main project path (e.g. devserver/~user/project/).<br /></p><div class="codebox"><pre><code>SetEnv APPLICATION_ENV &quot;development&quot;
RewriteEngine On
RewriteBase /~user/project
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (stevec)]]></author>
			<pubDate>Wed, 16 Nov 2011 22:18:15 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?id=479&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[ZC24 -  Zend_Navigation – creating a menu, a sitemap and breadcrumb]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?id=58&amp;action=new</link>
			<description><![CDATA[<p>hi guys, <br />i have a little problem and i need some help <img src="http://www.zendcasts.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" />.<br />so first of all here is my navigation.xml, bootstrap and the way i visualise the breadcrumbs in my layout<br />http://pastebin.com/LNyBYYD5<br />and now the problem. when i am in the /controller/action i see the breadcrumbs, when i paginate articles /controller/action/page/1,2,3 i still see them, but when i click on article, my url goes /controller/action/page/1/articleId(this is int), the article loads but the breadcrumbs are gone. any idea what maybe wrong ? (and i dont want the title of the article to be in the breadcrumbs or something like that. i just want my breadcrumbs to be controller &gt; action )<br />thanks</p>]]></description>
			<author><![CDATA[dummy@example.com (SocialEvil)]]></author>
			<pubDate>Thu, 27 Oct 2011 11:04:09 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?id=58&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Quick Peek Zend Framework 2]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?id=477&amp;action=new</link>
			<description><![CDATA[<p>This would be great indeed</p>]]></description>
			<author><![CDATA[dummy@example.com (vengiss)]]></author>
			<pubDate>Sat, 15 Oct 2011 05:39:37 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?id=477&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Expanding Zend Form Element File]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?id=478&amp;action=new</link>
			<description><![CDATA[<p>I have found a serious limitation in the above class and i want to extend it to add new useful (i would say basic) features.<br />At moment, the File element simply shows the standard file upload box. Nothing more.</p><p>The problem is: what happens if a users uploads a file? Absolutely nothing.</p><p>The user will never know if a file was uploaded for that record nor he will be able to delete the file if he no longer wants it.</p><p>So i tried creating a custom form element, extending Zend Form Element File and redefining the formFile view helper... but, for unknown reasons, $helper variable is never used and formFile view helper is always called.</p><p>It looks like that the Zend Form Decorator File is messing up things and calling formFile view helper directly but that code is beyond my understanding.</p><p>Has anyone ever managed to solve this problem?</p><p>Thanks for your help.</p>]]></description>
			<author><![CDATA[dummy@example.com (Miles8of9)]]></author>
			<pubDate>Tue, 11 Oct 2011 13:39:26 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?id=478&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Zend Paginator & Doctrine Records]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?id=476&amp;action=new</link>
			<description><![CDATA[<p>Here is a snittet to use with Zend Paginator &amp; Doctrine Records (Models)</p><div class="quotebox"><cite>App_Paginator_Adapter_Doctrine wrote:</cite><blockquote><div><p>&lt;?php</p><p>class App_Paginator_Adapter_Doctrine<br />&#160; &#160; implements Zend_Paginator_Adapter_Interface<br />{<br />&#160; &#160; protected $_select;<br />&#160; &#160; <br />&#160; &#160; public function __construct( Doctrine_Query $select )<br />&#160; &#160; {<br />&#160; &#160; &#160; &#160; $this-&gt;_select = $select;<br />&#160; &#160; }<br />&#160; &#160; <br />&#160; &#160; public function getItems($offset, $itemCountPerPage)<br />&#160; &#160; {<br />&#160; &#160; &#160; &#160; return $this-&gt;_select-&gt;offset($offset)-&gt;limit($itemCountPerPage)-&gt;execute();<br />&#160; &#160; }<br />&#160; &#160; <br />&#160; &#160; public function count()<br />&#160; &#160; {<br />&#160; &#160; &#160; &#160; return $this-&gt;_select-&gt;count();<br />&#160; &#160; }<br />}</p></div></blockquote></div><div class="quotebox"><cite>IndexController wrote:</cite><blockquote><div><p>public function indexAction()<br />&#160; &#160; {<br />&#160; &#160; &#160; &#160; /**<br />&#160; &#160; &#160; &#160; &#160;* Paginator<br />&#160; &#160; &#160; &#160; &#160;*/<br />&#160; &#160; &#160; &#160; $adapter = new App_Paginator_Adapter_Doctrine(Doctrine_Query::create()-&gt;select()-&gt;from(&#039;Model_Foo f&#039;));<br />&#160; &#160; &#160; &#160; $paginator = new Zend_Paginator( $adapter );<br />&#160; &#160; &#160; &#160; $paginator-&gt;setItemCountPerPage( 5 )<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; -&gt;setCurrentPageNumber( $this-&gt;_getParam( &#039;page&#039;, 1 ) )<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; -&gt;setPageRange( 8 );</p><br /><p>&#160; &#160; &#160; &#160; $this-&gt;view-&gt;paginator = $paginator;<br />&#160; &#160; }</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (Jarsäter)]]></author>
			<pubDate>Fri, 23 Sep 2011 11:26:22 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?id=476&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Tree structure from db]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?id=475&amp;action=new</link>
			<description><![CDATA[<p>Looking for a class/plugin or a good tutorial how to make a proper Tree structure with db.<br />I mean id and parentId structure that working well with Zend.</p>]]></description>
			<author><![CDATA[dummy@example.com (Skatan)]]></author>
			<pubDate>Tue, 13 Sep 2011 19:45:02 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?id=475&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[http://www.zendcasts.com/creating-custom-zend_controller-routes-2/2009]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?id=474&amp;action=new</link>
			<description><![CDATA[<p>normaly you shouln&#039;t have to build personnal routes, default behaviour is enough for almost everything. <br />i&#039;went used to extend the dispatcher rather than creating custom routes and try different &quot;routes&quot; as dispatchable or not, it&#039;s really easy.<br />Creating, declaring many personnal routes is, for my point of view, something crazy, due to the flexibility of the mvc model provided with the Zend Framework.</p><p>i&#039;m maybe missing the point, but i still can&#039;t understand the real interrest in building personnal routes....</p>]]></description>
			<author><![CDATA[dummy@example.com (anton)]]></author>
			<pubDate>Wed, 07 Sep 2011 17:44:10 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?id=474&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[ZC25 - Unit Testing with the Zend Framework with Zend_Test and PHPUnit]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?id=41&amp;action=new</link>
			<description><![CDATA[<p>Hi Jon,</p><p>I&#039;m new at unit test so please be patient.<br />I realized that the testdox.html is auto generated but in the tutorial code there is also a lot of files in log/report (not auto generated) so I&#039;m wondering how that stuff works and how to set it up and above all where it comes from ? <img src="http://www.zendcasts.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>btw thanks for tutorializing <img src="http://www.zendcasts.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (whisher)]]></author>
			<pubDate>Sun, 14 Aug 2011 12:35:50 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?id=41&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[zend + jqGrid]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?id=145&amp;action=new</link>
			<description><![CDATA[<p>yes I agree! we need this</p>]]></description>
			<author><![CDATA[dummy@example.com (emiliodeg)]]></author>
			<pubDate>Fri, 05 Aug 2011 04:20:51 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?id=145&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[ZF with Doctrine2 + ODM]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?id=455&amp;action=new</link>
			<description><![CDATA[<p>Hi Zorkin,</p><p>this is something I&#039;m definitely considering doing. Thanks for the suggestion!</p>]]></description>
			<author><![CDATA[dummy@example.com (Jon Lebensold)]]></author>
			<pubDate>Mon, 01 Aug 2011 05:19:47 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?id=455&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[How can I do this?]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?id=456&amp;action=new</link>
			<description><![CDATA[<p>I need two similar routes like the following</p><p>;default/blog/catslug/postslug<br />routes.blogCatPost.type = &quot;Zend_Controller_Router_Route_Regex&quot;<br />routes.blogCatPost.route = &quot;blog/([a-zA-Z0-9]+)/([a-zA-Z0-9]+)&quot;<br />routes.blogCatPost.defaults.module = default<br />routes.blogCatPost.defaults.controller = blog<br />routes.blogCatPost.defaults.action = post<br />routes.blogCatPost.map.catslug = 1<br />routes.blogCatPost.map.postslug = 2</p><br /><p>;default/blog/page/2<br />routes.blogPage.type = &quot;Zend_Controller_Router_Route_Regex&quot;<br />routes.blogPage.route = &quot;blog/page/(\d+)&quot;<br />routes.blogPage.defaults.module = default<br />routes.blogPage.defaults.controller = blog<br />routes.blogPage.defaults.action = index<br />routes.blogPage.map.page = 1<br />routes.blogPage.defaults.page = 1</p><br /><p>And Finally For this URL --&#160; <a href="http://tok.local/blog/page/2">http://tok.local/blog/page/2</a><br />Request Parameters:<br />array (<br />&#160; &#039;catslug&#039; =&gt; &#039;page&#039;,<br />&#160; &#039;postslug&#039; =&gt; &#039;2&#039;,<br />&#160; &#039;module&#039; =&gt; &#039;default&#039;,<br />&#160; &#039;controller&#039; =&gt; &#039;blog&#039;,<br />&#160; &#039;action&#039; =&gt; &#039;post&#039;,<br />)</p><p>It&#039;s not working. I can&#039;t notice whats wrong in it. How to solve this? Please someone help me out ...</p>]]></description>
			<author><![CDATA[dummy@example.com (samik)]]></author>
			<pubDate>Sun, 31 Jul 2011 20:02:48 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?id=456&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[ZC51 – Encapsulating Business Rules with Zend_Validate]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?id=167&amp;action=new</link>
			<description><![CDATA[<p>Hi ryy705, you could use a foreach, create an array and then loop through those lines with the given keys... (e.g. array(&#039;Direct Number&#039; =&gt; &#039;directphone&#039;, etc...) )</p>]]></description>
			<author><![CDATA[dummy@example.com (Jon Lebensold)]]></author>
			<pubDate>Sun, 31 Jul 2011 14:54:43 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?id=167&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Run Zend Framework MVC without virtual host]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?id=453&amp;action=new</link>
			<description><![CDATA[<p>Read this post from Rob Allen&#039;s<br /><a href="http://akrabat.com/zend-framework/zend-framework-on-a-shared-host/">http://akrabat.com/zend-framework/zend- … ared-host/</a></p>]]></description>
			<author><![CDATA[dummy@example.com (rpsimao)]]></author>
			<pubDate>Sat, 30 Jul 2011 14:35:33 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?id=453&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[important]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?id=440&amp;action=new</link>
			<description><![CDATA[<p>i want to use ajax to make copy link button which copy url and u can paste it in any browser i need to use ajax request send from client to server and server response with url append id to it anyone can help me ?</p>]]></description>
			<author><![CDATA[dummy@example.com (mahmoud taha)]]></author>
			<pubDate>Sat, 23 Jul 2011 11:27:24 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?id=440&amp;action=new</guid>
		</item>
	</channel>
</rss>

