5

Getting started with Meteor - samples.leanpub.comsamples.leanpub.com › getting-started-with-meteorjs-sample.pdf · Getting started with Meteor.js Author: Jacob Clark Created Date:

  • Upload
    others

  • View
    51

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Getting started with Meteor - samples.leanpub.comsamples.leanpub.com › getting-started-with-meteorjs-sample.pdf · Getting started with Meteor.js Author: Jacob Clark Created Date:
Page 2: Getting started with Meteor - samples.leanpub.comsamples.leanpub.com › getting-started-with-meteorjs-sample.pdf · Getting started with Meteor.js Author: Jacob Clark Created Date:

Getting started with Meteor.jsMeteor.js for the beginner

Jacob Clark

This book is for sale at http://leanpub.com/getting-started-with-meteorjs

This version was published on 2012-11-21

This is a Leanpub book. Leanpub helps authors to self-publish in-progress ebooks. We call thisidea Lean Publishing.

To learn more about Lean Publishing, go to http://leanpub.com/manifesto.

To learn more about Leanpub, go to http://leanpub.com.

©2012 Leanpub

Page 3: Getting started with Meteor - samples.leanpub.comsamples.leanpub.com › getting-started-with-meteorjs-sample.pdf · Getting started with Meteor.js Author: Jacob Clark Created Date:

Tweet This Book!Please help Jacob Clark by spreading the word about this book on Twitter!

The suggested hashtag for this book is #gettingstartedwithmeteorjs.

Find out what other people are saying about the book by clicking on this link to search for thishashtag on Twitter:

https://twitter.com/search/#gettingstartedwithmeteorjs

Page 4: Getting started with Meteor - samples.leanpub.comsamples.leanpub.com › getting-started-with-meteorjs-sample.pdf · Getting started with Meteor.js Author: Jacob Clark Created Date:

Contents

What is Meteor? 1

Page 5: Getting started with Meteor - samples.leanpub.comsamples.leanpub.com › getting-started-with-meteorjs-sample.pdf · Getting started with Meteor.js Author: Jacob Clark Created Date:

What is Meteor?Here is a quick juicy overview of what Meteor actually is! Note: This book is a work inprogress!

In short Meteor allows you to create dynamic, real time web applications in a fraction of the timeand code.

Meteor uses many JavaScript libraries and frameworks out the box, you may already be familiarwith some of these when writing Client Side JavaScript such as Backbone, Underscore and jQuery.

Infact, code you write for Meteor is entirely JavaScript, so any of that knowledge you have behindyou when writing Node or Client Side JavaScript you’re going to be putting into practise when youdevelop for Meteor, so keep that in mind throughout this book.

Meteor even comes bundled with MongoDB on every application out the box for persistent databasestorage. Not quite MongoDB, but MiniMongo, an interface for MongoDB, it’s fairly fully featuredbut it does lack some of the features you’d expect using Mongos interface, we will come to thisshortly!

Meteor has an emphasis on real time applications and because of this you’re encouraged to useHandlebars. Every Meteor application created is set up to work with Handlebars out the box, sothat means we’ll also be looking at this lovely templating engine too, if you’re unfamiliar with ityou may want to check it out http://handlebarsjs.com/¹.

¹http://handlebarsjs.com/

1