Labs/Jetpack/Reboot FAQ: Difference between revisions

added another question
m (added link to commonjs module standard)
(added another question)
Line 68: Line 68:


Use the [http://wiki.commonjs.org/wiki/Modules/1.0 CommonJS module standard] to separate different kinds of functionality like this.
Use the [http://wiki.commonjs.org/wiki/Modules/1.0 CommonJS module standard] to separate different kinds of functionality like this.
'''How do we share/find packages?'''
Right now we need a better solution for this.  One super lightweight solution is to just use a wiki page with a simple format that <tt>cfx</tt> can automatically retrieve and parse.  Narwhal uses github for everything and a <tt>catalog.json</tt> file to index packages.  We could potentially use bitbucket... Or if bitbucket/github have a developer API and some concept of "tagging" projects, we might be able to e.g. just define the available packages as all projects tagged with <tt>#cfx-package</tt> or something.
874

edits