๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Building single-page Web apps with Meteor: build real-time apps at lightning speed using the most powerful full-stack JavaScript framework

โœ Scribed by Vogelsteller, Fabian


Publisher
Packt Publishing
Year
2015
Tongue
English
Leaves
198
Series
Community experience distilled
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


Meteor is the best JavaScript platform on the Web that allows you to build real-time web applications quickly and easily and in pure JavaScript. It comes with a full build process that takes care of everything, from development to production, with no need for configuration. This book takes you from the installation of Meteor to building a fully working web blog (including backend) to create and edit posts.You will start with the basic concepts and folder structure of a Meteor project, learning how Meteor templates work. Learn how to retrieve and send data to the server and manipulate the database content. Routing will later make your example app look and behave like a real website. Next, you'll get to grips with Meteor's reactivity concept that can rerun functions when data changes while you're building your own reactive object, and package it later for drop-in use. After your app is ready, the book continues with ways of deploying your app on different types of servers. Finally, we will take a look at testing packages and the application itself.

โœฆ Table of Contents


Cover
Copyright
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Table of Contents
Preface
Chapter 1: Getting Started with Meteor
The full-stack framework of Meteor
Meteor's requirements
Using Chrome's developer tools
Using Git and GitHub
Installing Meteor
Installing Git
Creating our first app
Creating a good folder structure
Preadd style files
Adding basic packages
Adding a core package
Adding a third-party package
Variable scopes
Meteor's folder conventions and loading order
Loading assets on the server
Meteor's command-line tool Updating MeteorDeploying Meteor
Summary
Chapter 2: Building HTML Templates
Writing templates in Meteor
Building the basic templates
Adding templates and partials
Displaying data with template helpers
Setting the data context for a template
Using the {{#with}} block helper
""this"" in template helpers and template callbacks
Adding events
Block helpers
Listing posts
Spacebars syntax
Accessing parent data contexts
Passing data to helpers
Summary
Chapter 3: Storing Data and Handling Collections
Meteor and databases
Setting up a collection
Adding post examples Querying a collectionUpdating a collection
Database everywhere
Differences between client and server collections
Summary
Chapter 4: Controlling the Data Flow
Syncing data --
the current Web versus the new Web
Removing the autopublish package
Publishing data
Publishing only parts of data
Publishing specific fields
Lazy loading posts
Switching subscriptions
Some notes on data publishing
Summary
Chapter 5: Making Our App Versatile with Routing
Adding the iron:router package
Setting up the router
Switching to a layout template
Adding another route Moving the posts subscription to the Home routeSetting up the post route
Creating a single-post publication
Adding the post route
Linking the posts
Changing the website's title
Summary
Chapter 6: Keeping States with Sessions
Meteor's session object
A better way for simple reactivity
Using sessions in template helpers
Session and hot code pushes
Rerunning functions reactively
Stopping reactive functions
Using autorun in a template
The reactive session object
Summary
Chapter 7: Users and Permissions
Meteor's accounts packages
Adding the accounts packages Adding admin functionality to our templatesAdding a link for new posts
Adding the link to edit posts
Adding the login form
Creating the template to edit posts
Creating the admin user
Adding permissions
A note on security
Creating routes for the admin
Preventing visitors from seeing the admin routes
Summary
Chapter 8: Security with the Allow and Deny Rules
Adding a function to generate slugs
Creating a new post
Saving a post
Editing posts
Updating the current post
Restricting database updates
Removing the insecure package
Adding our first allow rules
Adding a deny rule

โœฆ Subjects


Computer Science;Programming


๐Ÿ“œ SIMILAR VOLUMES


Building Single-page Web Apps with Meteo
โœ Fabian Vogelsteller ๐Ÿ“‚ Library ๐Ÿ“… 2014 ๐Ÿ› Packt Publishing ๐ŸŒ English

<p><b>Build real-time apps at lightning speed using the most powerful full-stack JavaScript framework</b></p> <h2>About This Book</h2><ul><li>Create a complete web blog from frontend to backend that uses only JavaScript</li><li>Understand how Web 2.0 is made by powerful browser-based applications</l

Building Single-page Web Apps with Meteo
โœ Fabian Vogelsteller ๐Ÿ“‚ Library ๐Ÿ“… 2014 ๐Ÿ› Packt Publishing ๐ŸŒ English

<p><b>Build real-time apps at lightning speed using the most powerful full-stack JavaScript framework</b></p> <h2>About This Book</h2><ul><li>Create a complete web blog from frontend to backend that uses only JavaScript</li><li>Understand how Web 2.0 is made by powerful browser-based applications</l

Building Single-page Web Apps with Meteo
โœ Fabian Vogelsteller ๐Ÿ“‚ Library ๐Ÿ“… 2014 ๐Ÿ› Packt Publishing ๐ŸŒ English

<p><b>Build real-time apps at lightning speed using the most powerful full-stack JavaScript framework</b></p> <h2>About This Book</h2><ul><li>Create a complete web blog from frontend to backend that uses only JavaScript</li><li>Understand how Web 2.0 is made by powerful browser-based applications</l

Building Single-page Web Apps with Meteo
โœ Fabian Vogelsteller ๐Ÿ“‚ Library ๐Ÿ“… 2014 ๐Ÿ› Packt Publishing ๐ŸŒ English

Meteor is the best javascript platform on the Web that allows you to build real-time web applications quickly and easily and in pure javascript. It comes with a full build process that takes care of everything, from development to production, with no need for configuration. This book takes you from

Building Single-page Web Apps with Meteo
โœ Fabian Vogelsteller ๐Ÿ“‚ Library ๐Ÿ“… 2014 ๐Ÿ› Packt Publishing - ebooks Account ๐ŸŒ English

<p><b>Build real-time apps at lightning speed using the most powerful full-stack JavaScript framework</b></p> <h2>About This Book</h2><ul><li>Create a complete web blog from frontend to backend that uses only JavaScript</li><li>Understand how Web 2.0 is made by powerful browser-based applications</l