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

インスタントモバイルBaaS「 Appcelerator Cloud Services (ACS) 」

Kazuaki Konno
December 20, 2012

インスタントモバイルBaaS「 Appcelerator Cloud Services (ACS) 」

第34回 html5とか勉強会で発表した資料です。

Kazuaki Konno

December 20, 2012
Tweet

More Decks by Kazuaki Konno

Other Decks in Technology

Transcript

  1. "QQDFMFSBUPS$MPVE4FSWJDFT "$4

    2012.12.20%
    Kazuaki%Konno%
    @kaz_konno%
    ΠϯελϯτϞόΠϧ#BB4

    View Slide

  2. 8!5!
    @>C(šRf_CNVKP›!
    !
    &*#2p–~ƒl”—!
    !
    w‹˜‚‡m—g‰’_.B0h”pu—!
    91]g‰’Ra\:Au’˜xg‰’!
    FFFFFFFCFFF!DEEP!JAPAN! g‰’!
    FFFFFFFFFFF!
    +CAppcelerator!r—‚’†Ž˜{˜!Titan!
    FFFFTitanium!Cer6fied!App!Developer(TCAD)!
    !!!!!!!!!!!!Titanium!Mobile!˜t˜!
    FFFF)^œ3"[TitaniumcQcQeB !
    !
    Twi?er:[email protected]_konno!
    !

    View Slide

  3. "$4஌ͬͯ·͔͢ʁ

    View Slide

  4. #BB4ҎલͷόοΫΤϯυ
    4DBMFXJUIHSPXUI
    ϋʔυ΢ΣΞ
    σʔλϕʔε
    8FCαʔόʔ
    ΞϓϦαʔόʔ
    ΞϓϦαʔϏε
    ιʔγϟϧϝσΟΞ"1*T
    &31
    $3.
    ΧελϜ
    ΞϓϦ
    ϖΠϝϯτ"1*T
    ϓογϡ"1*T
    ύϒϦοΫ
    αʔυύʔ
    ςΟʔ
    αʔϏε
    ϓϥΠϕʔτ
    γεςϜˍ
    σʔλ
    ΧελϜ
    ϓϥΠϕʔτ
    Ϋϥ΢υ
    ΞϓϦ։ൃҎ֎ʹαʔόʔ։ൃऀΛΞαΠϯ͠ͳ͚Ε͹ͳΒͳ͍ɻ
    ΞϓϦ։ൃऀ͕ษڧ͠ͳ͕Βαʔόʔ։ൃΛߦ͏έʔε΋গͳ͋͘Γ·ͤΜɻ

    ౰ͨΔ͔෼͔Βͳ͍ΞϓϦʹେ͖ͳॳظ౤ࢿΛ͢Δͷ͸ϦεΫʹͳΓ·͢ɻ

    View Slide

  5. "$4ͱ͸
    ϓογϡ௨஌΍εςʔλεߋ৽ɺϑΥτετϨʔδɺ
    ιʔγϟϧ࿈ܞͳͲɺઃఆࡁΈͷΫϥ΢υΞϓϦέʔ
    γϣϯαʔϏεͷϥΠϒϥϦΛબ୒͍͚ͯͩ͘͠Ͱɺ
    ߴ଎͔ͭ؆୯ʹϞόΠϧΞϓϦͱ࿈ܞͰ͖ΔϞόΠϧ
    όοΫΤϯυαʔϏεͰ͢ɻͭ·Γ.#BB4Ͱ͢ɻ

    View Slide

  6. ਓؾιʔγϟϧΞϓϦͷߟ࡯
    ྫ͑͹ҎԼͷΑ͏ͳΞϓϦΛ࡞Δʹ͸ɺগͳ͘ͱ΋ʮϢʔβʔʯʮϑΥτʯʮ༑
    ୡʯʮϥΠΫɺίϝϯτʯʮεςʔλεʯʮϑΥϩϫʔʯͱݴͬͨόοΫΤϯυ
    ΞϓϦέʔγϣϯΛಠࣗʹ࡞Δඞཁ͕͋Γ·͢ɻ

    View Slide

  7. αʔόʔαΠυ։ൃͷൺֱ
    αʔόʔ։ൃऀͷ֬อ
    ʢ3VCZ 1)1 +BWBͳͲʣ
    ΫϥΠΞϯτʗαʔόʔؒͷ"1*ઃܭ
    αʔόʔίʔυͷهड़
    ࣸਅͷϦαΠζ
    αʔόʔͷ४උ
    ࣮֬ͳσʔλอଘ
    αʔόʔ΁ίʔυΛσΟϓϩΠ
    αʔόʔίʔυͷςετ
    αʔόʔௐ੔
    αʔόʔͷεέʔϧΞοϓ
    44-ೝূͷ؅ཧ
    ελʔτޙ͸ӡ༻ˍϝϯςφϯε
    "$4"1*ͷݺͼग़͠
    ʢ6TFSTʗ1IPUPTʗ'SJFOETʗ
    3BUJOHT 3FWJFXT BOE-JLFTʗ
    4UBUVTʣ
    ΞϓϦσʔλͷ؅ཧ
    "$4༗Γ ಠࣗ։ൃ
    "$4Λ࢖ͬͨ৔߹ͱɺ͜Ε·Ͱ௨Γಠࣗʹ։ൃͨ͠৔߹ͱͰɺ΍Δ͜ͱΛͬ͘͟
    ΓϦετʹͯ͠Έ·ͨ͠ɻ

    View Slide

  8. 1VCMJD$MPVEͷΞʔΩςΫνϟ
    "$4"1*αʔόʔ
    /P42-
    %BUBCBTF

    αʔνΤϯδϯ
    "NB[PO&$





    "NB[PO4
    'JMF 'JMF
    1IPUP 1IPUP
    "$4ωοτϫʔΫϨΠϠʔ
    "$45JUBOJVNωΠςΟϒΫϥΠΞϯτ4%,T
    J04
    "OESPJE༻

    "$41VTI
    αʔόʔ

    View Slide

  9. "$4ͷಛ௃
    •  ͷઃఆࡁΈΞϓϦέʔγϣϯ
    ɹϥΠϒϥϦ
    •  ΫϩεϓϥοτϑΥʔϜରԠ
    •  σϦόϦʔΦϓγϣϯ
    •  εέʔϥϒϧ
    •  ΧελϜσʔλ

    View Slide

  10. "$4ͷಛ௃ɹ—ɹͷΞϓϦέʔγϣϯϥΠϒϥϦ
    ͙͢ʹ࢖͑Δ๛෋ͳΞϓϦέʔγϣϯ܈

    View Slide

  11. "$4ͷಛ௃ɹ—ɹΫϩεϓϥοτϑΥʔϜରԠ
    5JUBOJVN༻Ҏ֎ʹɺJ04ɺ"OESPJEɺ
    +BWB4DSJQUɺͦͯ͠3&45"1*ରԠ
    ʢҰ෦"DUJPO4DSJQUʹ΋ରԠʣ
    ˙ྫ͑͹ɺϢʔβʔ࡞੒ͷ৔߹
    EJavaScript!SDK!
    EREST!API!
    ETitanium!SDK!

    View Slide

  12. "$4ͷಛ௃ɹ—ɹσϦόϦʔΦϓγϣϯ
    ACS Public Cloud
    ACS Virtual Private
    Cloud
    ACS Private Cloud
    AppceleratorOŠw‚a4,! -i—‡‘^MLZG
    AppceleratorOŠw‚a4,!
    !
    p‘ig—‚_s˜„˜';G
    bX`˜{y—{˜^MLZG
    Šw‚a4,

    View Slide

  13. "$4ͷಛ௃ɹ—ɹσϦόϦʔΦϓγϣϯ
    ACS Public Cloud ACS Private Cloud
    ACS Virtual
    Private Cloud
    yoŽ’€h˜
    ‘iy—u—q
    r—‚•˜“
    n„”˜v
    nw{Œ
    nw{Œ
    nw{Œ
    z‡‚jkg
    sˆwp’‰u—
    ‹“}’˜v—
    Node
    sˆwp’‰u—
    %?
    w{—|˜ƒ gƒ„—wƒ
    w{—|˜ƒ gƒ„—wƒ
    u—q“’˜v—

    View Slide

  14. "$4ͷಛ௃ɹ—ɹεέʔϥϒϧ
    ඞཁʹԠͯ͡ॊೈʹεέʔϧ
    "$4͸αʔόʔؒͰ
    ݡ͘"1*ίʔϧΛ഑৴͠ɺ
    ඞཁʹԠͯ͡εέʔϧ͠·͢ɻ

    View Slide

  15. "$4ͷಛ௃ɹ—ɹΧελϜσʔλ
    •  ,FZ7BMVFTͰ͸ɺγϯϓϧͳσʔλΛอଘ
    ͢Δ͜ͱ͕Մೳ
    •  طଘͷσʔλɾλΠϓʹΧελϜϑΟʔϧ
    υΛ௥Ճ͢Δ͜ͱ͕Մೳ
    •  $VTUPN0CKFDUTͰ৽ͨʹಠࣗͷσʔλɾ
    λΠϓΛઃఆ͢Δ͜ͱ͕Մೳ
    •  ΧελϜίʔυΛར༻͢Δ͜ͱͰಠࣗͷ
    αʔόʔαΠυίϯϙʔωϯτΛ௥Ճ͢Δ
    ͜ͱ͕Մೳ˞
    {!
    "meta": {!
    "status": "ok",!
    "code": 200,!
    "method_name": "showUsers”!
    },!
    "response": {!
    "users": [{!
    "id":"4e8b8e627818261d1d0003a8",!
    "first_name":”Cloud",!
    "last_name":”User",!
    "created_at":"2011-10-04T22:53:22+00
    00",!
    "updated_at":"2012-05-08T17:12:43+00
    00",!
    "email":”[email protected]",!
    "custom_fields": {!
    ”age”:28,!
    ”shoe_size":”8",!
    ”favorite_color":”blue”!
    }! ! ! !!
    }]!
    } !!
    }!
    Dœnw{Œr˜ƒ^YLZ`G$^

    View Slide

  16. "$4ͷΞυόϯςʔδ
    •  ಋೖ͕؆୯Ͱ௿ίετ
    εϐʔυΞοϓͱίετ࡟ݮ
    •  ສ"1*ίʔϧ·Ͱແྉɺ
    సૹྔ੍ݶແ͠
    ɹ։ൃ࣌ʹαʔόʔར༻අΛ཈͑Δ͜ͱ
    ɹ͕Ͱ͖ΔͷͰɺؾܰʹ࢝ΊΒΕΔɻ
    •  αʔόʔίʔυແ͠Ͱߏங
    ɹ5JUBOJVN.PCJMFͰΞϓϦ։ൃΛͯ͠
    ɹ͍Δ৔߹ɺ+BWB4DSJQU͚ͩͰτʔλ
    ɹϧʹ։ൃ͕Ͱ͖ͯ͠·͏ɻ

    View Slide

  17. σϞ
    "1*αϯϓϧΞϓϦ

    6TFST-JCSBSZ"QQMJDBUJPO
    4VQQPSU5JUBOJVNNPEVMFTDPNNPOKTUJDMPVE

    View Slide

  18. "$4ʹ଍Βͳ͍΋ͷ
    •  ΧελϜίʔυ
    •  8FCϗεςΟϯά
    •  ωοτϫʔΫෛՙͱόοςϦʔফඅͷ௿ݮ
    •  ΧελϜ63-αϙʔτ
    ɹྫʣIUUQECECFGBYYYDMPVEBQQQSFWJFXBQQDFMFSBUPSDPN

    View Slide

  19. $VTUPN$MPVE4FSWJDFT

    /PEF"$4

    ʢ˞ݱࡏσϕϩούʔϓϨϏϡʔ̎ʣ

    View Slide

  20. /PEFKT"$4
    •  /PEF"$4Λར༻͢Δ͜ͱͰɺ
    ϞόΠϧόοΫΤϯυαʔϏ
    εΛ׬݁ͤ͞Δ͜ͱ͕Մೳ
    •  ΫϥΠϯτ΋αʔόʔ΋
    +BWB4DSJQU͚ͩͰ։ൃ͕Մೳ

    •  "$4ͱ࿈ܞͤ͞Δ͜ͱ͕Մೳ
    JS!

    View Slide

  21. /PEF"$4ͷ
    ΞʔΩςΫνϟ
    "$4ωοτϫʔΫϓϨΠϠʔ
    "$4

    View Slide

  22. 3PBE.BQ
    •  όοΫάϥ΢ϯυδϣϒϫʔΧʔ
    •  /PEFKTϞχλϦϯά
    •  αʔυύʔςΟʔαʔϏεͱͷ
    ΠϯςάϨʔγϣϯ
    •  8FCίϯιʔϧ
    •  ϑϨΩγϒϧͳϑϦʔϓϥϯ
    •  ΦʔτεϦʔϓͱϦΞΫςΟϕʔγϣϯ
    •  ϑϦʔ/PEFKT8PSLFSʗΞϓϦ
    •  .#σΟεΫεϖʔεʗΞϓϦ
    •  "1*ίʔϧ਺ແ੍ݶ
    $PNJOH4PPO
    σϕϩούʔϓϨϏϡʔ

    View Slide

  23. σϞ
    ࣸਅΞοϓϩʔμʔΞϓϦɿQJYHSJE
    IUUQTHJUIVCDPNBQQDFMFSBUPSQJYHSJE
    ϙΠϯτɿ/PEF"$4ͱ"$4Λ࿈ܞͤ͞Δ৔߹ɺ
    ɹɹɹɹɹDPOpHKTPOϑΝΠϧ͕ॏཁ

    View Slide

  24. ࢀߟ৘ใ
    ˖"QQDFMFSBUPSࣾϗʔϜϖʔδ
    ɹIUUQXXXBQQDFMFSBUPSDPN

    ˖"$4ΫΠοΫελʔτ
    ɹIUUQDMPVEBQQDFMFSBUPSDPNEPDTRVJDLTUBSU

    ˖"$45JUBOJVN"1*ϦϑΝϨϯε
    ɹIUUQEPDTBQQDFMFSBUPSDPNUJUBOJVNMBUFTUBQJ5JUBOJVN$MPVE

    ˖"$4"1*ϦϑΝϨϯε
    ɹIUUQDMPVEBQQDFMFSBUPSDPNEPDTBQJWBDMTDSFBUF

    ˖/PEF"$4ʹ͍ͭͯ
    ɹIUUQOPEFBDTDMPVEBQQDFMFSBUPSDPNHVJEFTRVJDLTUBSU

    View Slide

  25. ACS==TbTX™!
    IDEEP!JAPAN! J!
    Custom!
    Objects!
    Files!
    [!-TZLdACSs˜†w!]!
    "QQDFMFSBUPSࣾओ࠵ϞόΠϧΞϓϦίϯςε
    τʹ͓͍ͯɺ%&&1+"1"/ΞϓϦ͕Ϋϥ΢υ
    ར༻ٕज़Ͱ࠷ߴҐͷ"$4৆Λड৆͠·ͨ͠ʂ
    h?ps://play.google.com/store/apps/details?
    id=jp.direc6ons.sougawaelegy!
    h?ps://itunes.apple.com/jp/app/deepVjapanVfuVshan/
    id566233999?mt=8&ignVmpt=uo%3D4!
    h?p://appcelerator.challengepost.com/!

    View Slide

  26. !š/6›!
    CMSsi‚Fh?p://k0sukey.github.com/ACMS/!
    GithubFh?ps://github.com/k0sukey/ACMS!
    ACS_JavaScriptSDKe-TXCMSsi‚!

    [email protected]!
    Titanium!Mobile˜t˜!
    [!-TZLdACSs˜†w!]!
    Posts!
    Social!!
    Integra6on!
    Reviews!
    Users!

    View Slide

  27. W_!
    %&/401SFTFOUT ̍%BZ4QFDJBM
    "QQDFMFSBUPS5JUBOJVN&WFOU։࠵ʂ
    ೔࣌ 4BU
    ɿɿ
    ৔ॴϕϧαʔϨ࿡ຊ໦
    ओ࠵"QQDFMFSBUPS *OD
    ڠࢍגʣσϯιʔ
    …“x_
    ΠϕϯτࢀՃඅʢؚΉன൧ˍ࠙਌ձʣ͸ແྉ
    "QQDFMFSBUPS$&0+F⒎)BZOJFࢯΛ͸͡Ίɺ
    ίΞΤϯδχΞୡ͕དྷ೔ͯ͠ηογϣϯΛ
    ߦ͏ϏοάΠϕϯτͰ͢ɻ

    View Slide

  28. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ
    "$4࢖ͬͯΈ͍ͯͩ͘͞ʂ

    View Slide