Kevin Dangoor wrote:

> I've been coming at it from the other angle (and FastData is an
> example of this). Rather than trying to embed controllers in widgets,
> I would make a package (ie an egg) that includes the controllers
> (subclassable) and the widgets. The controllers remain in control and
> the widgets remain strictly a view-layer item.

There isn't really all that much difference between the two approaches
here.  Either way, you install an egg, and you have access to a nice
widget that can hook up to an already available controller.  Its just a
matter of where the controller lives.  Although, I like my callback
approach better than subclassing a controller... it just seems easier to
me for some reason.

I would actually like to see TurboGears have a more well-defined system
for this kind of thing, although I am not sure what something like that
would look like.  Fast Data seems like an excellent place to experiment
though.

--
Jonathan LaCour
http://cleverdevil.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to