<?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: Two step view process</title>
	<atom:link href="http://naneau.nl/2007/06/08/two-step-view-process/feed/" rel="self" type="application/rss+xml" />
	<link>http://naneau.nl/2007/06/08/two-step-view-process/</link>
	<description>Go dik-dik, go!</description>
	<lastBuildDate>Fri, 03 Sep 2010 14:00:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Best college majors.</title>
		<link>http://naneau.nl/2007/06/08/two-step-view-process/comment-page-1/#comment-86231</link>
		<dc:creator>Best college majors.</dc:creator>
		<pubDate>Fri, 14 Aug 2009 10:30:25 +0000</pubDate>
		<guid isPermaLink="false">http://naneau.nl/2007/06/08/two-step-view-process/#comment-86231</guid>
		<description>&lt;strong&gt;College majors....&lt;/strong&gt;

List of college majors. List of college majors in medical field. Descriptions of college majors. College majors and careers. Best college for communication majors....</description>
		<content:encoded><![CDATA[<p><strong>College majors&#8230;.</strong></p>
<p>List of college majors. List of college majors in medical field. Descriptions of college majors. College majors and careers. Best college for communication majors&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Urwin</title>
		<link>http://naneau.nl/2007/06/08/two-step-view-process/comment-page-1/#comment-7187</link>
		<dc:creator>Richard Urwin</dc:creator>
		<pubDate>Mon, 17 Dec 2007 10:08:03 +0000</pubDate>
		<guid isPermaLink="false">http://naneau.nl/2007/06/08/two-step-view-process/#comment-7187</guid>
		<description>Hi,

Now that Zend have released an update to Zend_Layout to allow implementation of the two-step view, can you tell me how to get it working with Smarty? I&#039;m new to Zend and Smarty so have used your integration technique (works really well - thanks!) but now want to implement the two-step layout using the new Zend method.

Can you help?!

cheers,
rich</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Now that Zend have released an update to Zend_Layout to allow implementation of the two-step view, can you tell me how to get it working with Smarty? I&#8217;m new to Zend and Smarty so have used your integration technique (works really well &#8211; thanks!) but now want to implement the two-step layout using the new Zend method.</p>
<p>Can you help?!</p>
<p>cheers,<br />
rich</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naneau</title>
		<link>http://naneau.nl/2007/06/08/two-step-view-process/comment-page-1/#comment-701</link>
		<dc:creator>Naneau</dc:creator>
		<pubDate>Mon, 25 Jun 2007 15:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://naneau.nl/2007/06/08/two-step-view-process/#comment-701</guid>
		<description>There are some implementations. There&#039;s Ralph Schindler&#039;s Zend_Layout ( http://svn.ralphschindler.com/repo/Xend/ ) and there&#039;s a proposal by Pádraic Brady which is outlined in the wiki ( http://framework.zend.com/wiki/pages/viewpage.action?pageId=33071 ).

I must admit though, that there is no &quot;final&quot; way of doing this yet, and I think there should be. Any proposals are welcome. It&#039;s good to have some options to choose from ;)</description>
		<content:encoded><![CDATA[<p>There are some implementations. There&#8217;s Ralph Schindler&#8217;s Zend_Layout ( <a href="http://svn.ralphschindler.com/repo/Xend/" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/svn.ralphschindler.com/repo/Xend/?referer=');">http://svn.ralphschindler.com/repo/Xend/</a> ) and there&#8217;s a proposal by Pádraic Brady which is outlined in the wiki ( <a href="http://framework.zend.com/wiki/pages/viewpage.action?pageId=33071" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/framework.zend.com/wiki/pages/viewpage.action?pageId=33071&amp;referer=');">http://framework.zend.com/wiki/pages/viewpage.action?pageId=33071</a> ).</p>
<p>I must admit though, that there is no &#8220;final&#8221; way of doing this yet, and I think there should be. Any proposals are welcome. It&#8217;s good to have some options to choose from <img src='http://naneau.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amine</title>
		<link>http://naneau.nl/2007/06/08/two-step-view-process/comment-page-1/#comment-700</link>
		<dc:creator>Amine</dc:creator>
		<pubDate>Mon, 25 Jun 2007 15:26:08 +0000</pubDate>
		<guid isPermaLink="false">http://naneau.nl/2007/06/08/two-step-view-process/#comment-700</guid>
		<description>Hi Naneau,
in http://amine.olympe-network.com/?p=11, I present the specification of a tool that can help doing complex views and take into account the context when rendering. This lib may enforce the separation of the presentation and the model by offring a single point of contact to the presentation responsible.
I am starting writing the code, but I want to check if this concept already exists before to avoid writing the same thing twice.
Salutations.</description>
		<content:encoded><![CDATA[<p>Hi Naneau,<br />
in <a href="http://amine.olympe-network.com/?p=11" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/amine.olympe-network.com/?p=11&amp;referer=');">http://amine.olympe-network.com/?p=11</a>, I present the specification of a tool that can help doing complex views and take into account the context when rendering. This lib may enforce the separation of the presentation and the model by offring a single point of contact to the presentation responsible.<br />
I am starting writing the code, but I want to check if this concept already exists before to avoid writing the same thing twice.<br />
Salutations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amine</title>
		<link>http://naneau.nl/2007/06/08/two-step-view-process/comment-page-1/#comment-588</link>
		<dc:creator>Amine</dc:creator>
		<pubDate>Tue, 19 Jun 2007 11:46:05 +0000</pubDate>
		<guid isPermaLink="false">http://naneau.nl/2007/06/08/two-step-view-process/#comment-588</guid>
		<description>Hi Naneau,
/* including authentication logic into your controllers is generally not a good idea */
That&#039;s OK but this is what you suggest too ;)
/*The one that comes to my mind first to have a preDispatch() method in the “admin” controller, in that method you could check for authentication&quot; */</description>
		<content:encoded><![CDATA[<p>Hi Naneau,<br />
/* including authentication logic into your controllers is generally not a good idea */<br />
That&#8217;s OK but this is what you suggest too <img src='http://naneau.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
/*The one that comes to my mind first to have a preDispatch() method in the “admin” controller, in that method you could check for authentication&#8221; */</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naneau</title>
		<link>http://naneau.nl/2007/06/08/two-step-view-process/comment-page-1/#comment-586</link>
		<dc:creator>Naneau</dc:creator>
		<pubDate>Tue, 19 Jun 2007 10:57:05 +0000</pubDate>
		<guid isPermaLink="false">http://naneau.nl/2007/06/08/two-step-view-process/#comment-586</guid>
		<description>First of all, including authentication logic into your controllers is generally not a good idea. It&#039;s better to get that out of a controller and check for it during dispatch.

It is possible in the framework to do what you&#039;re describing. There are even several paths one might follow. The one that comes to my mind first is to have a preDispatch() method in the &quot;admin&quot; controller, in that method you could check for authentication.

You are of course allowed to criticize all you want. In fact, I would like to encourage you to find as many faults with the framework as you can! You may want to subscribe to the fw-general mailing list too. There are people on the list that may be able to answer your questions with more details than I can provide.</description>
		<content:encoded><![CDATA[<p>First of all, including authentication logic into your controllers is generally not a good idea. It&#8217;s better to get that out of a controller and check for it during dispatch.</p>
<p>It is possible in the framework to do what you&#8217;re describing. There are even several paths one might follow. The one that comes to my mind first is to have a preDispatch() method in the &#8220;admin&#8221; controller, in that method you could check for authentication.</p>
<p>You are of course allowed to criticize all you want. In fact, I would like to encourage you to find as many faults with the framework as you can! You may want to subscribe to the fw-general mailing list too. There are people on the list that may be able to answer your questions with more details than I can provide.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amine</title>
		<link>http://naneau.nl/2007/06/08/two-step-view-process/comment-page-1/#comment-585</link>
		<dc:creator>Amine</dc:creator>
		<pubDate>Tue, 19 Jun 2007 10:48:02 +0000</pubDate>
		<guid isPermaLink="false">http://naneau.nl/2007/06/08/two-step-view-process/#comment-585</guid>
		<description>Hi,
in konstrukt you have rather to use /blog/archive-2007-06-13 if you want rather then /blog/archive/2007/06/13,  until there is some thing in /blog/archive and /blog/archive/2007 and /blog/archive/2007/06 and not only a 404 error page ! The more intuitive way is to keep url naviguable and human readable and this is more better than passing arguments.

I agree that _forward, even it looks private, helps to switch between many actions. However, this is not far from the way done in konstrukt when one controller initialize other controllers. 
If the front controller is the main responsible for routing url to the suitable actions and this must happen once and in a single point, why _forward breaks this pattern in order to resolve some wake feature? why not rooting all to index controller and manage all the logic by _forward??? _forward sounds a work around solution, but it is not clean at all. 

I don&#039;t know if there is a way to do this :
Both URL mysite/admin/user/list 
and  URL  mysite/admin/setting/theme/mytheme/style/
must share common permission checks but also provide the same presentation (layout).
However, the URL mysite/member and mysite/inscription must have different layouts and share the presentation with the children &quot;node&quot;. The 3 levels url architecture (Module/Controller/Action) is not suffisent if we dont add hierarchical relation between them. The presentation should reflect this relation too. 
Could you explain me how this is possible with ZF ?

If we are not allowed to criticize a free open source project how it will be improved?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
in konstrukt you have rather to use /blog/archive-2007-06-13 if you want rather then /blog/archive/2007/06/13,  until there is some thing in /blog/archive and /blog/archive/2007 and /blog/archive/2007/06 and not only a 404 error page ! The more intuitive way is to keep url naviguable and human readable and this is more better than passing arguments.</p>
<p>I agree that _forward, even it looks private, helps to switch between many actions. However, this is not far from the way done in konstrukt when one controller initialize other controllers.<br />
If the front controller is the main responsible for routing url to the suitable actions and this must happen once and in a single point, why _forward breaks this pattern in order to resolve some wake feature? why not rooting all to index controller and manage all the logic by _forward??? _forward sounds a work around solution, but it is not clean at all. </p>
<p>I don&#8217;t know if there is a way to do this :<br />
Both URL mysite/admin/user/list<br />
and  URL  mysite/admin/setting/theme/mytheme/style/<br />
must share common permission checks but also provide the same presentation (layout).<br />
However, the URL mysite/member and mysite/inscription must have different layouts and share the presentation with the children &#8220;node&#8221;. The 3 levels url architecture (Module/Controller/Action) is not suffisent if we dont add hierarchical relation between them. The presentation should reflect this relation too.<br />
Could you explain me how this is possible with ZF ?</p>
<p>If we are not allowed to criticize a free open source project how it will be improved?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SpotSec</title>
		<link>http://naneau.nl/2007/06/08/two-step-view-process/comment-page-1/#comment-524</link>
		<dc:creator>SpotSec</dc:creator>
		<pubDate>Sat, 16 Jun 2007 07:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://naneau.nl/2007/06/08/two-step-view-process/#comment-524</guid>
		<description>@Amine, Actually on reading your first post I now understand that you underestimated the features of ZF&#039;s design. It does not limit you to one action per request.</description>
		<content:encoded><![CDATA[<p>@Amine, Actually on reading your first post I now understand that you underestimated the features of ZF&#8217;s design. It does not limit you to one action per request.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SpotSec</title>
		<link>http://naneau.nl/2007/06/08/two-step-view-process/comment-page-1/#comment-523</link>
		<dc:creator>SpotSec</dc:creator>
		<pubDate>Sat, 16 Jun 2007 06:58:45 +0000</pubDate>
		<guid isPermaLink="false">http://naneau.nl/2007/06/08/two-step-view-process/#comment-523</guid>
		<description>@Amine
The Zend_Controller is not meant to be cloned, but &quot;simulating&quot; multiple url dispatches can simply be done with the _forward() method provided by the Action controllers. While look at the design of konstrukt, it looks very wasteful, if you wanted a url scheme of /blog/archive/2007/06/13 then... This style really limits you to a certain url scheme and seems very dirty on the developer side by forwarding from node to node. When this could easily be implemented in ZF and other frameworks with the use of a custom router or route. Checking out the framework, it does not look very scalable compare to ZF and it lacks in many areas.

@Naneau
Feel free to delete this :P it was just a rant</description>
		<content:encoded><![CDATA[<p>@Amine<br />
The Zend_Controller is not meant to be cloned, but &#8220;simulating&#8221; multiple url dispatches can simply be done with the _forward() method provided by the Action controllers. While look at the design of konstrukt, it looks very wasteful, if you wanted a url scheme of /blog/archive/2007/06/13 then&#8230; This style really limits you to a certain url scheme and seems very dirty on the developer side by forwarding from node to node. When this could easily be implemented in ZF and other frameworks with the use of a custom router or route. Checking out the framework, it does not look very scalable compare to ZF and it lacks in many areas.</p>
<p>@Naneau<br />
Feel free to delete this <img src='http://naneau.nl/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  it was just a rant</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amine</title>
		<link>http://naneau.nl/2007/06/08/two-step-view-process/comment-page-1/#comment-477</link>
		<dc:creator>Amine</dc:creator>
		<pubDate>Wed, 13 Jun 2007 13:05:20 +0000</pubDate>
		<guid isPermaLink="false">http://naneau.nl/2007/06/08/two-step-view-process/#comment-477</guid>
		<description>Hi Naneau!
After a long tries I have the convinience that Zend_Controller eat huge amount of ressources so that we can not clone the front controller in order to simulate another url dispatching! I hope the guys that orchestrate the MVC implementation review all this package.
For those who want to do with this &quot;weak&quot; MVC implementation, I suggest to separarate completely the process from the controller engine. In the action functions, you can put one line of code to call your one business functions or a mega-function : business($module, $controller, $action, $params) that decouple your business from ZF. If you want to use a complexe view, just call your business function to retreive all the puzzel pieces. Reusability is an old lesson that can simplify the life :)
Because I am not convienced with ZF MVC, I am searching other frameworks with strong MVC flavour. konstrukt looks very promising because it is very light and resolves only the controller issue. 
Its logic is very clever. if you have an url such as basesite/node1/node2/../noden, you have to write all the controller node and forward from node (i) to node (i+1). All the nodes (component controllers) can be easily created from the parent node. so if you have an url such as /articles/My-Book-Review
you have to write an Articles controller and forward the $name = &quot;My-Book-Review&quot; to the Articles_Show controller. The complex rendering is also solved because you can at any level wrap the result of the child controller. konstrukt.dk for the curious who read this line ;)</description>
		<content:encoded><![CDATA[<p>Hi Naneau!<br />
After a long tries I have the convinience that Zend_Controller eat huge amount of ressources so that we can not clone the front controller in order to simulate another url dispatching! I hope the guys that orchestrate the MVC implementation review all this package.<br />
For those who want to do with this &#8220;weak&#8221; MVC implementation, I suggest to separarate completely the process from the controller engine. In the action functions, you can put one line of code to call your one business functions or a mega-function : business($module, $controller, $action, $params) that decouple your business from ZF. If you want to use a complexe view, just call your business function to retreive all the puzzel pieces. Reusability is an old lesson that can simplify the life <img src='http://naneau.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Because I am not convienced with ZF MVC, I am searching other frameworks with strong MVC flavour. konstrukt looks very promising because it is very light and resolves only the controller issue.<br />
Its logic is very clever. if you have an url such as basesite/node1/node2/../noden, you have to write all the controller node and forward from node (i) to node (i+1). All the nodes (component controllers) can be easily created from the parent node. so if you have an url such as /articles/My-Book-Review<br />
you have to write an Articles controller and forward the $name = &#8220;My-Book-Review&#8221; to the Articles_Show controller. The complex rendering is also solved because you can at any level wrap the result of the child controller. konstrukt.dk for the curious who read this line <img src='http://naneau.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
