Upgrade to Pro — share decks privately, control downloads, hide ads and more …

JavaScript+DDD実践編?

KAZUMA Ukyo
December 05, 2013
35k

 JavaScript+DDD実践編?

KAZUMA Ukyo

December 05, 2013
Tweet

Transcript

  1. User interface Application Domain Infrastructure UserView UserViewModel / Controller UserRepository

    $.ajax API Ϣʔβʔද͍ࣔͨ͠Ͱ͢ "1*͔Β͍ͩ͘͞ event observing aυʔκ User
  2. User interface Application Domain Infrastructure UserRegisterView UserViewModel / Controller $.ajax

    API ͜͏͍͏৘ใೖྗ͞Ε·ͨ͠ ৘ใΛݩʹ6TFS࡞Γ·͢ event observing User UserRepository "1*ʹ౤͛ͯ ొ࿥͍ͯͩ͘͠͞ User
  3. User interface Application Domain Infrastructure UserUpdateView UserViewModel / Controller $.ajax

    API χοΫωʔϜมΘͬͨ ର৅ͷϢʔβʔ͍ͩ͘͞ event observing User UserRepository User.updateNickname User ม͑ͨͷͰอଘ͍ͯͩ͘͠͞
  4. User interface Application Domain Infrastructure UserListView UserListViewModel / Controller UserRepository

    $.ajax API )PHFΛ·ͣݸද͍ࣔͨ͠Ͱ͢ "1*͔Β ݸ͍ͩ͘͞ event observing aυʔκ User User User User ࠓݸ͋Γ·͢ ݸग़·ͨ͠
  5. User interface Application Domain Infrastructure UserListView UserListViewModel / Controller UserRepository

    $.ajax API ʮଓ͖ΛಡΉʯ͠·ͨ͠ "1*Ͱ ൪໨͔Β ݸ͍ͩ͘͞ event observing aυʔκ User User User User ࠓ̎ݸ͋Γ·͢ ࠓݸ͋Γ·͢ ݸग़·ͨ͠
  6. ϊ

  7. ׬