<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Mensaje</TITLE>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Verdana size=2><SPAN class=423225016-27082004>Hi
all,</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=423225016-27082004></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=423225016-27082004>
do you ever think about making an MVP framework on top of
seaside?</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=423225016-27082004></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=423225016-27082004>
I mean, there is a presenter, obviously there are model (your objects), the only
thing is missing here is something that decouples the view from the
application-model.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=423225016-27082004></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=423225016-27082004>
Actually, if you subclassify a WAComponent, with your own, components
(presenters) the application model is coupled with the view (rendering
directives). So you have to 'draw a lot' to make your application go where you
want to go.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=423225016-27082004></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=423225016-27082004>
I make the propose that a WebView separated hierarchy, could be analogous
to the View hierarchy on an ordinary ST. For instance: WebTextInputView,
WebTextAreaView, WebDateView, WebListView, WebBatchSelecionView, etc,
etc.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=423225016-27082004></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=423225016-27082004>
In the other hand, we can have a WebPresenter hierarchy, with WebDatePresenter,
WebTextPresenter, WebListPresenter, WebButton, WebShell, and so on.
</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=423225016-27082004></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=423225016-27082004>
Note: Perhaps the batch selector, instead of being a view, could be a presenter,
implemented using WebListView and buttons to control the batch in the own
WebBatchPresenter (application-model).</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=423225016-27082004></SPAN></FONT><FONT face=Verdana size=2><SPAN
class=423225016-27082004></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=423225016-27082004> In that way, a set of
WebPresenters could have the rememberance of the views created for each
presenter. Ideally, you can make a subclass of WebShell, call it
MyApplicationMainWebShell, create a beautiful set of web view components
for it with some web view composer, lovely dedicated to web expert graphic
designers.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=423225016-27082004></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=423225016-27082004> Then, developers can use those
saved views, and choose one to tie each 'web view component' the main
shell has, to the corresponding subpresenter it has. At that time
events can be hooked if necessary and models can be fexibly asigned to
subpresenters.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN class=423225016-27082004>
</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN class=423225016-27082004>
As I see is very posible, and convenient.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=423225016-27082004></SPAN></FONT><FONT face=Verdana size=2><SPAN
class=423225016-27082004></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=423225016-27082004>
waht about this? anyone could see I'm wrong?</SPAN></FONT><FONT face=Verdana
size=2><SPAN class=423225016-27082004> </SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=423225016-27082004></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=423225016-27082004>
regards,</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=423225016-27082004></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Verdana size=2>Sebastián Sastre</FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana size=2><A
href="mailto:ssastre@seaswork.com.ar">ssastre@seaswork.com.ar</A></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana size=2><A
href="http://www.seaswork.com.ar/">www.seaswork.com.ar</A></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV></BODY></HTML>
<BR>
<P><FONT SIZE=2>---<BR>
Outgoing mail is certified Virus Free.<BR>
Checked by AVG anti-virus system (http://www.grisoft.com).<BR>
Version: 6.0.744 / Virus Database: 496 - Release Date: 24/08/2004<BR>
</FONT> </P>