News for hackers. Stuff that matters.
Re:How To Develop a jQuery Plugin by jetako on Wednesday July 22, 2009 @04:55PM (#718539)
Nice tut for simple plugins. For plugins that keep lots of state per element and allow subsequent modification thereof, I would suggest building with the jQuery UI widget framework. Among its conveniences are method calls via $(element).customWidget('methodName') I was pleasantly surprised to find the core to be completely independent of the template system, meaning there's no custom css mixed in there, and no explicit/hacky support for any of the jQuery UI widgets.

There are no comments on this comment yet.