Wednesday, August 22, 2012

uncommon.js

A good friend of mine named Mike Jeffery has created a new javascript tool called uncommon.js.  Currently  no other tool lets you build a script without having all of the dependencies at package time and so Mike created one for a project our company is working on.  If you need such a tool please check out https://github.com/mjeffery/uncommon.  This tool is still in alpha so be nice about bugs :)

More info:
Modern javascript libraries like Backbone and ember.js often require lower-level libraries that are very common, heavyweight, or use shared-state configuration. For example: underscore or jQuery. The developers want to provide a single, prebuilt script but won't, can't, or shouldn't include the necessary libraries. uncommon is an alternative to the complicated and/or project specific tools used for packaging these scripts without their runtime dependencies.

With uncommon you can write and organize your library or application as simple CommonJS modules and then compile them into a single script. uncommoncan import dependencies from the global scope and expose them as modules; allowing your code to depend on shared libraries or legacy scripts that may already be loaded on the page. 'uncommon' can also export your module as a global symbol so legacy or inline scripts can use it without any loaders or modification. Projects configured for use with 'uncommon' are compatible with other CommonJS runtimes and package managers (such as npm).



Phoenix

I am resurrecting this tech blog for notes related to Azure Logic Apps with SAP.