Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Getting Started with Meteor.js JavaScript Framework - Second Edition
  • Table Of Contents Toc
  • Feedback & Rating feedback
Getting Started with Meteor.js JavaScript Framework - Second Edition

Getting Started with Meteor.js JavaScript Framework - Second Edition

By : Isaac Strack
4.2 (5)
close
close
Getting Started with Meteor.js JavaScript Framework - Second Edition

Getting Started with Meteor.js JavaScript Framework - Second Edition

4.2 (5)
By: Isaac Strack

Overview of this book

This book is for developers or students who have a working knowledge of JavaScript and HTML, and want to learn how to quickly develop full-stack web applications using pure JavaScript.
Table of Contents (14 chapters)
close
close

Customizing results


There is one more thing we should take into consideration when it comes to security and usability of our app. What if we could enable multiple users to use the Lending Library, with each user only able to see the items that belong to them? If we did this, we could stop people from being able to see what kinds of things other people own, and at the same time, we could allow each person to track their own stuff. We originally set out to just create an app for ourselves, but with a little tweaking, we can let anyone use it, and they'll think we're awesome and maybe buy us lunch! Or...a new wrench!

Modifying Meteor.publish()

In preparation for multiple people using our application, we need to make sure that no one can see anyone else's stuff. This is done inside the Meteor.publish() declaration for categories. Logically, if we limit which categories can be seen by a user, this limitation will cascade to the visible items because items are found inside categories.

Open LendLibServer...

Limited Time Offer

$10p/m for 3 months

Get online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech and supported with AI assistants
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon

Create a Note

Modal Close icon
You need to login to use this feature.

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note