星期三, 8月 21, 2013

[AngularJS] 整理一下學習資源



目前很熱的NG框架,記錄一下找資料蒐集的東東。

電子書


AngularJS O'REILLY 中文翻譯 (保哥)
https://github.com/doggy8088/angularjs-tw

AngularJS-Learning
https://github.com/justjavac/AngularJS-Learning-zh_CN

文章

AngularJS-學習資源匯集
https://github.com/justjavac/AngularJS-Learning-zh_CN

三十天新手教學文系列
http://ithelp.ithome.com.tw/profile/share?id=20071512&page=1

用MAN架構打造超人般的網頁應用程式http://ithelp.ithome.com.tw/ironman6/player/blackie1019/alll/1

AngularJS 社群

http://angularjs.cn/#/

範例:

AngularJS book sample
https://github.com/shyamseshadri/angularjs-book

Angular seed
https://github.com/iambigd/angular-seed

Angular + RequireJS seed
https://github.com/iambigd/angular-requirejs-seed

ng-option (directive)
https://github.com/doggy8088/TWZipCode-AngularJS

right-click (directive)
http://jsfiddle.net/bcaudan/vTZZ5/

drag and drop (directive)
https://github.com/codef0rmer/angular-dragdrop

context menu (directive)
http://plnkr.co/edit/qPL2w1?p=preview

currency format (directive)
http://jsfiddle.net/WsRcc/


星期一, 8月 05, 2013

[jQuery] 如何新增plugin的 public method

寫了很多外掛用了很多外掛,一直再找覺得看起來順利的寫作pattern,Stackoverflow也有人提到jQuery官方如何擴充公用方法的實踐方法!!

統一整理到以下這篇:D

[jQuery Plugin] 撰寫jQuery plugin的一些寫作樣式

[jQuery] 搞懂 jquery plugin 與 jquery widget

對於jquery plugin與widget字義上有不清楚可以看一下stackoverflow解釋可以有助理解xd

jQuery plugins vs widgets

You can either write a jQuery plugin or a jQuery UI widget.
Depends on what you want to do. Neither of these is outdated. If you write a widget, it will depend on jQuery UI (and jQuery of course), if you write a plugin, it will only depend on jQuery. Really, it depends on what you want to achieve.

Jquery Widget vs Jquery Plugin, Differences, When to use which?

I've never heard of a jQuery widget. I imagine some people might use the term to describe a... widget... that has been made with jQuery. Certainly there are widgets in jQuery UI, for example. It's an odd question.
A widget is a widget (always includes a visual element, sometimes includes reusable functionality), and can be a subset of a plugin or a plugin in and of itself.
A plugin extends jQuery directly and may or may not have a visual component.

其他你感興趣的文章

Related Posts with Thumbnails