lundi 6 avril 2015

How to include backbone files and sources?


Vote count:

0




I am a PHP (Laravel) developer, and I learned Backbone about 2 weeks ago. I want to use backbone in my Laravel application but I don't know what is better way to calling backbone.js source, underscore.js, mustache.js and ... .


First I think including this files make my page so heavy and large and its not good for low speed Internet users. is that right? (Solution?)




What is the order of including (?) :



  1. backbone

  2. underscore

  3. mustache

  4. other




How should be my codes structure?


I watched a tutorial that was so easy project and he named it's project files as model.js, view.js and etc... . But my project is really big, and I can't just have one model.js file or view.js file (etc...), How to naming my files and how should be my codes structure?



asked 29 secs ago

LASH

35






How to include backbone files and sources?

Aucun commentaire:

Enregistrer un commentaire