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

止まっちゃいけないフロントエンド開発

 止まっちゃいけないフロントエンド開発

DevLOVE甲子園2014 東日本大会 技トラック 5回表

stormcat24

August 23, 2014
Tweet

More Decks by stormcat24

Other Decks in Programming

Transcript

  1. <body> <ul> <li>map.propSimple = ${map.propSimple}</li> <#list map.propList as value> <li>map.propList[${value_index}]

    = ${value}</li> </#list> <li>map.propMap.childSimple = ${map.propMap.childSimple}</li> <#list map.propMap.childList as value> <li>map.propMap.childList[${value_index}] = ${value}</li> </#list> </ul> </body>
  2. map: propSimple: propSimpleValue propList: - 11111 - 22222 - 33333

    propMap: childSimple: childSimpleValue childList: - child11111 - child22222 - child33333 :".-ͰσʔλΛͭ͘Δ͚ͩ ίϝϯτॻ͚ΔͷͰ:".-ਪ঑ +40/Ͱ΋Մ
  3. <body> <ul> <li>target.prop1 = ${target.prop1}</li> <li>target.exeucte1() = ${target.execute1()}</li> <#assign execute2Result

    = target.execute2() > <li>target.exeucte2().id = ${execute2Result.id}</li> <li>target.exeucte2().name = ${execute2Result.name}</li> </ul> </body> .FUIPE$BMM
  4. target: prop1: prop1Value __methods: - name: execute1 value: execute1Value -

    name: execute2 value: id: 100 name: foobar ϝιου΋ఆٛͰ͖Δ Ҿ਺ͷ਺͸໰Θͳ͍ ωετ0,
  5. _writer.write(‘<div class=“hoge” ‘) for (entry in _params) { _writer.write(‘${entry.key}=“‘ +

    entry.value + ‘“ ’) } _writer.write(‘</div>’) EJWHSPPWZ (SPPWZͰ5BHͷग़ྗΛίϯτϩʔϧ