======================================================================
|| _, ||
|| /| / ||
|| / /[fetch] ||
|| [save]/ / ||
|| / / ||
|| / v_ ||
|| ------------ ------- ||
|| | TweetModel |-------->| t C | ||
|| ------------ <--- | w o | [add] ------------------- ||
|| [create]\ | e l |<------------| tweet create view | ||
|| ------------ ----| e l | ------------------- ||
|| | TweetModel |-------->| t e | ||
|| ------------ | s c | ||
|| | t |---- ||
|| ------------ | i | | ||
|| | TweetModel |-------->| o | | ||
|| ------------ | n | | ||
|| ^ ------- | ||
|| | | ||
|| |[edit] |[add event] ||
|| | | ||
|| | [create] | ||
|| ----------- <--------- -------- | ||
|| | tweetView |--------->| | | ||
|| ----------- [append] | tweets |<-- ||
|| | View | ||
|| | |<----------------------------------------
|| -------- || |
|| || |
|| || |
============================[Backbone MVC]============================ |
|
---------------------------- -------------------
| | |
| ---------------------------------------
============= | Router |
|| || ---------------------------------------
|| || | |
|| || | |
============= | =================
| || ||
--->|| ||
|| ||
=================
Last active
December 11, 2015 09:28
-
-
Save ympbyc/4579611 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment