jscafeのBackboneの1回目。Parse(クラウドサービス)を使って、簡単なtodoアプリを作って、BackboneのMV*がどんな物か?見て行くという内容。Read less
2. 目次 ● MV*の振り返り ● localstorage ● Model ○ extend ○ メソッド ○ 初期化/初期値 ○ 属性操作 ○ CRUD ○ id/cid/id attribute ○ validate ○ event ● Collection ○ modelとの関連 ○ ソート ○ 基本操作 ○ underscoreから委譲されたメソッド ○ chain ○ CRUD ○ event 3. BackboneのMV* BackboneのMV* (公式page+補足) ● Model ○ ビジネスロジックに必要なデータの集まり ○ rails等のmodelと同じイメージ。 ● Collection ○ クライアント側のモデルのグループ。 ○ ソートやフィルターや集計ロジックを書く。 ● Router ○ URLと関数を繋ぐ ○ railsのroutes.rb + con
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く