RAPID LEARNING METEOR
RAPID LEARNING METEOR
About the Book
Meteor is full stack framework which means that it takes care of Client, Server and DB side of your application.
Meteor home page is at https://www.meteor.com.
This book is collection of standalone tutorials.
This means that each tutorial contains minimum amount of code needed to explain specific functionality.
This is in contrast to building a single application where each new functionality is added on top of already explained ones.
Each tutorial has minimum amount of supporting text making emphasis on the code example to do the explaining.
How to use this book
This book can be used as an introduction to Meteor framework covering all of the basic core functionalities.
In addition book will be updated with more tutorials covering more specific subjects.
Book is also intended as Just In Time Support so that user can learn what it needs when it needs it.
This is why tutorials are standalone and minimalistic focusing only at one problem at the time.
You should however first go through the main features of Meteor to familiarize yourself with the core concepts.
This can be done by first going through the main chapters as deep as you see fit.
Then later you can come back to explore other more specific chapters as you need them.
1.3 Create Meteor Application
2. Meteor Core
2.1 Meteor Tool
22.214.171.124 Deploy to Meteor Server
126.96.36.199 Publish to Atmosphere
188.8.131.52 Add from Atmosphere
184.108.40.206 Remove from Application
220.127.116.11 Log in
18.104.22.168 Log out
2.2.2 Client Directory
2.3.2 Server Directory
2.4 Directory structure
2.4.1 Access public resources
22.214.171.124 Session As Reactive Data Source
126.96.36.199 Create - On MiniMongoDB and MongoDB
188.8.131.52 Create - Only on MiniMongoDB
184.108.40.206 Clear – MiniMongoDB Collection
220.127.116.11 Clear – MongoDB Collection – Initiate from Server
18.104.22.168 Clear – MongoDB Collection – Initiate from Client
22.214.171.124 Replace document
126.96.36.199 Set property
188.8.131.52 Increment property
184.108.40.206 Cursor - Filtered
220.127.116.11 Cursor - Sorted
18.104.22.168 Cursor - Get number of retrieved documents
2.6.6 Publish & Subscribe
22.214.171.124 Publish collection
126.96.36.199 Publish partial collection
188.8.131.52 Publish specific properties
184.108.40.206 Publish multiple partial collections
220.127.116.11 Subscribe using parameters
2.6.7 Allow & Deny
18.104.22.168 Allow & Deny
22.214.171.124 Allow & Deny – Multiple callbacks per DB command
126.96.36.199 MongoDB As Reactive Data Source
188.8.131.52 Inclusion Template
184.108.40.206 Inclusion Template with Single Parameter
220.127.116.11 Inclusion Template with Named Parameters
18.104.22.168 Inclusion Template with variable name
22.214.171.124 Block Template
126.96.36.199 Block Template with Single Parameter
188.8.131.52 Block Template with Named Parameters
184.108.40.206 Reference helper from body template
220.127.116.11 Reference helper from custom template
18.104.22.168 Helper property
22.214.171.124 Helper function
126.96.36.199 Helper function with parameters
2.8.1 Assign Event
2.8.2 Reference document selected from a list
2.8.3 Reference HTML elements
2.8.4 Form with multiple buttons
2.9 Meteor Methods
2.10.1 this.userId – Inside Meteor Method
2.10.2 this.userId – Inside Meteor Publish
2.10.3 Accounts package
2.11.1 Expose template
2.11.2 Expose variable
3.1.1 Add insecure package
3.1.2 Remove insecure package
3.1.3 Insecure application
3.1.4 Secure application
3.2.1 Add autopublish package
3.2.2 Remove autopublish package
3.3.1 Add accounts package
3.3.2 Add User Accounts
3.3.3 Publishing based on user
3.4.1 Add AppCache package
3.4.2 Example application
3.5.1 Add GroundDB package
3.5.2 Example application
3.6 Meteor Persistent Minimongo
3.6.1 Add Meteor Persistent Minimongo package
3.6.2 Example application
3.7 View Model
3.7.1 Create View Model Application
3.7.2 Create Model View Template
3.8 Iron Router
3.8.1 Add Iron Router package
3.8.2 Create Iron Router Application
3.8.3 Create Static Route
3.8.4 Create Dynamic Route
3.8.5 Retrieve Route URL
3.8.7 Attach Static Data to Route
3.8.8 Attach Dynamic Data to Route
3.8.9 Layout Template
3.8.10 Layout Template with multiple regions
4. Demo Applications
4.1.1 Authentication based on this.userId
4.1.2 Add task to current user
4.1.3 Show only user tasks
4.1.4 Switch to Accounts package
4.3 Event Driven
5.3 Cheat Sheets
The Leanpub 60-day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
80% Royalties. Earn $16 on a $20 book.
We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $12 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.