Building Large jQuery Applications
jQueryとそのプラグインで大規模なJSアプリを作る際のポイントがとてもよくまとまっていたので、まとめておきました。同じようなことをやっている人は多いと思うのですが、jQueryの機能とpluginを上手く使っているなぁと思うので。
http://www.slideshare.net/rmurphey/building-large-jquery-applications
http://github.com/rmurphey/large-jquery-apps
これくらいの感じのものを作るのであれば、JS用のフレームワークを作っておいてもいいかもしれないですね。
基本構成
- クラス
- dependency management
- jQuery RequireJS plugin (RequireJS)
- custom eventのPub/Sub
- jQuery Pub/Sub plugin
- テンプレートエンジン
- mustache.js