Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    JSBuild 1.0

    Download button

    No screenshots available
    Downloads: 187  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    E. Azer Koculu | More programs
    MIT/X Consortium Lic... / FREE
    October 5th, 2010, 11:08 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    JSBuild description

    A command-line build utility that provides using CommonJS modules on web

    JSBuild is a command-line build utility that provides using CommonJS modules on web without any need of source code modification, works unobtrusive and supports packages specification as well.

    How It Works

    JSBuild consists of a library and a runtime script written in Python. After installation, the _jsbuild_ command will let you to merge your CommonJS modules which are defined in a manifest document, to just one javascript file ready to be run on web browsers.

    The idea behind JSBuild is to generate wrapper forms which are similar to the module patterns being consistently used by the folk in these days. In the other words, JSBuild offers a better module pattern which is compatible with link:http://wiki.commonjs.org/wiki/Modules[Modules] and link:http://wiki.commonjs.org/wiki/Packages[Packages] specifications of CommonJS.

    JSBuild works synchronous to support CommonJS with no exception but supports also nested manifest files and splitting the build file in many pieces which makes possible to load asynchronously any part of the built source code when it's needed. I've been also working on the link:http://github.com/azer/domloader[DOMLoader] project that provides loading DOM dependencies like Javascript, CSS files asynchronously. In conclusion, I think it's better to build source codes in pieces and load those when they are needed, asynchronously. This way lets us to take advantage of using CommonJS' synchronous module specification, as well.

    Download and Install

    Please make sure that your system meets the requirements listed below:
     - Linux or any other Unix distribution, OS X as well.
     - Python 3+

    To Install:
     git clone http://github.com/azer/jsbuild.git
     cd jsbuild
     python3 setup.py install

    Now you should be able to call _jsbuild_ command which merges the Javascript files defined in the specified manifest file. You may run this command without any parameter to test your installation, it should raise an output like this:
     
      ERROR - Missing manifest path. More info with "-h"

    vim: tw=100



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    build utility | CommonJS modules | CommonJS | modules | builder

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM