The CanJS project is growing rapidly. We need to make sure its easy to know what's what as it grows. We need to come up with a organization plan.
I'd like to get more users using the source code rather than downloading. It makes it easier for them to make commits, etc. But at the moment, its difficult for even me to sort out whats going on. We need to make it easy for users to find demos, docs, and tests.
If we structure it like this, we can even make the download cleaner where users can just download the code w/o all the demos and whatnot for more advanced users like us.
I feel like we should structure each module like control
or model
in a structure like the following:
- module
- docs => markdown(s)
- tests => qunit, funcunit, test asset(s)
- demos => demo.html, demo.css, demo.less, etc
- dependencies => things that are specific to this module and don't make sense to source somewhere else
- module.js
I'm not against this, but I can't say I've found this to be a pressing problem. Is this a real problem that you've faced? What specifically is hard to understand? Are there some example folders you could point to?