Backbone Application Walkthrough Part 5: RequireJS - Video Tutorial

Finally! We’ve made it to the end of the Backbone.js Application Walkthrough video tutorial series. In this final video, we make few small adjustments for the sake of organization and a bunch of other changes that convert the application to work using RequireJS. Almost every file gets touched in this video, but each only receives minor changes in order to create an overall major change in modularity and optimization.

Backbone.js Video Tutorial Series

Couple Notes

I have a couple notes to make about the video before you watch it. First off, if you didn’t already know, jQuery, as of version 1.7, supports the AMD specification. It will check for the existence of a define function and use it if it exists. Also, I didn’t go much into how RequireJS works, so if you’re not familiar with it, then I would read my post comparing it to $script.js or this introduction on the Adobe Developer Connection. Also, most of the config.js file used code from the Backbone Boilerplate project. Finally this project is now up on GitHub in the Wine Cellar Repository.

JavaScript Code

I won’t bother posting any of the code on here. If you want to see the code you can go to the GitHub repository that I mentioned above the video.

Wrapping it all up Nice

If you haven’t watched the other videos in the series I would definitely recommend them. I’m not saying that I’m an awesome screencaster, but there’s definitely a lot you can learn from them and if you don’t understand what’s going, they can fill in a lot of the gaps. Anyway, I’m glad I’m finally finished with this series. It’s been fun being able to really get into a larger chunk of code again. It’s been a while. But it’s time to move on. I’ll still be doing stuff with Backbone (mostly personal projects), but I won’t be bombarding you poor readers with constant Backbone anymore. Look forward to hearing about Node.js and Unit Testing, neither of which I have much if any experience in, so it’ll be a learning experience for all of us. As always God Bless and Happy Coding!

Author: Joe Zimmerman

Author: Joe Zimmerman Joe Zimmerman has been doing web development ever since he found an HTML book on his dad's shelf when he was 12. Since then, JavaScript has grown in popularity and he has become passionate about it. He also loves to teach others though his blog and other popular blogs. When he's not writing code, he's spending time with his wife and children and leading them in God's Word.