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
Dmitry Sheiko
June 16, 2014
Programming
0
52
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
72
Writing Scalable and Maintainable CSS
dsheiko
2
98
A few things you need to know about CSS
dsheiko
1
96
Tooling JavaScript to ensure consistency in coding style
dsheiko
1
82
Modular JavaScript with CommonJS Compiler
dsheiko
1
1.4k
TypeScript Introduction
dsheiko
3
670
A Quick Start – Version Control with Git
dsheiko
3
400
Bringing classical OOP into JavaScript
dsheiko
5
270
Other Decks in Programming
See All in Programming
Honoとフロントエンドの 型安全性について
yodaka
4
250
Compose でデザインと実装の差異を減らすための取り組み
oidy
1
300
AWS Lambda functions with C# 用の Dev Container Template を作ってみた件
mappie_kochi
0
240
Formの複雑さに立ち向かう
bmthd
1
720
Bedrock Agentsレスポンス解析によるAgentのOps
licux
2
720
Immutable ActiveRecord
megane42
0
130
一休.com のログイン体験を支える技術 〜Web Components x Vue.js 活用事例と最適化について〜
atsumim
0
110
SRE、開発、QAが協業して挑んだリリースプロセス改革@SRE Kaigi 2025
nealle
3
4.1k
ISUCON14公式反省会LT: 社内ISUCONの話
astj
PRO
0
180
Amazon Bedrock Multi Agentsを試してきた
tm2
1
280
Introduction to kotlinx.rpc
arawn
0
630
Linux && Docker 研修/Linux && Docker training
forrep
23
4.5k
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Become a Pro
speakerdeck
PRO
26
5.1k
Designing for humans not robots
tammielis
250
25k
Music & Morning Musume
bryan
46
6.3k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
Adopting Sorbet at Scale
ufuk
74
9.2k
How to Ace a Technical Interview
jacobian
276
23k
Docker and Python
trallard
44
3.3k
Raft: Consensus for Rubyists
vanstee
137
6.8k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
How to train your dragon (web standard)
notwaldorf
90
5.8k
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