[wp-hackers] Include popular libs with a function

Mike Purvis mike at uwmike.com
Sat Aug 19 13:35:12 GMT 2006

I'd push for including Behaviour. It's so incredibly clean for hooking
on unintrusive event handlers. I'd like to see more the JS-heavy
"Ajax" themes using proper onload stuff rather than just dumping
inline handlers everywhere.

I mean, we can't force anyone to do anything; the best we can do is
just include it and then recommend its use. But having it included
would be a big step toward making the whole process easier.


On 8/19/06, Sean Hickey <seanhickey at gmail.com> wrote:
> > Yea, but the problem is that it adds more files that aren't needed.
> I don't see how that's an issue.  Certainly you're not worried about
> file size when it comes to downloading WP?  Also I'd like to redefine
> what "needed" means.  Just because WP doesn't need it, doesn't mean
> plugin developers from all over won't use it.
> > It's a good idea, but when you add a lot of 3rd party JS libraries, keeping
> > them up to date may become a pain, more importantly if a XSS exploit or so
> > on is discovered and a fix is released, but takes a while to get into the WP
> > core's version.
> I suspected that would be the #1 argument against the idea. :)  But
> I'm not talking about every 3rd party lib on the web.  Just the "top"
> ones.  JS libs like Scritaculous and Dojo are very solid, and have
> strong communities behind them.  Besides, with Prototype,
> Scriptaculous, and Dojo, you really don't need anything else.  Those
> libs cover pretty much every base.
> The same holds true for popular PHP libs like Domit!, and PHP.XPath.
> Both of those libs are already being used in popular CMSs like Mambo.
> The whole idea is about efficiency, and making WP a more attractive
> development platform.
> - Sean
> --
> http://www.headzoo.com
> _______________________________________________
> 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