Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
JavaScript MV* Framework - Making the Right Choice
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Dmitry Sheiko
June 16, 2014
Programming
0
59
JavaScript MV* Framework - Making the Right Choice
Choosing a MV*-framework that doesn't destroy JavaScript, but brings consistency into app design
Dmitry Sheiko
June 16, 2014
Tweet
Share
More Decks by Dmitry Sheiko
See All by Dmitry Sheiko
The Flavor of TypeScript
dsheiko
0
77
Writing Scalable and Maintainable CSS
dsheiko
2
110
A few things you need to know about CSS
dsheiko
1
100
Tooling JavaScript to ensure consistency in coding style
dsheiko
1
94
Modular JavaScript with CommonJS Compiler
dsheiko
1
1.5k
TypeScript Introduction
dsheiko
3
680
A Quick Start – Version Control with Git
dsheiko
3
410
Bringing classical OOP into JavaScript
dsheiko
5
280
Other Decks in Programming
See All in Programming
CSC307 Lecture 05
javiergs
PRO
0
500
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
420
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
1k
Architectural Extensions
denyspoltorak
0
280
「ブロックテーマでは再現できない」は本当か?
inc2734
0
930
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
710
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
6
1.8k
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
200
CSC307 Lecture 04
javiergs
PRO
0
660
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
600
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
200
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
Featured
See All Featured
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
430
How STYLIGHT went responsive
nonsquared
100
6k
The Curious Case for Waylosing
cassininazir
0
230
First, design no harm
axbom
PRO
2
1.1k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
410
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Git: the NoSQL Database
bkeepers
PRO
432
66k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
130
How to make the Groovebox
asonas
2
1.9k
The Language of Interfaces
destraynor
162
26k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Transcript
JavaScript MV* Framework - Making the Right Choice by @sheiko
Who’s the dude? I’m Dmitry Sheiko, a web-developer, blogger, open
source contributor. http://dsheiko.com @sheiko https://github.com/dsheiko
What do I need a framework for? • Abstractions (separation
of concerns) • Implicit conventions • Code reusability • Data Binding • Widgets Library
What framework do I need? MVC Backbone MVP MVVM AngularJS
Ember.js Dojo YUI Agility.js KnockoutJS CanJS Maria Polymer React cujoJS Montage Sammy.js Stapes Epitome DUEL Kendo UI PureMVC Olives PlastronJS Dijon rAppid.js DeftJS + ExtJS SAPUI5 Exoskeleton Atma.js Ractive.js ComponentJS Vue.js
Big Three AngularJS Backbone Ember.js
How they implement MV* bit.ly/1p24xgq Collection Model Template Router Controller
Scope View AngularJS Backbone Ember.js
How active developers community Backbone Stars: 18 264 Forks: 4
066 Open issues: 26 Closed issues: 3 151 Ember.js Stars: 10 442 Forks: 2 249 Open issues: 220 Closed issues: 4 788 AngularJS Stars: 24 958 Forks: 8 635 Open issues: 1 117 Closed issues: 6 704 via Github 13.06.2014
How good FAQ support Backbone Questions: 15 191 Answered: 9
193 60% Avg answers per question: 2.24 Ember.js Questions: 18 243 Answered: 11 120 61% Avg answers per question: 2.40 AngularJS Questions: 40 312 Answered: 22 382 55% Avg answers per question: 2.30 via StackExchange 13.06.2014
The hidden part of the iceberg AngularJS Logical LOC: 6
748 Mean parameter count: 1.5 Cyclomatic complexity: 1 548 Cyclomatic complexity density: 23% Maintainability index: 113 Production build: 108K Ember.js* Logical LOC: 43 390 Mean parameter count: 1.2 Cyclomatic complexity: 2 543 Cyclomatic complexity density: 17% Maintainability index: 113 Production build: 276K Backbone* Logical LOC: 965 Mean parameter count: 1.3 Cyclomatic complexity: 275 Cyclomatic complexity density: 28% Maintainability index: 108 Production build: 20K * without dependencies
Wonna really be in control of your own code?
You have to know then exactly what the framework does
Ember.js? AngularJS? Unlikely…
Backbone is our hero! http://backbonejs.org/docs/backbone.html
What about dependencies? Do we need them? Backbone jQuery Underscore
Not really! jQuery Underscore Backbone4 Exoskeleton
Exoskeleton is an optimized Backbone Faster Lightweight Dependencies optional http://exosjs.com
Custom builds Backbone drop-in replacement
What about legacy browsers? https://github.com/es-shims/es5-shim
An example? TODO MVC http://bit.ly/T0oREh Exoskeleton + CommonJS Compiler http://bit.ly/1lr1R7Z
Thank you! My credits to www.flaticon.com for these amazing free
vector icons and surely to Paul Miller and Adam Krebs for Exoskeleton