<span class="Apple-style-span" style="font-family: Times; font-size: medium; "><b>Zenaan Harkness</b> wrote on <i>Tue Oct 20 19:42:14 PDT 2009:</i></span><div><font class="Apple-style-span" face="Times"><span class="Apple-style-span" style="font-size: medium;"><i><span class="Apple-style-span" style="font-style: normal; "><pre>
&gt; For the cleanest view &#39;code&#39; (ST templates), data is &#39;cleaned up&#39;
&gt; not in the view, but in the model.
&gt;
&gt; MVC recursion says that to the extent this &#39;data cleaning&#39; is a view
&gt; specific thing unrelated to the system&#39;s data-model, that a view-model
&gt; is created for just this purpose (distinct from the data-model (which
&gt; business logic uses/ requires) and from view-view (ie ST)).
</pre><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;">Ack.</span></font></div><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;"><br>
</span></font></div><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;">If I understand you properly, the recursive nature of MVC allows for each MVC component</span></font></div>
<div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;">to be subdivided into MVC as well?  So for example, the View can also be broken down</span></font></div><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;">into three MVC subcomponents, V-Model + V-View + V-Controller.</span></font></div>
<div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;"><br></span></font></div><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;">In ST&#39;s case, the V-View could be the functional language ST (very functional, very pure),</span></font></div>
<div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;">leaving room for a V-Model and V-Controller as helpers to the V-View.</span></font></div><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;">For instance, a V-Model could clean and convert data from input for the ST V-View,</span></font></div>
<div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;">and perhaps a V-Controller could handle trivia data tweaking, tagging, and tracking.</span></font></div><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;"><br>
</span></font></div><div><span class="Apple-style-span" style="font-family: monospace; white-space: pre; ">Cool.</span></div><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;"><br>
</span></font></div></span></i></span></font></div>