开发者

Is the jQuery plugin authoring tutorial obsolete?

开发者 https://www.devze.com 2023-03-27 12:54 出处:网络
Is the jQuery plugin authoring tutorial located here obsolete?I mean, I am sure it still works, but are there better, mor开发者_高级运维e recent standards accepted to author plugins?What about creatin

Is the jQuery plugin authoring tutorial located here obsolete? I mean, I am sure it still works, but are there better, mor开发者_高级运维e recent standards accepted to author plugins? What about creating Stateful jQuery plugins using jQuery UI’s widget factory ?


It looks up-to-date to me, including talking about the data function which is fairly recent. One of the great things about jQuery's plug-in mechanism is how bare-bones it is. Barriers to entry are virtually nil, making dashing off and sharing a quick plug-in trivially easy.

The widget factory article you refer to describes one framework for making more complex plug-ins, but it doesn't invalidate or outdate the main article, and it's just one approach to doing it (and not necessarily the best one, but let's not get off-topic).


I think there are many tutorials how-to-create jQuery plugins, and I think they would update it when needed

0

精彩评论

暂无评论...
验证码 换一张
取 消