A simple introduction to using Iron Router in your existing snippets application, enabling both client- and server-side routing.
- Today we will be going over the second video…in section three, creating clean Web and REST services…using Iron Router Templates.…We will apply this specifically to our Snippets Application…so we'll have a Global Configuration…so that no matter what we put in…it will go directly into the Iron Router Main Template.…We will apply that template, and then we will set up…for server-side routing.…So the first thing that we need to do…is put a wrapper our initial body tag…with it's media templates inside of our Snippets.HTML.…
This is a little bit brute force…but it's a luster tip of what you can do…inside of Iron Router so we're going to go ahead…and create a template tag around this body.…So we're going to go ahead and type inside of here…template name = main.…Use autocomplete to create the template and template tag…and put that at the bottom.…There we go, so now we've got a wrapper…around our main body tag.…And we have our template declarations inside of there…toolbar and snippets.…
And we are ready to tell Iron Router to use this…
Meteor is an incredibly powerful, impossibly fun platform for building responsive web and mobile applications. Meteor uses modular components, full-stack reactivity, and data on the wire, leading the charge toward truly effective application development.
Learning Meteor Application Development will get you up and running on the Meteor platform and on your way to creating web and mobile applications in hours instead of weeks. By taking advantage of all of Meteor's capabilities, you can take your development skills to the next level and build those "killer apps" you've been dreaming about.
Author Isaac Strack begins by installing Meteor, configuring the development environment, and building a baseline application. Then he shows how to create a full-stack application and build a simple, elegant, and data-reactive interface. He connects that UI to back-end services by creating a MongoDB data collection, Meteor DDP services, and a RESTful API. Finally, you'll learn how to test the application and deploy it to Meteor's servers or to a customized production environment, to show it off to the world.
- Setting up Meteor
- Creating your first app with Meteor
- Displaying collections
- Adding content through user input
- Securing your app
- Creating web and REST services
- Creating a responsive UI
- Deploying a Meteor app