3. A free open source platform built
on top of Node.js that makes it
dramatically faster to write rich
realtime web applications in pure
JavaScript.
4. It's what sits between your app's
database and its user interface and
makes sure that both are kept in sync.
How to think of it?
5. Live Page Updates
• Just write your templates.
• Automatically update when database changes.
• Supports any templating language.
No more refreshing!
6. DDP (Distributed Data Protocol)
• A standard way to solve the biggest problem
facing client-side JavaScript developers:
• Querying a server-side database, sending the results down
to the client, and then pushing changes to the client
whenever anything changes in the database.
• Supported on newer browsers using WebSockets and on
older browsers using Asynchronous JavaScript + XML
(Ajax) long polling
7. Publications/Subscriptions
!
Every Meteor client includes an in-memory database cache.
• To manage the client cache, the server publishes sets of
JSON documents, and the client subscribes to those
sets.
• As documents in a set change, the server patches each
client's cache.
8. Features
Hot Code Pushes
• Update your app while users are connected
without disturbing them.
!
Latency Compensation
• When a user makes a change, their screen
updates immediately. If the server rejects their
request or executes it differently, the client is
patched up with what actually happened.
9. Security
• In Meteor, the client and server share the same
database API.
• Code running on the server has direct access to the
database, code running on the client does not.
• By default, a new Meteor app includes the
autopublish and insecure packages, which together
mimic the effect of each client having full read/write
access to the server's database.
10. Databases
• Each Meteor app comes with it’s own
MongoDB Instance.
• Meteor currently only supports Mongo.
• Future Support coming for SQL and other
Databases.
11. Smart Packages
• Little programs that can inject code into the client or
the server.
• You can continue use your favorite templating,
testing, or DOM manipulation frameworks.
12. Meteor Accounts
• A smart package for accounts.
• Includes pre-built components for common tasks like
login, signup, password reset, and verification emails.
• Easy to add and easy to setup external services.
15. • Incredibly easy to create real time applications
• One Language, only need to use Javascript
• Large community package system, allows for use of
Meteor packages and NPM packages.
Why use this over Ruby and
Rails, Python and Django
or another language and
framework?
16. curl https://install.meteor.com | /bin/sh
How to get started?
Install
Create Application
meteor create HelloWorld
cd HelloWorld
meteor
=> Meteor server running on: http://localhost:3000/
Supported Platforms:
Linux & Mac
Deploy
meteor deploy osf2014.meteor.com