Few days ago, I was searching around for a boilerplate setup for Backbone.Marionette with RequireJS. I was looking for something that is ready for use instantly without any prerequisite or additional dependency. I found few good solutions. But unfortunately none of them seems to be as simple and straightforward as I was expecting.
So, I had to write my own boilerplate.
It’s just –
- A simple Marionette setup with RequireJS.
- A tiny Marionette application. So getting started is easy.
- Integrated with Twitter Bootstrap 3.1.1
- No dependency on any additional tool or library for the first run.
So, just get the source and start coding!
BTW, why bother with RequireJS? Because for implementing AMD in any Javascript application, it’s one of the best and most popular solution.
If you are not familiar with Backbone.Marionette yet, here is how it introduces itself –
Backbone.Marionette is a composite application library for Backbone.js that aims to simplify the construction of large scale JavaScript applications.
So, better late than never! Try it!
Thanks for the fantastic work! I forked this repo at https://github.com/midnightcodr/marionette-boilerplate so the codes will work with the newest version of marionette.js. I have created a PR.
Thanks man this is what I was looking for a living example how how this was integrated. really appreciated.