This video covers single page applications.
- [Instructor] In the previous section, we defined Meteor and created our folder structure for our sample application. In this section, Routing and Layout, we're going to take a look at Single Page Applications. We'll also take a look at routing URLs and callback methods for our routes. In our first video, we'll take a look at what a Single Page Application is, why we use them, and why we need routing. Let's start with Single Page Applications.
In order to understand Single Page Applications, you need to first look at the traditional web application structure. With a traditional web application, each page is loaded separately, and even if everything on the page is almost identical, you still need to load the entire page contents every time. This takes a little bit longer. If you were to break it out into layout regions, you could reduce the amount of load time for each page by just loading the content that is changing on each of the pages.
Within Meteor, Meteor loads the template into memory and then we can swap out sections of a page instead of the entire page. This is known as Single Page Web Applications and routing. Let's move onto the Routing URLs.
George Mcknight starts by carefully designing an application structure and building a single-page layout with multipage routing and authentication. Then he reviews the database data, and looks at how to work with subscriptions and queries. George also dives into the options for templating, with a look at dynamic Blaze templates and the Spacebars templating language. Learn about event handling and then find out how to test your application using Cucumber and Jasmine. After that, George deploys the application locally on the Meteor server, and then to Amazon to set it up for frequent updates and hot code deployment. Finally, you'll learn how to work with third-party integrations and set up REST endpoints to interact with other external services such as PayPal.
- Routing URLs
- Using callback methods
- Setting up user authentication
- Defining a collection
- Setting up subscriptions and queries
- Using templates
- Working with data on the server
- Testing a Meteor application
- Deploying a Meteor application