[wp-hackers] Multiwidget Support

Nathan Rice ncrice at gmail.com
Fri Feb 6 18:49:26 GMT 2009


Andrew,
I completely agree.  I think the entire widgets code and concept needs to be
demolished and rewritten.  It seems horribly complicated and unnecessarily
difficult to use.  Also, the interface needs work as well.

+1 for starting over.

My Website
http://www.nathanrice.net/

My Twitter
http://twitter.com/nathanrice


On Fri, Feb 6, 2009 at 12:46 PM, Andrew Rickmann <mail at arickmann.co.uk>wrote:

> The current widget code seems massively over-complicated to me. If the
> class just abstracts that then is it really that much of an
> improvement?
>
> For a concept as simple as widgets it should be easy to produce some
> ground up object oriented code to simplify the whole lot.
>
> Aren't widgets due for a revamp in 2.8 anyway?
>
> Andrew
>
> 2009/2/6 Stephanie Leary <steph at sillybean.net>:
> > On Thu, 05 Feb 2009 14:19:57 -0800, Chris Williams <chris at clwill.com>
> > wrote:
> >> +1 for a clean, simple class that implements this in core.  And true
> > enough
> >> that the exception should be a single instance one, not the other way
> >> around.
> >
> > I absolutely agree.
> >
> >> Spent the last 36 hours trying like heck to get a multi-widget to work
> >> right.  It's almost like magic spell incantation, try something, hope it
> >> works, try something else :)
> >
> > Have you seen this example?
> > http://wp.gdragon.info/2008/07/06/create-multi-instances-widget/
> >
> > I based my own widget on that code. I won't say it was the easiest thing
> > I've ever written, but I had more problems with my logic than with the
> > example. ;)
> >
> >
> > Stephanie
> >
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list