>>596> yes, see, this is what i meant about terminology. i've never used rails or any other web framework thing. i have no idea what a "view" is or what a "template" is in this context. so i look at that site and it gets me nowhere.So this comes from MVC frameworks, Modal, View, Controller.
The Modal is the translation layer to your datastore(like a database), it stores references to any long term stored vars for a controller.
The View is what renders the site the user views through templates.
The Controller ties the View and Modal together, it will normally handle the backend code.
Templates are basic html files that the views pass variables into and get rendered.
So in a simple blog, you would goto the home page, the home page controller would query the modals and get a list of blog entries, the controller would then feed the entries to the view, the view would reference a template and would render for the user.
Inside the template (pesudo code inc) you would do something like this:
{% foreach entry in posts %}
<li>
<h2>
<a href="{%- entry.url -%}">{%- entry.title -%}</a>
</h2>
<p>{% entry.shortpost %}</p>
</li>
{% end %}