Paul Krill
Editor at Large

DoneJS JavaScript framework gets faster

news
Jan 9, 20192 mins

Its incremental rendering capability splits apps into static and dynamic content

speed limit faster
Credit: John Talbot

Version 3 of DoneJS, an open source JavaScript framework for building real-time web and mobile apps, is now available.Its creators say the new version has faster rendering and tree-shakable modules. Formerly known as JavaScriptMVC, DoneJS enables development of real-time UIs that can be exported to run on multiple platforms.

What’s new in DoneJS Version 3

Key to Version 3.0 is incremental rendering, which results in speedier server rendering. With incremental rendering, an application is split into two parts: static content that can be sent immediately, and dynamic content that must wait. By sending static content right away, an app can boot earlier than in traditional server-side rendering. The server continues to render dynamic content and forward deltas to the client.

Also new in DoneJS Version 3:

  • The CanJS 5.0 client-side JavaScript framework, including tree-shakable modules. Tree-shaking is a form of dead-code elimination that examines import statements to determine what code is being used. CanJS also has a more easily configurable service layer, for requesting data.
  • The StealJS 2.0 JavaScript dependency loader, for easier debugging by removing the promise-polyfill when not needed.

DoneJS combines other technologies including DOM helpers from the jQuery JavaScript library, FuncUnit functional tests, and the DocumentJS documentation engine. In 2019, builders of DoneJS, whose main sponsor is the Bitovi software engineering company, plan to improve the developer experience. One priority is improving build times with the steal-tools build technology.

Where to download DoneJS 3.0

You can install DoneJS via NPM:

npm install -g donejs
donejs add app my-app
Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author