Howdy all, just wanted to touch base on a few things:
There is a requirejs 2.0 release, and it supports to config values
that may be of interest for dojo, particularly since Rawld was
instrumental in their construction. If you see issues with them,
please feel free to let me know so we can improve it.
Details here, but it allows passing config data to a module via module.config():
This is based off of Dojo's packageMap capability, but basically a way
to alias dependencies to another module ID:
It is different from packageMap in that it works on any module ID, and
there is a "*" config that matches all module IDs, with a more precise
module ID prefix config taking precedence.
And on to something else, this may not be so useful, so feel free to ignore it:
Dojo 2.0 construction
I have started to use github's group capability to organize a set of
modules into a larger cohesive whole, but still giving them enough
individual space to have their own identity. I am doing that with the
requirejs plugins that I used to have in the requirejs repo:
A similar approach for Dojo may make sense, and for dijit (by grouping
widgets under a "dijit" group name). Have a github.com/dojo/array,
github.com/dojo/Observable, etc... This may help people consume just
parts of Dojo without needing to get the full download today, and help
with the "dojo is too big" perception. It might also help identify
areas where there is too much interdependence.
A couple folks at work are using volo to pull down JS
dependencies/manage internal dependencies, and I expect to have
recursive dependency fetching in the 0.2 release. But something like
that kind of tool or cpm that can read dependencies from the
package.json directly from github makes it easy to get just the code
needed for a project.
It would be interesting to just pull down Observable, the pub/sub
stuff and a dijit core to see how that would work for a light mvc
I know there are lots of forces in play for Dojo, so this may not make
sense. Just mentioning something that seems to be working for some