📜 ⬆️ ⬇️

Exoskeleton - fast and modern replacement for Backbone

Since in the last year we didn’t have to do applications on Backbone.js for old (IE8 <=) browsers, the thought “what if you completely remove all dependencies from Beckbon? Will it be cooler? ”



It became.
')


But Jeremy Ashkenas (author of Beckbón) most certainly wouldn’t accept the change that makes Anderskor optional in my experience. Too he is conservative.

What to do? In a similar case, John David-Dalton forked anderskor (another project by Jeremy) and began to develop his project lodash , which is currently ahead of the anderskor on npm downloads.

Meet: Exoskeleton



The exoskeleton is positioned as a fast and modern replacement for Beckbon - all tests of the backbone library are 100% complete .

Strictly speaking, jQuery and Underscore can still be used with the exoskeleton. But they are 100% optional.

Throwing dependencies out of the bundle allows you to:

* Reduce the total size of foreign libraries by six times : from 40KB to just 7KB (gzipped)
* Reduce the rendering and creation time of views by five times , which is especially useful for slow mobile browsers

In addition to the optional dependencies and speeds, there is also in the Exoskeleton (and not in Beckbon):

* Simple non-standard builds
* Support for AMD modules, dependency managers Bower and Component
* A group of small and useful minor improvements that facilitate day-to-day development.

Chaplin's MVC framework already supports the Exoskeleton. Support of the Puppets and other popular extensions in the process (we are preparing pull requests). Soon, support for ECMAScript 6 modules and even more optimizations will appear.

From my own experience, I’ll say that web applications without jQuery are easy to do today. Similar interfaces to the DOM in modern browsers lack of a head. Zhkveri is no longer the “time saver” as before.

We will be glad to hear your wishes.

Website: exosjs.com

Source: https://habr.com/ru/post/198800/


All Articles