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

AngularJS (1.x) いまさら触ってみた

AngularJS (1.x) いまさら触ってみた

Symfony Meetup #4 LT 資料
https://symfony.doorkeeper.jp/events/26456

Takashi Kanemoto

June 20, 2015
Tweet

More Decks by Takashi Kanemoto

Other Decks in Programming

Transcript

  1. Ϗϡʔ෦඼ͷ࠶ར༻ • ϏϡʔͷҰ෦ΛʮσΟϨΫςΟϒʯͱͯ͠෦඼Խ • ෳ਺ͷϏϡʔ͔ΒσΟϨΫςΟϒΛ࠶ར༻ • ng-click, ng-show, ng-hide, ng-model

    ౳΋
 AngularJS૊ΈࠐΈͷσΟϨΫςΟϒ • ཁૉΛؙ͝ͱ෦඼Խͨ͠ΓɺཁૉͷػೳΛ֦ு ͢ΔͨΊͷଐੑ͚ͩΛ෦඼Խͨ͠Γ৭ʑͰ͖Δ
  2. είʔϓͷόΠϯσΟϯά • ‘=‘ ͱ ‘@’ ͱ ‘&’ ͷ3छྨ͕͋Δ • ‘=‘

    ͸૒ํ޲όΠϯσΟϯά • ར༻ଆͱϞσϧΛڞ༗ • σΟϨΫςΟϒͰϞσϧΛॻ͖׵͑ͨΒར༻ଆͰ΋มΘΔ • ‘@‘ ͸ར༻ଆ͔Β੩తͳ஋Λͨͩ΋Β͏͚ͩ • ར༻ଆͰ͸ directive=“{{ model }}” Έ͍ͨʹධՁޙͷ஋Λ౉͢ • ‘&’ ͸࠷ॳ͸͋·Γ࢖Θͳ͍ͷͰͦͷ͏ͪάά͍ͬͯͩ͘͞
  3. ग़ల: My Experience With AngularJS - The Super-heroic JavaScript MVW

    Framework http://www.bennadel.com/blog/2439-my-experience-with-angularjs-the-super-heroic-javascript-mvw-framework.htm ֶशίετ͸༻్࣍ୈ