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

OpenIL vol.1

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.
Avatar for Take Take
February 21, 2014

OpenIL vol.1

Avatar for Take

Take

February 21, 2014
Tweet

More Decks by Take

Other Decks in Technology

Transcript

  1. ࣗݾ঺հ • var age = 19 ࡀ (஀ੜ೔ 2/24) •

    ๺ւಓ޻ۀେֶɹֶ෦ 2 ೥ੜ • ΠϯϑΟχοτϧʔϓɹΞϧόΠτ • झຯ͸ཱྀߦɺࣸਅɺϓϩάϥϛϯά • Web Developer
  2. WORKS • IT ษڧձΧϨϯμʔ for Android & iOS • Image

    Shortener - [img.ww24.jp] • Realtime Chat - [rtc.ww24.jp] • Connect Smartphone - [connect-sp.ww24.jp]
  3. CONNECT SMARTPHONE • ϦΞϧλΠϜͳ࿈ܞͷྫ • Chrome World Wide Maze •

    https://chrome.com/maze/ • jsdo.it WebSocket Controller • http://jsdo.it/controller
  4. CONNECT SMARTPHONE • ࢓૊Έ • WebSocket Server (Socket.IO) • Web

    Application Server (Express.js) • Socket.IO + Express.js = Express.IO
  5. CONNECT SMARTPHONE • Connect Smartphone Ͱͷ઀ଓॲཧ • ཚ਺͔Β connection_id ੜ੒

    • ਌୺຤ͱࢠ୺຤Λ connection_id Ͱর߹ • ਌୺຤ʹ઀ଓ୺຤(ࢠ୺຤)ͷҰཡΛදࣔ
  6. CONNECT SMARTPHONE • ͳͥͦ͏ͳΔ͔… • HTTP ϦΫΤετ͸εςʔτϨεɻঢ়ଶΛ࣋ͨͳ ͍ɻঢ়ଶΛ࣋ͨͤΔͨΊʹηογϣϯΛ༻͍Δɻ • WebSocket

    ௨৴͸εςʔτϑϧɻίωΫγϣϯຖ ʹݸʑʹঢ়ଶΛอ࣋Ͱ͖Δɻϒϥ΢β͕ಉ͡Ͱ͋ͬ ͯ΋ɺ਌୺຤͔ࢠ୺຤͔൑ఆՄೳɻ