I've provided some exercise files for you to use as you progress through this course. So, let's take a look at how those are structured. Now, I've placed the exercise files folder right here on my desktop to make it easy to use. But that's not required, you can place these exercise files on your computer, wherever you normally keep your code while you're working. The desktop is just to make things easy to illustrate, as we go through the course. Let's open the folder. And you'll see that there are folders in here that correspond to the various chapters that we'll be going through in the course, as well as some other files.
So, don't worry if they're not already there. As we go through the course, we will download them, and then you will have them. Let's take a look inside one of the chapters. One of the things that you'll notice is that I provided two forms of each example. One of them is named _finished, and one of them is named _start. The _finished file contains the finished state for that particular example. So, if you want to jump ahead, and see what the code looks like in its finished state, you can go ahead and do that, or you can run it in the browser, see how it works, fire up the developer tools, step through it, it's really up to you.
Or, you can take the _start state, and work along with me as we build towards the finished state. So, the way I'm going to work is, I'll open that _start file and then copy the code snippets from the example snippets.txt file, in order to build the finished state. But again, that's just suggested workflow, if that works for you, great. However you want to work with this files, that's entirely up to you. Alright, so now that we've seen how the exercise files are organized, let's go ahead and get started.
- What is templating?
- Defining templates in jQuery Template
- Using simple Mustache templates with sections and conditions
- Adding conditionals and loops to Handlebars templates
- Working with Dust templates