2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Backbone.jsメモ

Last updated at Posted at 2013-05-26

App全体を制御するEventsを継承したやつで、複数のViewを制御する

【後編】Backbone.jsでつくるMVPなUIパターン【スクロールスパイ】 | Developers.IO

I am mitsuruog: Backbone.jsともっと仲良くなるためのヒント

Viewはコンポーネント単位でつくる

フロントエンドJavaScriptにおける設計とテスト

ユーザの操作 → Collection、Modelの変更 → Viewのレンダリング の順番

I am mitsuruog: Backbone.jsともっと仲良くなるためのヒント

Viewが管理するCollectionやModelのイベントハンドリングにはlistenTo()をつかう

I am mitsuruog: Backbone.jsともっと仲良くなるためのヒント

on(), off()

model/collectionからviewに対して呼び出す

listenTo(), stopListening()

viewからmodel/collectionに対して呼び出す

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?