Kyle spends a few minutes answering some questions about the tempting engine. He also talks about using other frameworks like React and Ember.
(mystic music)…- [Student] Quick question.…- [Kyle] Yeah?…- [Student] Is there a way that I can tell the watch…to ignore certain file names.…- Oh yeah, if you look at the documentation…for the watch module there's all kinds…of special configurations and filters and stuff.…- [Student] Great, expect special files?…- Yeah.…I don't see any other questions, couple of people…just mentioning that they do…or don't like certain things about the templates.…
Alright, so the next thing that we want to talk about,…that's how I'm reusing my template engine.…So I'm doing my rendering exactly the same in both places.…And actually let me just prove that to you.…So here I show you how I'm doing it on the server.…I'm calling that View.getPageHTML.…If I pull up, if I open up web, js, Pages.js,…I'm sorry, View.js, no let's look at Pages.…Pages is my page controller.…If I look at that, this is the thing…that's running in the browser.…And whenever something is asked for, like if we try…to load up a, so this one is my click handler for links…
Note: This course was created on 03/29/2016 by Frontend Masters. We are pleased to host this content in our library.
- Carousels, panes, and modules
- Middle-end architecture
- Secure phrase generator
- Routing functions
- Calling the API
- Rendering on the page
- Shared data validation
Skill Level Intermediate
2. Organizing Code
5. Adding a Shared Module
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.