You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .docs/angular-meteor/client/content/tutorials/angular1/steps/tutorial.step_09.md
+5-3
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
1
{{#template name="tutorial.step_09.md"}}
2
2
{{> downloadPreviousStep stepName="step_08"}}
3
3
4
+
5
+
Publish and subscribe to data is very different from other methods, such as using REST APIs. So don't miss the articles in the section below for deeper understanding how they work.
6
+
7
+
4
8
Right now our app has no privacy, every user can see all the parties on the screen.
5
9
6
10
So let's add a `public` flag on parties - if a party is public we will let anyone see it, but if a party is private, only the owner can see it.
@@ -252,7 +256,7 @@ It is very important to understand Meteor's Publish-Subscribe mechanism so you d
252
256
Meteor accumulates all the data from the different subscription of a collection in the client, so adding a different subscription in a different
253
257
view won't delete the data that is already in the client.
254
258
255
-
Please read more [here](http://www.meteorpedia.com/read/Understanding_Meteor_Publish_and_Subscribe).
259
+
More information about publications and subscription in [this blog article] (https://medium.com/angular-meteor/coll-pub-sub-with-angular-meteor-cb13fe48f570) and this [meteorpedia article](http://www.meteorpedia.com/read/Understanding_Meteor_Publish_and_Subscribe).
256
260
257
261
# Summary
258
262
@@ -261,8 +265,6 @@ We've added the support of privacy to our parties app.
261
265
We also learned how to use the `Meteor.publish` command to control permissions and the data sent to the client
262
266
and how to subscribe to it with the $meteor.collection publish function.
263
267
264
-
If you are not quite sure what is the difference between collection and publication - you may want to check this article on the [blog] (https://medium.com/angular-meteor/coll-pub-sub-with-angular-meteor-cb13fe48f570)
265
-
266
268
In the next step we will learn how to filter the users list in the client side with AngularJS filters and create a custom filter for our own needs.
0 commit comments