3. Geddy.js
R a i l Wa y J S
Locomotive
Flatiron.js
Express
Tower.js
Derby
Meteor
Socket IO
SocketStream
понедельник, 10 декабря 12 г.
4. Node.js
Node.js is a software system designed for
writing highly scalable Internet
applications, notably web servers
понедельник, 10 декабря 12 г.
5. Install Node.js on Ubuntu
##Install the dependencies:
$ sudo apt-get install g++ curl libssl-dev apache2-utils
$ sudo apt-get install git-core
##Run the following commands:
$ git clone git://github.com/ry/node.git
$ cd node
$ ./configure
$ make && sudo make install
##Check node:
$ node -v
понедельник, 10 декабря 12 г.
6. Install Node.js on Mac
if (homebrew) {
brew upgrade
brew install node
node -v
} else {
https://github.com/mxcl/homebrew/wiki/installation
}
понедельник, 10 декабря 12 г.
7. Install Node.js on Windows
http://nodejs.org/#download
понедельник, 10 декабря 12 г.
8. Install NPM
##Ubuntu:
$ curl http://npmjs.org/install.sh | sh
##Mac
$ brew upgrade
$ brew install npm
##Windows:
$ http://npmjs.org/doc/README.html#Installing-on-
Windows-Experimental
понедельник, 10 декабря 12 г.
10. A better way to build
Meteor is an open-source platform for
building top-quality web apps in a fraction
of the time, whether you're an expert
developer or just getting started.
понедельник, 10 декабря 12 г.
11. Dustin Moskovitz This is great!
Co-founder, Asana; Co-founder, Facebook Definitely something
the industry needs
right now.
Garry Tan This is the web
Founder and designer, Posterous framework I always
wanted.
понедельник, 10 декабря 12 г.
12. Seven Principles of Meteor
✤ One Language
✤ Data on the Wire
✤ Database Everywhere
✤ Latency Compensation
✤ Full Stack Reactivity
✤ Embrace the Ecosystem
✤ Simplicity Equals Productivity
понедельник, 10 декабря 12 г.
13. In the box
✤ Structuring your application
✤ Data and security
✤ Reactivity
✤ Live HTML
✤ Templates
✤ Smart packages
✤ Deploying
понедельник, 10 декабря 12 г.
14. API
✤ Core ✤ Accounts
✤ Publish and subscribe ✤ Passwords
✤ Methods ✤ Templates
✤ Server connections ✤ Timers
✤ Collections ✤ Meteor.deps / Meteor.http
✤ Session ✤ Email
понедельник, 10 декабря 12 г.
15. Quick start
Install Meteor:
$ curl https://install.meteor.com | /bin/sh
Create a project:
$ meteor create myapp
Run it locally:
$ cd myapp
$ meteor run
Running on: http://localhost:3000/
Deploying:
$ meteor deploy myapp.meteor.com
понедельник, 10 декабря 12 г.
16. Developer Resources
✤ Stack Overflow. The best place to ask (and answer!) technical questions is
on [Stack Overflow](http://stackoverflow.com/questions/tagged/meteor). Be
sure to add the meteortag to your question.
✤ Mailing list. We have two mailing lists for Meteor. meteor-
talk@googlegroups.com is for general questions, requests for help, and
new project announcements.meteor-core@googlegroups.com is for
discussing Meteor internals and proposed changes.
✤ IRC. #meteor on irc.freenode.net. The developers hang out here and will
answer your questions whenever they can.
✤ Github. The code is on GitHub. The best way to send a patch is with a
GitHub pull request, and the best way to file a bug is in the GitHub bug
tracker.
понедельник, 10 декабря 12 г.