Skip to content
mckoss edited this page Apr 11, 2011 · 14 revisions

Roadmap

namespace.js is designed to be simple - without creating functionality that might hinder adoption into multiple projects. The goal is to gain wide adoption of this pattern, so that module developers can more easily share independently developed code.

Never the less, there may be some essential features that are missing, or the ability to extend namespace.js, that could be required by some users. I'll list here features for consideration - please feel free to add more, or discuss.

  1. console.logging - Its sometimes useful to see debug information about forward references and confirming namespaces are loading.
  2. Create Mock namespaces - for testing.
  3. callback hooks - support module loading extensions?
  4. ** _path and .nameOf ** - ability for namespace to read it's own path.
  5. ** _parent **
  6. ** _referenced ** - namespaces referenced by this one - for auto loading.
  7. VERSION support - do something intelligent in multi-loading scenarios.

See also the original, more featurful (and idiosyncratic) pageforest namespace.js.

See Design Questions

Namespace-plus

There are some very basic JavaScript extensions, that nearly every project needs to (or should) add. Many of these are covered in the larger libraries. But I felt it would be useful to implement *namespace.js-friendly" versions of some of these. They also serve as models for how to write namespace.js style modules in general.

  1. Types.js
  2. Funcs.js

To Do

  1. Create Google Clusure externs file.

Clone this wiki locally