Should I use a resource loader for a SPA, or front-load everything?
Posted
by
Shango
on Stack Overflow
See other posts from Stack Overflow
or by Shango
Published on 2012-09-23T09:15:42Z
Indexed on
2012/09/23
9:37 UTC
Read the original article
Hit count: 279
I've been getting into Backbone.js lately and I'm enjoying it so far. All the examples tend to be simple to-do lists, so it's been a little difficult extrapolating code organization and file structure for a larger/more robust single page application.
I've come to a crossroad:
- Should I use something like Yepnope.js to load models and views as I need them or,
- Combine and minify into fewer files and front-load it all.
- Some combination of both?
Any advice would be appreciated!
© Stack Overflow or respective owner