奥深きAPLの世界

 奥深きAPLの世界

2019/07/26 AAJUG沖縄 登壇資料

46e8de7d6e95be6327e8c49bf3b0c028?s=128

chao2suke

July 26, 2019
Tweet

Transcript

  1. 2.

    ਗ਼໺ ߶࢙ʢͤʔͷʣ Ϋϥεϝιουגࣜձࣾ ࡳຈΦϑΟεॴଐ ׆ಈ಺༰ ίϛϡχςΟʮAlexa Salonʯओ࠵ ίϛϡχςΟʮAmazon Alexa Japan

    User GroupʯӡӦ Amazonೝఆ Alexa ΤʔδΣϯγʔ ॻ੶ʮ͸͡ΊͯͷAlexaεΩϧ։ൃʯࣥච Classmethod, Inc. AI Solution Department Alexa Technical Evangelist / VUI Architect
  2. 3.
  3. 4.

    Step #1 Step #3 Step #5 Step #2 Step #4

    APLͱ͸ APLͷ࣮૷ APLͷجૅ APL Video APLͰͰ͖Δ͜ͱ
  4. 9.

    01 07 02 03 06 05 04 APL͕ Ͱ͖Δ͜ͱ APL

    ಡΈ্͛ςΩετಉظ 01. 02. 03. 04. 05. 06. 07. ը໘αΠζ͝ͱͷग़͠෼͚ σʔλͱϨΠΞ΢τͷ ෼཭ εΫϩʔϧରԠ εϥΠυγϣʔ ಈతͳUIͷߏங λονɺεϫΠϓରԠ
  5. 14.

    APL Document ελΠϧγʔτతͳΠϝʔδ { "type": "Container", "height": "100vh", "item": [

    { "type": "Image", "width": "100vw", "height": "100vh", "opacity": 0.4, "source": "https:/ /XXX.png", "scale": "best-fill", "position": "absolute" }, { "type": "Text", "paddingTop": "50px", "text": "͖͢ͳͻͱΛ͑ΒΜͰͶ" }, { "type": "Container", "width": "100vw", "height": "65vh", .......
  6. 15.

    Image / Text Pager Touch Wrapper APL Document ελΠϧγʔτతͳΠϝʔδ Sequence

    Container Frame Ұํ޲ʹ ίϯϙʔωϯτΛ഑ ஔɻ ͦͷ·Μ·ɻ ը૾ͱจࣈɻ ڥքͱഎܠ৭ɻ ؙΛ࡞ͬͯͦͷதʹς ΩετΛ഑ஔ͢Δɺ౳ ϖʔδϯάॲཧɻ ίϯϙʔωϯτ܈ͷ ഑ྻ͕ೖΔɻ εΫϩʔϧͰදࣔɻ ॎͱԣΛબ΂Δɻ ࢦఆۣͨ͠ܗʹ λονΠϕϯτΛ ΋ͨͤΔ
  7. 20.
  8. 33.

    RenderDocument document: “cafe.json”, datasources: { cafedata: { properties: {
 dataA:

    “AAA”, dataB: “BBB”, dataC: “CCC” } } } cafe.json(Lambda) { "type": "Text", "width": "0", "height": "0", "text": "${payload.cafedata.properties.dataA"}, "id": "SpeechDrip", DocumentͱDataSources
  9. 34.

    DocumentͱDataSources RenderDocument cafe.json(Lambda) document: “cafe.json”, datasources: { cafedata: { properties:

    {
 dataA: “AAA”, dataB: “BBB”, dataC: “CCC” } } } { "type": "Text", "width": "0", "height": "0", "text": "${payload.cafedata.properties.dataA"}, "id": "SpeechDrip",
  10. 36.