I think that's kinda' the whole point of the MVC architecture - your
data and the methods to access it are the Model. The template pages are
the View, and Turbine is the Controller. The way Turbine is built is
(IMO) the most elegant and COMPLETE way to implement Model 2 (or, thanks
Jon, Model 2+1) AND separate the presentation (the templates) from the
code necessary to generate them (the Model). The template engines (no
bias to either one, really) offer the simplest way to allow your web
designers to design web pages, and your programmers to write code. With
other methods, including CGI, ASP, and JSP (used incorrectly - or even
the way every book shows you), your web designers have to write code, or
your coders have to write web.
Yeah, it's quicker to prototype in something else, but not when you have
to separate the GUI from the underpinnings.
Just my $0.02US.
Oh, but the answer to both of your questions - yes.
Will Stranathan
Leandro Rodrigo Saad Cruz wrote:
> Hi all, I'm new to Turbine and I think I'm missing something about the
> framework design...
> Are we suposed to choose between a WebMacro Site or a Velocity Site ??
> then, to make our "pages" we have to extend WebMacroSiteScreen for
> example... isn't it bad ??
>
> I'm not sure and I'd like help from you now...
> every request to our webapplication is routed trough a servlet named
> Turbine..and we must supply other information (path information and
> actions ) to really build different parts of our application ??
>
>
> If not.. I didn't understand anything............. :(
>
> Thanx , leandro - sp - brazil
>
>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]