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

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

0686d8b704dc94d8e3b7555750ae325f?s=47 Kazuaki Konno
December 20, 2012

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

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

0686d8b704dc94d8e3b7555750ae325f?s=128

Kazuaki Konno

December 20, 2012
Tweet

Transcript

  1. "QQDFMFSBUPS$MPVE4FSWJDFT "$4  2012.12.20% Kazuaki%Konno% @kaz_konno% ΠϯελϯτϞόΠϧ#BB4

  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:!@kaz_konno! !
  3. "$4஌ͬͯ·͔͢ʁ

  4. #BB4ҎલͷόοΫΤϯυ 4DBMFXJUIHSPXUI ϋʔυ΢ΣΞ σʔλϕʔε 8FCαʔόʔ ΞϓϦαʔόʔ ΞϓϦαʔϏε ιʔγϟϧϝσΟΞ"1*T &31 $3.

    ΧελϜ ΞϓϦ ϖΠϝϯτ"1*T ϓογϡ"1*T ύϒϦοΫ αʔυύʔ ςΟʔ αʔϏε ϓϥΠϕʔτ γεςϜˍ σʔλ ΧελϜ ϓϥΠϕʔτ Ϋϥ΢υ ΞϓϦ։ൃҎ֎ʹαʔόʔ։ൃऀΛΞαΠϯ͠ͳ͚Ε͹ͳΒͳ͍ɻ ΞϓϦ։ൃऀ͕ษڧ͠ͳ͕Βαʔόʔ։ൃΛߦ͏έʔε΋গͳ͋͘Γ·ͤΜɻ  ౰ͨΔ͔෼͔Βͳ͍ΞϓϦʹେ͖ͳॳظ౤ࢿΛ͢Δͷ͸ϦεΫʹͳΓ·͢ɻ
  5. "$4ͱ͸ ϓογϡ௨஌΍εςʔλεߋ৽ɺϑΥτετϨʔδɺ ιʔγϟϧ࿈ܞͳͲɺઃఆࡁΈͷΫϥ΢υΞϓϦέʔ γϣϯαʔϏεͷϥΠϒϥϦΛબ୒͍͚ͯͩ͘͠Ͱɺ ߴ଎͔ͭ؆୯ʹϞόΠϧΞϓϦͱ࿈ܞͰ͖ΔϞόΠϧ όοΫΤϯυαʔϏεͰ͢ɻͭ·Γ.#BB4Ͱ͢ɻ

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

  7. αʔόʔαΠυ։ൃͷൺֱ αʔόʔ։ൃऀͷ֬อ ʢ3VCZ 1)1 +BWBͳͲʣ ΫϥΠΞϯτʗαʔόʔؒͷ"1*ઃܭ αʔόʔίʔυͷهड़ ࣸਅͷϦαΠζ αʔόʔͷ४උ ࣮֬ͳσʔλอଘ

    αʔόʔ΁ίʔυΛσΟϓϩΠ αʔόʔίʔυͷςετ αʔόʔௐ੔ αʔόʔͷεέʔϧΞοϓ 44-ೝূͷ؅ཧ ελʔτޙ͸ӡ༻ˍϝϯςφϯε "$4"1*ͷݺͼग़͠ ʢ6TFSTʗ1IPUPTʗ'SJFOETʗ 3BUJOHT 3FWJFXT BOE-JLFTʗ 4UBUVTʣ ΞϓϦσʔλͷ؅ཧ "$4༗Γ ಠࣗ։ൃ "$4Λ࢖ͬͨ৔߹ͱɺ͜Ε·Ͱ௨Γಠࣗʹ։ൃͨ͠৔߹ͱͰɺ΍Δ͜ͱΛͬ͘͟ ΓϦετʹͯ͠Έ·ͨ͠ɻ
  8. 1VCMJD$MPVEͷΞʔΩςΫνϟ "$4"1*αʔόʔ /P42- %BUBCBTF  αʔνΤϯδϯ "NB[PO&$   

      "NB[PO4 'JMF 'JMF 1IPUP 1IPUP "$4ωοτϫʔΫϨΠϠʔ "$45JUBOJVNωΠςΟϒΫϥΠΞϯτ4%,T J04 "OESPJE༻  "$41VTI αʔόʔ
  9. "$4ͷಛ௃ •  ͷઃఆࡁΈΞϓϦέʔγϣϯ ɹϥΠϒϥϦ •  ΫϩεϓϥοτϑΥʔϜରԠ •  σϦόϦʔΦϓγϣϯ •  εέʔϥϒϧ

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

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

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

  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":”clouduser@cocoafish.com",! "custom_fields": {! ”age”:28,! ”shoe_size":”8",! ”favorite_color":”blue”! }! ! ! !! }]! } !! }! Dœnw{Œr˜ƒ^YLZ`G$^<(TbUH!
  16. "$4ͷΞυόϯςʔδ •  ಋೖ͕؆୯Ͱ௿ίετ εϐʔυΞοϓͱίετ࡟ݮ •  ສ"1*ίʔϧ·Ͱແྉɺ సૹྔ੍ݶແ͠ ɹ։ൃ࣌ʹαʔόʔར༻අΛ཈͑Δ͜ͱ ɹ͕Ͱ͖ΔͷͰɺؾܰʹ࢝ΊΒΕΔɻ • 

    αʔόʔίʔυແ͠Ͱߏங ɹ5JUBOJVN.PCJMFͰΞϓϦ։ൃΛͯ͠ ɹ͍Δ৔߹ɺ+BWB4DSJQU͚ͩͰτʔλ ɹϧʹ։ൃ͕Ͱ͖ͯ͠·͏ɻ
  17. σϞ "1*αϯϓϧΞϓϦ  6TFST<ϢʔβʔσΟϨΫτϦ>-JCSBSZ"QQMJDBUJPO 4VQQPSU5JUBOJVNNPEVMFTDPNNPOKTUJDMPVE

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

  19. $VTUPN$MPVE4FSWJDFT  /PEF"$4  ʢ˞ݱࡏσϕϩούʔϓϨϏϡʔ̎ʣ

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

    •  "$4ͱ࿈ܞͤ͞Δ͜ͱ͕Մೳ JS!
  21. /PEF"$4ͷ ΞʔΩςΫνϟ "$4ωοτϫʔΫϓϨΠϠʔ "$4

  22. 3PBE.BQ •  όοΫάϥ΢ϯυδϣϒϫʔΧʔ •  /PEFKTϞχλϦϯά •  αʔυύʔςΟʔαʔϏεͱͷ ΠϯςάϨʔγϣϯ •  8FCίϯιʔϧ

    •  ϑϨΩγϒϧͳϑϦʔϓϥϯ •  ΦʔτεϦʔϓͱϦΞΫςΟϕʔγϣϯ •  ϑϦʔ/PEFKT8PSLFSʗΞϓϦ •  .#σΟεΫεϖʔεʗΞϓϦ •  "1*ίʔϧ਺ແ੍ݶ $PNJOH4PPO σϕϩούʔϓϨϏϡʔ
  23. σϞ ࣸਅΞοϓϩʔμʔΞϓϦɿQJYHSJE IUUQTHJUIVCDPNBQQDFMFSBUPSQJYHSJE ϙΠϯτɿ/PEF"$4ͱ"$4Λ࿈ܞͤ͞Δ৔߹ɺ ɹɹɹɹɹDPOpHKTPOϑΝΠϧ͕ॏཁ

  24. ࢀߟ৘ใ ˖"QQDFMFSBUPSࣾϗʔϜϖʔδ ɹIUUQXXXBQQDFMFSBUPSDPN  ˖"$4ΫΠοΫελʔτ ɹIUUQDMPVEBQQDFMFSBUPSDPNEPDTRVJDLTUBSU  ˖"$45JUBOJVN"1*ϦϑΝϨϯε ɹIUUQEPDTBQQDFMFSBUPSDPNUJUBOJVNMBUFTUBQJ5JUBOJVN$MPVE 

    ˖"$4"1*ϦϑΝϨϯε ɹIUUQDMPVEBQQDFMFSBUPSDPNEPDTBQJWBDMTDSFBUF  ˖/PEF"$4ʹ͍ͭͯ ɹIUUQOPEFBDTDMPVEBQQDFMFSBUPSDPNHVJEFTRVJDLTUBSU 
  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/!
  26.  !š/6›! CMSsi‚Fh?p://k0sukey.github.com/ACMS/! GithubFh?ps://github.com/k0sukey/ACMS! ACS_JavaScriptSDKe-TXCMSsi‚! 7!@k0sukeySf! Titanium!Mobile˜t˜! [!-TZLdACSs˜†w!]! Posts! Social!!

    Integra6on! Reviews! Users!
  27. W_! %&/401SFTFOUT ̍%BZ4QFDJBM "QQDFMFSBUPS5JUBOJVN&WFOU։࠵ʂ ೔࣌ 4BU ɿɿ ৔ॴϕϧαʔϨ࿡ຊ໦ ओ࠵"QQDFMFSBUPS *OD

    ڠࢍגʣσϯιʔ …“x_  ΠϕϯτࢀՃඅʢؚΉன൧ˍ࠙਌ձʣ͸ແྉ "QQDFMFSBUPS$&0+F⒎)BZOJFࢯΛ͸͡Ίɺ ίΞΤϯδχΞୡ͕དྷ೔ͯ͠ηογϣϯΛ ߦ͏ϏοάΠϕϯτͰ͢ɻ
  28. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ "$4࢖ͬͯΈ͍ͯͩ͘͞ʂ