Re: Custom frameworks with references to Application and Session
Re: Custom frameworks with references to Application and Session
- Subject: Re: Custom frameworks with references to Application and Session
- From: Art Isbell <email@hidden>
- Date: Fri, 24 Sep 2004 09:11:08 -1000
On Sep 23, 2004, at 6:59 PM, Marek Wawrzyczny wrote:
The scenario is, I have several (different) applications that use the
same controller class base (and other helper classes). Obviously I
want to move these classes into a framework I can share. Some of these
classes refer to custom Application or Session methods.
I have already defined Application and Session interface classes (that
define these methods),
What has worked well for me is to define WOApplication and WOSession
subclasses (something other than "Application" and "Session") in my
framework. In these classes I implement all methods that are
referenced in the framework. Then my Application and Session classes
derive from these framework WOApplication and WOSession subclasses.
Aloha,
Art
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden