[Html-widget] Offer of help / question about H::W status
fireartist at gmail.com
Fri Aug 4 12:56:18 CEST 2006
On 01/08/06, Michael Gray <mjg17 at eng.cam.ac.uk> wrote:
> On Tue, 1 Aug 2006, Ash Berlin wrote:
> > First lets make sure I understand what you're saying properly. Basically
> > you are suggesting the following:
> > * HTML::Widget - similar to it is now, but instead of containing
> > elements/embedded widgets, only contains containers (or block level
> > elements - BLEs)
> > * Fieldset/Container/BLE - this would contain other BLEs or the
> > elements themselves, along with associated constraints.
> > So in a lisp like arrangement:
> > H::W( BLE( e, e, BLE( e, e, e)), BLE(e, e))
> Yes, that's right.
> > If so yes, that makes sense - in fact I almost ended up doing something
> > akin to that before, but I found out I didn't need to.
> > I think the one caveat is to make sure the old behaviour is maintained.
> > This would basically entail putting all of the functionality you
> > describe in the BLE class which isa HTML::Widget::Element.
> Yup, pretty much, perhaps with one or two new convenience methods in
> H::W. Processing in H::W would need to be refactored, but in a
> backwards-compatible way.
This sounds good and well thought-out.
Just to echo Ash - if you send a patch for this, we'll apply it asap.
More information about the Html-widget