• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Meteor ddp
 

Meteor ddp

on

  • 470 views

 

Statistics

Views

Total Views
470
Views on SlideShare
470
Embed Views
0

Actions

Likes
1
Downloads
5
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Meteor ddp Meteor ddp Presentation Transcript

    • Meteor/DDP 김경렬
    • Why the Future 
 is not RESTful http://z.caudate.me/why-the-future-is-not-restful/
    • • Open source platform for building Modern Web Apps. • EJSON instead of HTML • Run most of their code inside the browser. • Single language. • Reactivity, Pub/Sub, Latency Compensation http://www.meteor.com/screencast
    • presentations
 (templates, binding) javascript code (client/server) node.js / database (mongodb) DDP
 (EJSON)
    • install • $ curl https://install.meteor.com | /bin/sh • $ meteor create myapp • $ cd myapp
 $ meteor
 => Meteor server running on: http://localhost:3000/ • $ meteor deploy myapp.meteor.com
    • Document • http://docs.meteor.com/ (english)
 http://docs-ko.meteor.com/ (번역)
    • Sample - LeaderBoard
    • DDP 
 (Distributed Data Protocol) • Remote procedure calls by the client to the server. • The client subscribing to a set of documents, and the server keeping the client informed about the contents of those documents as they change over time. https://github.com/meteor/meteor/blob/master/packages/livedata/DDP.md
    • Establishing
 Managing Data
 Remote Procedure Calls EJSON 
 (msg type, other field) SockJS / WebSockets
 Native Socket
    • Establishing connect client server session
 version
 support
    • Establishing connected client server session
    • Establishing failed client server version
    • Managing Data sub unsub client id
 (name
 params) server
    • C(R)UD client added
 changed removed collection id (fields, cleared) server
    • Ordered Collection C(R)UD addedBefore
 movedBefore client server collection id fields, before
    • RPC method client server method
 params
 id
    • RPC result client id error result server
    • RPC update client server methods
    • The futures of RESTful Data storage of the client RealTime