14
Meteor Building your first app @ryepdx

Meteor - Building your first app

Embed Size (px)

DESCRIPTION

A brief introduction to Meteor I gave at the February 2014 Portland Meteor meetup before beginning my live-coding session. The code from the live-coding session can be found at https://github.com/ryepdx/meteor-chat

Citation preview

Page 1: Meteor - Building your first app

MeteorBuilding your first app

@ryepdx

Page 2: Meteor - Building your first app

@ryepdx

curl https://install.meteor.com | /bin/sh

Page 3: Meteor - Building your first app

@ryepdxcurl https://install.meteor.com | /bin/sh

Why Meteor?

- Simple

- Reactive

- Batteries Included

Page 4: Meteor - Building your first app

@ryepdxcurl https://install.meteor.com | /bin/sh

Simple

Less of this. (Thanks, Fibers!)

Page 5: Meteor - Building your first app

@ryepdxcurl https://install.meteor.com | /bin/sh

Reactive

Feels like this.

Page 6: Meteor - Building your first app

@ryepdxcurl https://install.meteor.com | /bin/sh

Batteries Included*

What NPM + Meteorite feels like.

*Bacon not included.

abstrusegoose.com

Page 7: Meteor - Building your first app

@ryepdxcurl https://install.meteor.com | /bin/sh

(Anyone still need this?)

Speaking of Meteorite...

Page 8: Meteor - Building your first app

@ryepdx

npm install -g meteorite

Speaking of Meteorite...

Page 9: Meteor - Building your first app

@ryepdx

Speaking of Meteorite...

- Community’s preferred package manager.

- Enables “smart packages.”

- Find packages at https://atmosphere.meteor.com/

npm install -g meteorite

Page 10: Meteor - Building your first app

Now back to Meteor!But first...

@ryepdxnpm install -g meteorite

git clone https://github.com/ryepdx/meteor-chat.git

Page 11: Meteor - Building your first app

@ryepdxgit clone https://github.com/ryepdx/meteor-chat.git

7 Principles of Meteor1. Data on the Wire2. One Language3. Database Everywhere4. Latency Compensation5. Full Stack Reactivity6. Embrace the Ecosystem7. Simplicity Equals Productivity

Page 12: Meteor - Building your first app

@ryepdxgit clone https://github.com/ryepdx/meteor-chat.git

Anatomy of a Meteor appyourapp/

server/client/

lib/

client/

server/

Page 13: Meteor - Building your first app

@ryepdx

Let’s code!

git clone https://github.com/ryepdx/meteor-chat.git

(Anyone still need this?)

Page 14: Meteor - Building your first app

Thank you!Questions?

Ryan Casey / [email protected] / Twitter: @ryepdx