Home Are Modules, Rather Than Frameworks, the Future of JavaScript Development?

Are Modules, Rather Than Frameworks, the Future of JavaScript Development?

I’m at JSConf in Portland, OR today. I just watched a presentation by John Hann from unscriptable making the case for modules instead of frameworks and libraries. Frameworks and libraries add a lot of weight to your applications. Also, they are difficult to migrate away from – creating some lock-in for a developer. Modules are meant to alleviate these problems, while still providing developers with a set of tools to speed-up development.

Hann talked about the Asynchronous Module Definition (AMD) module format, a CommonJS proposed standard that can be used today.You can find a previous presentation by Hann on the subject here.

Hann built a module loader called Curl.js. RequireJS is more established module loader.

CommonJS is an initiative to create JavaScript standards such a standard library JavaScript, a module system and other universal tools. The hope is that “The CommonJS API will fill that gap by defining APIs that handle many common application needs, ultimately providing a standard library as rich as those of Python, Ruby and Java.”

The reaction to Hann’s presentation from developers here might be described as optimistic skepticism. “It sounds good, but it seems utopian,” says Keith Norman, a developer for GroupOn. “It seems like a little much to shoot for. I’d still like to take advantage of the benefits that frameworks provide.”

What do you think? Is AMD over-reaching, or is it the future of building JavaScript applications?

About ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the gambling and blockchain industries for major developments, new product and brand launches, game releases and other newsworthy events. Editors assign relevant stories to in-house staff writers with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.

Get the biggest iGaming headlines of the day delivered to your inbox

    By signing up, you agree to our Terms and Privacy Policy. Unsubscribe anytime.

    Gambling News

    Explore the latest in online gambling with our curated updates. We cut through the noise to deliver concise, relevant insights, keeping you informed about the ever-changing world of iGaming and its most important trends.

    In-Depth Strategy Guides

    Elevate your game with tailored strategies for sports betting, table games, slots, and poker. Learn how to maximize bonuses, refine your tactics, and boost your chances to beat the house.

    Unbiased Expert Reviews

    Honest and transparent reviews of sportsbooks, casinos and poker rooms crafted through industry expertise and in-depth analysis. Delve into intricacies, get the best bonus deals, and stay ahead with our trustworthy guides.