On Tue, 2003-03-04 at 09:41, Aaron Held wrote:
> I went to a Java Struts talk a awhille ago and started thinking about
> Struts for WEbware.
> The remote config file of Strutts is way too complicated, but there is
> a good idea in there, a seperation of code and flow.  In the code we
> should say self.forward(loginpage) and tin the config file have a
> vline - 'loginpage': MyCustomLogin

Yes, this is what Tomcat described as well.  Another option would be for
some sort of search path, so that you could put your own Login page into
the right location, and it would override the built-in login page. 
Though my concern with that is that you would want to inherit from
Webware's Login, but also from your own classes.

Having a search path like that pretty much underlies Zope's
Acquisition.  Maybe I can appreciate acquisition more now, but I still
also find it very difficult, so I'm not sure where I stand.

> You just need to map each action to a class rather then a function,
> and then provide an external file that maps action names to action
> classes.

Are actions derived from servlets, or are they some other type of
class?  I suppose they wouldn't each be just a function, because then
they wouldn't be entirely orthogonal with the servlets (screens? pages?)

> four times the work, five times the files, but more portable.

Then we'll just be more clever!

  Ian




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to