On Thu, 2004-02-26 at 12:04, Ian Bicking wrote: > Geoffrey Talvola wrote: > > I think I agree with you, Jason -- Webware should provide an easy > hook to > > swap in a subclass for a key class like Session and it shouldn't > feel like a > > hack. The Mixin stuff feels like too much of a hack, and adding a > bunch of > > hooks at specific places in the code just adds clutter. > > > > Perhaps a setting in Application.Config could specify classes to > use in > > place of the standard classes: > > > > 'CustomClasses': > > { > > 'Session': 'MyPackage.MyModule:MySession' , > > 'Request': 'MyPackage.MyModule:MyRequest' > > } > > I think this allows customizability, but not extensibility. It's > customizable because you can alter the appserver without modifying > the > main source. But it's not extensible, because it can only be done > once > per installation for each main class.
Good point Ian. I think this is an important distinction to make. We've talked before about wanting to make it possible to use pre-fabricated components in Webware which weren't necessarily written to be aware of each other, enabling Webware developers to factor general functionality out of their apps and share them with each other. Obviously we need extensibility as you describe above if we expect multiple components to play together nicely. I've been thinking more about the idea of using signals/events as a metaphor for this, as you suggested. This idea certainly appears to have been a breakthrough in the gui toolkit world (specifically GTK). I looked at your Component/CPage stuff a while back (in the sandbox). Have you been using that model for much Webware development? Have you been happy with it? I'm going to take a look at http://pydispatcher.sourceforge.net/ and see how it might fit in (thanks for the link, Max!). peace, Jason ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss