Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Backbone.js
Backbone.js

4.6K
1.2K
+ 1
674
Electron
Electron

2.5K
2.1K
+ 1
93
Add tool

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.

What is Backbone.js?

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.

What is Electron?

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.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Backbone.js?
Why do developers choose Electron?

Sign up to add, upvote and see more prosMake informed product decisions

What companies use Backbone.js?
What companies use Electron?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Backbone.js?
What tools integrate with Electron?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Backbone.js and Electron?
Vue.js
It is a library for building interactive web interfaces. It provides data-reactive components with a simple and flexible API.
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
AngularJS
AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.
Angular 2
Angular is a development platform for building mobile and desktop web applications.
Ember.js
A JavaScript framework that does all of the heavy lifting that you'd normally have to do by hand. There are tasks that are common to every web app; It does those things for you, so you can focus on building killer features and UI.
See all alternatives
Decisions about Backbone.js and Electron
StackShare Editors
StackShare Editors
Chromium
Chromium
MacGap
MacGap
ES6
ES6
Electron
Electron
React
React
Node.js
Node.js

The Slack desktop app was originally written us the MacGap framework, which used Apple’s WebView to host web content inside of a native app frame. As this approach continued to present product limitations, Slack decided to migrate the desktop app to Electron. Electron is a platform that combines the rendering engine from Chromium and the Node.js runtime and module system. The desktop app is written as a modern ES6 + async/await React application.

For the desktop app, Slack takes a hybrid approach, wherein some of the assets ship as part of the app, but most of their assets and code are loaded remotely.

See more
StackShare Editors
StackShare Editors
Chromium
Chromium
MacGap
MacGap
ES6
ES6
Electron
Electron
TypeScript
TypeScript
React
React
Node.js
Node.js

Slack's new desktop application was launched for macOS. It was built using Electron for a faster, frameless look with a host of background improvements for a superior Slack experience. Instead of adopting a complete-in-box approach taken by other apps, Slack prefers a hybrid approach where some of the assets are loaded as part of the app, while others are made available remotely. Slack's original desktop app was written using the MacGap v1 framework using WebView to host web content within the native app frame. But it was difficult to upgrade with new features only available to Apple's WKWebView and moving to this view called for a total application rewrite.

Electron brings together Chromium's rendering engine with the Node.js runtime and module system. The new desktop app is now based on an ES6 + async/await React application is currently being moved gradually to TypeScript. Electron functions on Chromium's multi-process model, with each Slack team signed into a separate process and memory space. It also helps prevent remote content to directly access desktop features using a feature called WebView Element which creates a fresh Chromium renderer process and assigns rendering of content for its hosting renderer. Additional security can be ensured by preventing Node.js modules from leaking into the API surface and watching out for APIs with file paths. Communication between processes on Electron is carried out via electron-remote, a pared-down, zippy version of Electron's remote module, which makes implementing the web apps UI much easier.

See more
Dan Robinson
Dan Robinson
at Heap, Inc. · | 18 upvotes · 113.9K views
atHeapHeap
MobX
MobX
React
React
TypeScript
TypeScript
Marionette
Marionette
Backbone.js
Backbone.js
jQuery
jQuery
#JavascriptUiLibraries
#Libraries
#JavascriptMvcFrameworks
#TemplatingLanguagesExtensions

The front end for Heap begun to grow unwieldy. The original jQuery pieces became difficult to maintain and scale, and a decision was made to introduce Backbone.js, Marionette, and TypeScript. Ultimately this ended up being a “detour” in the search for a scalable and maintainable front-end solution. The system did allow for developers to reuse components efficiently, but adding features was a difficult process, and it eventually became a bottleneck in advancing the product.

Today, the Heap product consists primarily of a customer-facing dashboard powered by React, MobX, and TypeScript on the front end. We wrote our migration to React and MobX in detail last year here.

#JavascriptUiLibraries #Libraries #JavascriptMvcFrameworks #TemplatingLanguagesExtensions

See more
Marcos Iglesias
Marcos Iglesias
Sr. Software Engineer at Eventbrite · | 13 upvotes · 49.7K views
atEventbrite-0Eventbrite-0
React
React
Redux
Redux
Flux
Flux
Marionette
Marionette
Backbone.js
Backbone.js

We are in the middle of a change of the stack on the front end. So we used Backbone.js with Marionette. Then we also created our own implementation of a Flux kind of flow. We call it eb-flux. We have worked with Marionette for a long time. Then at some point we start evolving and end up having a kind of Redux.js-style architecture, but with Marionette.

But then maybe one and a half years ago, we started moving into React and that's why we created the Eventbrite design system. It's a really nice project that probably could be open sourced. It's a library of components for our React components.

With the help of that library, we are building our new stack with React and sometimes Redux when it's necessary.

See more
Interest over time
Reviews of Backbone.js and Electron
No reviews found
How developers use Backbone.js and Electron
Avatar of Trello
Trello uses Backbone.jsBackbone.js

When the data request returns, Backbone.js gets busy. The idea with Backbone is that we render each Model that comes down from the server with a View, and then Backbone provides an easy way to:

1) Watch for DOM events within the HTML generated by the View and tie those to methods on the corresponding Model, which re-syncs with the server

2) Watch the model for changes, and re-render the model’s HTML block to reflect them

Neat! Using that general approach, we get a fairly regular, comprehensible, and maintainable client. We custom-built a client-side Model cache to handle updates and simplify client-side Model reuse.

Avatar of Instacart
Instacart uses Backbone.jsBackbone.js

The main web store is a Backbone.js single page web application, and so it hits API endpoints to do all the calls, and we use those same API endpoints for the consumer iPhone app, the consumer Android app, and the consumer mobile web app. It worked out really nicely, us just building one API and just all these clients, including the web client, using that.

Avatar of Chris Saylor
Chris Saylor uses ElectronElectron

Our application began as an HTML5 browser game, however we decided to leverage certain native parts of desktop applications by wrapping our client code into Electron. This also allowed us to not have to worry about compatibility across all the various browsers.

Avatar of Tarun Singh
Tarun Singh uses Backbone.jsBackbone.js

Used Backbone.js as the JavaScript framework for creating this Single Page Application. With our data exposed as RESTful API's, Backbone's collections consumes them and provides the data to the Backbone's view for it's use in rendering.

Avatar of HyVive
HyVive uses ElectronElectron

Our Web Applications are served on our Desktops by Electron. This allows us to have native apps running on our Workstations without having too many Browser Tabs open at the same time.

Avatar of RocketFuel
RocketFuel uses Backbone.jsBackbone.js

Major part of our UI application uses Backbone models and views extensively. Though there's a plan to migrate to React and Redux.

Avatar of Zinc
Zinc uses Backbone.jsBackbone.js

All of our web apps are built using BackboneJS. Keeps our code clean and organized, and keeps the page refreshing to a minimum!

Avatar of PawByte
PawByte uses ElectronElectron

Electron is the current preferred method to convert games made in the Game Pencil Editor for desktop support.

Avatar of Metrix Financial Reporting Solutions UG
Metrix Financial Reporting Solutions UG uses ElectronElectron

Implement a web-service using your favorite tools but sell a desktop application for oblivious windows users.

Avatar of Ralic Lo
Ralic Lo uses ElectronElectron

Used Electron to package single page web application as a desktop application.

How much does Backbone.js cost?
How much does Electron cost?
Pricing unavailable
Pricing unavailable