From 25ea45e9ac35f946653d2fad6e4ad64777d3af2d Mon Sep 17 00:00:00 2001 From: Sacha Greif Date: Mon, 24 Feb 2014 15:51:31 +0900 Subject: [PATCH] added chapters --- 01-introduction.md.erb | 7 +++++++ 02-getting-started.md.erb | 7 +++++++ 02s-deploying.md.erb | 8 ++++++++ 03-templates.md.erb | 7 +++++++ 03s-using-github.md.erb | 9 +++++++++ 04-collections.md.erb | 8 ++++++++ 04s-publications-and-subscriptions.md.erb | 8 ++++++++ 05-routing.md.erb | 8 ++++++++ 05s-the-session.md.erb | 8 ++++++++ 06-adding-users.md.erb | 8 ++++++++ 06s-reactivity.md.erb | 9 +++++++++ 07-creating-posts.md.erb | 7 +++++++ 07s-latency-compensation.md.erb | 8 ++++++++ 08-editing-posts.md.erb | 8 ++++++++ 08s-allow-and-deny.md.erb | 8 ++++++++ 09-errors.md.erb | 7 +++++++ 09s-creating-a-meteorite-package.md.erb | 8 ++++++++ 10-comments.md.erb | 8 ++++++++ 10s-denormalization.md.erb | 8 ++++++++ 11-notifications.md.erb | 7 +++++++ 11s-advanced-reactivity.md.erb | 8 ++++++++ 12-pagination.md.erb | 7 +++++++ 13-voting.md.erb | 7 +++++++ 13s-advanced-publications.md.erb | 8 ++++++++ 14-animations.md.erb | 7 +++++++ 14s-vocabulary.md.erb | 8 ++++++++ 26 files changed, 201 insertions(+) create mode 100644 01-introduction.md.erb create mode 100644 02-getting-started.md.erb create mode 100644 02s-deploying.md.erb create mode 100644 03-templates.md.erb create mode 100644 03s-using-github.md.erb create mode 100644 04-collections.md.erb create mode 100644 04s-publications-and-subscriptions.md.erb create mode 100644 05-routing.md.erb create mode 100644 05s-the-session.md.erb create mode 100644 06-adding-users.md.erb create mode 100644 06s-reactivity.md.erb create mode 100644 07-creating-posts.md.erb create mode 100644 07s-latency-compensation.md.erb create mode 100644 08-editing-posts.md.erb create mode 100644 08s-allow-and-deny.md.erb create mode 100644 09-errors.md.erb create mode 100644 09s-creating-a-meteorite-package.md.erb create mode 100644 10-comments.md.erb create mode 100644 10s-denormalization.md.erb create mode 100644 11-notifications.md.erb create mode 100644 11s-advanced-reactivity.md.erb create mode 100644 12-pagination.md.erb create mode 100644 13-voting.md.erb create mode 100644 13s-advanced-publications.md.erb create mode 100644 14-animations.md.erb create mode 100644 14s-vocabulary.md.erb diff --git a/01-introduction.md.erb b/01-introduction.md.erb new file mode 100644 index 0000000..fc0b75a --- /dev/null +++ b/01-introduction.md.erb @@ -0,0 +1,7 @@ +--- +title: Introduction +slug: introduction +date: 0001/01/01 +number: 1 +contents: Learn what makes Meteor special.|Read about the story of this book.|Learn how this book is organized. +--- diff --git a/02-getting-started.md.erb b/02-getting-started.md.erb new file mode 100644 index 0000000..fd469fc --- /dev/null +++ b/02-getting-started.md.erb @@ -0,0 +1,7 @@ +--- +title: Getting Started +slug: getting-started +date: 0002/01/01 +number: 2 +contents: Install Meteor & Meteorite.|Learn about the 5 types of Meteor packages.|Setup the file structure of your Meteor app. +--- diff --git a/02s-deploying.md.erb b/02s-deploying.md.erb new file mode 100644 index 0000000..fb9a475 --- /dev/null +++ b/02s-deploying.md.erb @@ -0,0 +1,8 @@ +--- +title: Deployment +slug: deploying +date: 0002/01/02 +number: 2.5 +sidebar: true +contents: Learn how to deploy on Meteor.com.|Learn how to deploy on Modulus.|Learn how to deploy on your own server using Meteor Up. +--- diff --git a/03-templates.md.erb b/03-templates.md.erb new file mode 100644 index 0000000..2ba8fe7 --- /dev/null +++ b/03-templates.md.erb @@ -0,0 +1,7 @@ +--- +title: Templates +slug: templates +date: 0003/01/01 +number: 3 +contents: Learn about Meteor's templating language, Handlebars.|Create your first three templates.|Learn how Meteor managers work.|Get a basic prototype working with static data. +--- diff --git a/03s-using-github.md.erb b/03s-using-github.md.erb new file mode 100644 index 0000000..6268021 --- /dev/null +++ b/03s-using-github.md.erb @@ -0,0 +1,9 @@ +--- +title: Using Git & GitHub +slug: github +date: 0003/01/02 +number: 3.5 +sidebar: true +contents: Learn how to use GitHub to follow along with the book. +--- + diff --git a/04-collections.md.erb b/04-collections.md.erb new file mode 100644 index 0000000..f1785e1 --- /dev/null +++ b/04-collections.md.erb @@ -0,0 +1,8 @@ +--- +title: Collections +slug: collections +date: 0004/01/01 +number: 4 +contents: Learn about Meteor's core feature, realtime collections.|Understand how Meteor's data synchronization works.|Integrate collections with our templates.|Turn our basic prototype into a functioning realtime application! +--- + diff --git a/04s-publications-and-subscriptions.md.erb b/04s-publications-and-subscriptions.md.erb new file mode 100644 index 0000000..ee2db0f --- /dev/null +++ b/04s-publications-and-subscriptions.md.erb @@ -0,0 +1,8 @@ +--- +title: Publications and Subscriptions +slug: publications-and-subscriptions +date: 0004/01/02 +number: 4.5 +sidebar: true +contents: Understand how publications and subscriptions work.|Learn what the default Autopublish package does.|See a few more examples of publication patterns. +--- diff --git a/05-routing.md.erb b/05-routing.md.erb new file mode 100644 index 0000000..9aeb5d1 --- /dev/null +++ b/05-routing.md.erb @@ -0,0 +1,8 @@ +--- +title: Routing +slug: routing +date: 0005/01/01 +number: 5 +contents: Learn about routing in Meteor.|Create post discussion pages, with unique URLs.|Learn how to link to those URLs properly. +--- + diff --git a/05s-the-session.md.erb b/05s-the-session.md.erb new file mode 100644 index 0000000..9586c17 --- /dev/null +++ b/05s-the-session.md.erb @@ -0,0 +1,8 @@ +--- +title: The Session +slug: the-session +date: 0005/01/02 +number: 5.5 +sidebar: true +contents: Learn about the Meteor Session|Learn about the autorun function|Learn about Hot Code Reload +--- diff --git a/06-adding-users.md.erb b/06-adding-users.md.erb new file mode 100644 index 0000000..47081f3 --- /dev/null +++ b/06-adding-users.md.erb @@ -0,0 +1,8 @@ +--- +title: Adding Users +slug: adding-users +date: 0006/01/01 +number: 6 +contents: Learn about user accounts in Meteor.|Add all the authentication we'll need for Microscope.|Use the built-in accounts-ui package to get an instant user interface. +--- + diff --git a/06s-reactivity.md.erb b/06s-reactivity.md.erb new file mode 100644 index 0000000..fe661b4 --- /dev/null +++ b/06s-reactivity.md.erb @@ -0,0 +1,9 @@ +--- +title: Reactivity +slug: reactivity +date: 0006/01/02 +number: 6.5 +sidebar: true +contents: Learn about Meteor's reactive code dependency system.|Understand the motivations and how it makes code declarative.|Learn to use advanced code that uses reactive data. +--- + diff --git a/07-creating-posts.md.erb b/07-creating-posts.md.erb new file mode 100644 index 0000000..5b61140 --- /dev/null +++ b/07-creating-posts.md.erb @@ -0,0 +1,7 @@ +--- +title: Creating Posts +slug: creating-posts +date: 0007/01/01 +number: 7 +contents: Learn how to submit a post client-side.|Implement a simple security check.|Restrict access to the post submit form.|Learn to use a server-side Method for added security. +--- diff --git a/07s-latency-compensation.md.erb b/07s-latency-compensation.md.erb new file mode 100644 index 0000000..cb7cc31 --- /dev/null +++ b/07s-latency-compensation.md.erb @@ -0,0 +1,8 @@ +--- +title: Latency Compensation +slug: latency-compensation +date: 0007/01/02 +number: 7.5 +sidebar: true +contents: Understand latency compensation.|Slow your app down and see what's going on.|Learn how Meteor Methods call each other. +--- diff --git a/08-editing-posts.md.erb b/08-editing-posts.md.erb new file mode 100644 index 0000000..1c256a1 --- /dev/null +++ b/08-editing-posts.md.erb @@ -0,0 +1,8 @@ +--- +title: Editing Posts +slug: editing-posts +date: 0008/01/01 +number: 8 +contents: Add a form for editing your posts.|Set up edit permissions.|Restrict which properties can be edited. +--- + diff --git a/08s-allow-and-deny.md.erb b/08s-allow-and-deny.md.erb new file mode 100644 index 0000000..6f561f1 --- /dev/null +++ b/08s-allow-and-deny.md.erb @@ -0,0 +1,8 @@ +--- +title: Allow and Deny +slug: allow-and-deny +date: 0008/01/02 +number: 8.5 +sidebar: true +contents: Learn about Allow and Deny callbacks.|Understand in which order callbacks are called. +--- diff --git a/09-errors.md.erb b/09-errors.md.erb new file mode 100644 index 0000000..d06f7e8 --- /dev/null +++ b/09-errors.md.erb @@ -0,0 +1,7 @@ +--- +title: Errors +slug: errors +date: 0009/01/01 +number: 9 +contents: Create a better mechanism for displaying errors and messages.|Learn how to use `Template.rendered` to know when a user has seen an error.|Use a router filter to make sure errors are only seen once. +--- diff --git a/09s-creating-a-meteorite-package.md.erb b/09s-creating-a-meteorite-package.md.erb new file mode 100644 index 0000000..26fd5bc --- /dev/null +++ b/09s-creating-a-meteorite-package.md.erb @@ -0,0 +1,8 @@ +--- +title: Creating a Meteorite Package +slug: creating-a-meteorite-package +date: 0009/01/02 +number: 9.5 +sidebar: true +contents: Write a local in-app package.|Write some tests for your package.|Release your package on Atmosphere. +--- diff --git a/10-comments.md.erb b/10-comments.md.erb new file mode 100644 index 0000000..207bad4 --- /dev/null +++ b/10-comments.md.erb @@ -0,0 +1,8 @@ +--- +title: Comments +slug: comments +complete: 100 +date: 0010/01/01 +number: 10 +contents: Display existing comments.|Add a comment posting form.|Learn how to load only the current post's comments.|Add a comment count property to posts. +--- diff --git a/10s-denormalization.md.erb b/10s-denormalization.md.erb new file mode 100644 index 0000000..20bf7e3 --- /dev/null +++ b/10s-denormalization.md.erb @@ -0,0 +1,8 @@ +--- +title: Denormalization +slug: denormalization +date: 0010/01/02 +number: 10.5 +sidebar: true +contents: Understand what denormalization is.|Compare Mongo with traditional relational databases.|Learn when you should *not* denormalize your data. +--- diff --git a/11-notifications.md.erb b/11-notifications.md.erb new file mode 100644 index 0000000..ae5895c --- /dev/null +++ b/11-notifications.md.erb @@ -0,0 +1,7 @@ +--- +title: Notifications +slug: notifications +date: 0011/01/01 +number: 11 +contents: Add a notifications collection to notify users of other user's actions.|Learn how to only share the relevant notifications with a given user.|Learn more about Meteor publications and subscriptions. +--- diff --git a/11s-advanced-reactivity.md.erb b/11s-advanced-reactivity.md.erb new file mode 100644 index 0000000..1a42fbd --- /dev/null +++ b/11s-advanced-reactivity.md.erb @@ -0,0 +1,8 @@ +--- +title: Advanced Reactivity +slug: advanced-reactivity +date: 0011/01/02 +number: 11.5 +sidebar: true +contents: Learn about how to create reactive data sources in Meteor.|Create a simple example of a reactive data source.|See how Deps compares to AngularJS. +--- diff --git a/12-pagination.md.erb b/12-pagination.md.erb new file mode 100644 index 0000000..ac33061 --- /dev/null +++ b/12-pagination.md.erb @@ -0,0 +1,7 @@ +--- +title: Pagination +slug: pagination +date: 0012/01/01 +number: 12 +contents: Learn more about Meteor's subscriptions, and how we can use them to control data.|Implement infinite-style pagination.|Use the `iron-router-progress` package to implement a nifty iOS-style progress bar.|Create a special subscription to deal with direct links to posts page. +--- diff --git a/13-voting.md.erb b/13-voting.md.erb new file mode 100644 index 0000000..ac4d2e9 --- /dev/null +++ b/13-voting.md.erb @@ -0,0 +1,7 @@ +--- +title: Voting +slug: voting +date: 0013/01/01 +number: 13 +contents: Build a system where users can vote on posts.|Rank our posts by vote on a "best" post page.|Learn how to write a general handlebars helper.|Learn a little more about data security in Meteor.|Cover some interesting performance considerations in MongoDB. +--- diff --git a/13s-advanced-publications.md.erb b/13s-advanced-publications.md.erb new file mode 100644 index 0000000..a74468d --- /dev/null +++ b/13s-advanced-publications.md.erb @@ -0,0 +1,8 @@ +--- +title: Advanced Publications +slug: advanced-publications +date: 0013/01/02 +number: 13.5 +sidebar: true +contents: Learn more advanced patterns for manipulating publications.|See just how flexible publications and subscriptions can get. +--- diff --git a/14-animations.md.erb b/14-animations.md.erb new file mode 100644 index 0000000..92031b0 --- /dev/null +++ b/14-animations.md.erb @@ -0,0 +1,7 @@ +--- +title: Animations +slug: animations +date: 0014/01/01 +points: 10 +contents: See what happens behind the scenes when Meteor swaps two DOM elements.|Learn how to animate the reordering of posts.|Learn how to animate the insertion of new posts. +--- diff --git a/14s-vocabulary.md.erb b/14s-vocabulary.md.erb new file mode 100644 index 0000000..36a39c5 --- /dev/null +++ b/14s-vocabulary.md.erb @@ -0,0 +1,8 @@ +--- +title: Meteor Vocabulary +slug: meteor-vocabulary +date: 0014/01/02 +number: 14.5 +sidebar: true +contents: Review a few common Meteor terms. +---