Need advice about which tool to choose?Ask the StackShare community!
Backbone.js vs Electron: What are the differences?
Backbone.js: Give your JS App some Backbone with Models, Views, Collections, and Events. Backbone supplies structure to JavaScript-heavy applications by providing models key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing application over a RESTful JSON interface; Electron: Build cross platform desktop apps with web technologies. Formerly known as Atom Shell, made by GitHub. With Electron, creating a desktop application for your company or idea is easy. Initially developed for GitHub's Atom editor, Electron has since been used to create applications by companies like Microsoft, Facebook, Slack, and Docker. The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on io.js and Chromium and is used in the Atom editor.
Backbone.js and Electron are primarily classified as "Javascript MVC Frameworks" and "Cross-Platform Desktop Development" tools respectively.
"Javascript structure" is the top reason why over 136 developers like Backbone.js, while over 50 developers mention "Easy to make rich cross platform desktop applications" as the leading cause for choosing Electron.
Backbone.js and Electron are both open source tools. It seems that Electron with 74.4K GitHub stars and 9.72K forks on GitHub has more adoption than Backbone.js with 27.5K GitHub stars and 5.72K GitHub forks.
According to the StackShare community, Backbone.js has a broader approval, being mentioned in 1066 company stacks & 213 developers stacks; compared to Electron, which is listed in 213 company stacks and 366 developer stacks.
Pros of Backbone.js
- Javascript structure135
- Models101
- Simple98
- Restful76
- Easy api59
- Flexible46
- Open source45
- Fast to pick up44
- Events34
- JSON25
- OOP8
- Lightweight2
- Collections1
- Easy customizable1
Pros of Electron
- Easy to make rich cross platform desktop applications69
- Open source53
- Great looking apps such as Slack and Visual Studio Code14
- Because it's cross platform8
- Use Node.js in the Main Process4
Sign up to add or upvote prosMake informed product decisions
Cons of Backbone.js
- Requires underscore.js1
Cons of Electron
- Uses a lot of memory19
- User experience never as good as a native app8
- No proper documentation4
- Does not native4
- Each app needs to install a new chromium + nodejs1
- Wrong reference for dom inspection1