Comments (8)
Hi Kevin,
this issue has been bought up a few times now so I will get back to you with a solid answer.
I believe their will be a mixture of "modules" and the way I implemented the file structure.
from backbonetutorials.
Thanks Thom
from backbonetutorials.
Hello Thomas,
I tried to create a modular backbone, I haven't add models/controllers but it has views, so anyway here's the downloadable app: http://dl.dropbox.com/u/13224004/modular.zip, drop in to your localhost web root, and http://localhost/modular/app/
Tell me what you think.
Cheers!
Kevin
from backbonetutorials.
Hey,
awesome work so far.
Some points from my look over the code.
- I would prefer templates are abstracted out of the Javascript src folder so it is simpler for designers to get in to the html and change things when they need such as adding classes etc
- I wouldn't really include such a direct UI manipulation in the router.js
- Probably a good step forwards is starting to make sure nothing is global, therefore wrapping jquery and the rest so that they can be properly included as dependencies.
Great initiative, will have another look at it tonight.
from backbonetutorials.
Hi Thomas, i updated it: http://dl.dropbox.com/u/13224004/modular-js.zip
Also, i was thinking about using onilabs.com/apollo for this.. any thoughts if that would be a good alternative? i tried it though, but i have a problem in backbone, which if it sees that it has a require, it automatically executes require('underscore');
from backbonetutorials.
Also, Thomas, I dont know how i find it but, its a very good start learning about http://angularjs.org/#/
from backbonetutorials.
I personally don't like reactive documents such as angularjs
from backbonetutorials.
In regards to the Backbone using require this is a known issue and is being looked at here
jashkenas/backbone#688
from backbonetutorials.
Related Issues (20)
- There was an error converting '_posts/2011-01-26-what-is-a-collection.md/#excerpt'.
- Website not loading, lost-redirect? HOT 2
- Routing in modular-backbone example
- what is a model amend
- Backbone infinite scroll
- Recommended XSS protection htmlDecode() isn't actually safe HOT 1
- Uncaught ReferenceError: users not defined HOT 1
- Backbonejs tutorial HOT 1
- Nohm Error HOT 1
- about update package.json
- : ReferenceError: users is not defined HOT 1
- Deprecation message after jekyll serve
- Using other character issue
- Access Control Expose Headers HOT 1
- Wrong tutorial, missing an argument in a function... HOT 2
- Config is Missing HOT 3
- home page suggestions HOT 1
- Depreciated jquery
- JQuery doesn't see .html() for script tags in Safari 7.0.2
- console log does not show up
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backbonetutorials.