SlideShare a Scribd company logo
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 UIPureMVC
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

More Related Content

What's hot (20)

PDF
Going Node.js at Netflix
micahr
 
PPTX
jQuery Conference 2012 keynote
dmethvin
 
PDF
jQuery Keynote - Fall 2010
jeresig
 
PDF
jQuery Chicago 2014 - Next-generation JavaScript Testing
Vlad Filippov
 
PDF
Node PDX: Intro to Sails.js
Mike McNeil
 
PPTX
Automated perf optimization - jQuery Conference
Matthew Lancaster
 
PDF
Testing Angular 2 Applications - Rich Web 2016
Matt Raible
 
PDF
Testing Mobile JavaScript
jeresig
 
PDF
Atomic Design with Next.js
Patrick Smith
 
PDF
Angular2 + AWS Lambdaでサーバサイドレンダリングしてみた
暁 三宅
 
PPT
Javascript Frameworks
Mitesh Gandhi
 
PPTX
Lazy angular w/ webpack
Rich Snapp
 
PPTX
Javascript Frameworks Comparison
Deepu S Nath
 
KEY
SlickGrid Touch: Making complex JavaScript widgets work on mobile devices
reebalazs
 
PDF
Testing Angular 2 Applications - HTML5 Denver 2016
Matt Raible
 
PDF
Wulin kungfu final
Jimmy Huang
 
PDF
The Onion
Jörn Zaefferer
 
PDF
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - GeekOut 2016
Matt Raible
 
PDF
Avoiding Common Pitfalls in Ember.js
Alex Speller
 
PPTX
Frontend architecture design for large(r) team final
Chadchapol Vittavutkarnvej
 
Going Node.js at Netflix
micahr
 
jQuery Conference 2012 keynote
dmethvin
 
jQuery Keynote - Fall 2010
jeresig
 
jQuery Chicago 2014 - Next-generation JavaScript Testing
Vlad Filippov
 
Node PDX: Intro to Sails.js
Mike McNeil
 
Automated perf optimization - jQuery Conference
Matthew Lancaster
 
Testing Angular 2 Applications - Rich Web 2016
Matt Raible
 
Testing Mobile JavaScript
jeresig
 
Atomic Design with Next.js
Patrick Smith
 
Angular2 + AWS Lambdaでサーバサイドレンダリングしてみた
暁 三宅
 
Javascript Frameworks
Mitesh Gandhi
 
Lazy angular w/ webpack
Rich Snapp
 
Javascript Frameworks Comparison
Deepu S Nath
 
SlickGrid Touch: Making complex JavaScript widgets work on mobile devices
reebalazs
 
Testing Angular 2 Applications - HTML5 Denver 2016
Matt Raible
 
Wulin kungfu final
Jimmy Huang
 
The Onion
Jörn Zaefferer
 
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - GeekOut 2016
Matt Raible
 
Avoiding Common Pitfalls in Ember.js
Alex Speller
 
Frontend architecture design for large(r) team final
Chadchapol Vittavutkarnvej
 

Viewers also liked (11)

PPTX
Modern JavaScript Talk
Derek Binkley
 
KEY
Plack at OSCON 2010
Tatsuhiko Miyagawa
 
PDF
Why SOLID matters - even for JavaScript
martinlippert
 
PPTX
Introduction to Underscore.js
David Jacobs
 
PDF
MVC Revivial on the Web
ESUG
 
PPTX
Latest Javascript MVC & Front End Frameworks 2017
AmarInfotech
 
PDF
Marionette: the Backbone framework
frontendne
 
PPTX
Vuejs Angularjs e Reactjs. Veja as diferenças de cada framework!
José Barbosa
 
PDF
Comparing JVM Web Frameworks - February 2014
Matt Raible
 
PPTX
Rethinking Best Practices
floydophone
 
PDF
Comparing Hot JavaScript Frameworks: AngularJS, Ember.js and React.js - Sprin...
Matt Raible
 
Modern JavaScript Talk
Derek Binkley
 
Plack at OSCON 2010
Tatsuhiko Miyagawa
 
Why SOLID matters - even for JavaScript
martinlippert
 
Introduction to Underscore.js
David Jacobs
 
MVC Revivial on the Web
ESUG
 
Latest Javascript MVC & Front End Frameworks 2017
AmarInfotech
 
Marionette: the Backbone framework
frontendne
 
Vuejs Angularjs e Reactjs. Veja as diferenças de cada framework!
José Barbosa
 
Comparing JVM Web Frameworks - February 2014
Matt Raible
 
Rethinking Best Practices
floydophone
 
Comparing Hot JavaScript Frameworks: AngularJS, Ember.js and React.js - Sprin...
Matt Raible
 
Ad

Similar to JavaScript MV* Framework - Making the Right Choice (20)

PPTX
Come Sail Away With Me (you guys): Node.js MVC Web API's Using Sails.js
Eric Nograles
 
PPTX
Drupal Backbone.js in the Frontend
David Corbacho Román
 
PDF
Angularjs cascade
hannonhill
 
PDF
End-to-end HTML5 APIs - The Geek Gathering 2013
Alexandre Morgaut
 
PPTX
Playframework + Twitter Bootstrap
Kevingo Tsai
 
DOCX
Brad Enterprise Solution Architect
Brad Travis
 
PDF
FrontEnd-Roadmap.pdf
Mohankumar975815
 
PDF
Modern UI Development With Node.js
Ryan Anklam
 
PDF
Node.js for .NET Developers
David Neal
 
PPTX
AngularJS - Architecture decisions in a large project 
Elad Hirsch
 
KEY
Beautiful Maintainable ModularJavascript Codebase with RequireJS - HelsinkiJ...
Mikko Ohtamaa
 
PDF
Developing Backbonejs Applications Early Release Addy Osmani
littelenkali
 
PPTX
Wintellect - Devscovery - Enterprise JavaScript Development 2 of 2
Jeremy Likness
 
PDF
Seven Versions of One Web Application
Yakov Fain
 
KEY
Sugarcoating your frontend one ViewModel at a time
Einar Ingebrigtsen
 
PDF
JavaScript Architectures
Jason Yeo Jie Shun
 
PPTX
Single Page Application Development with backbone.js and Simple.Web
Chris Canal
 
PPTX
jQuery - the world's most popular java script library comes to XPages
Mark Roden
 
PDF
Micro Frontends for Java Microservices - Cork JUG 2022
Matt Raible
 
PDF
Technology Trends
Henry Jacob
 
Come Sail Away With Me (you guys): Node.js MVC Web API's Using Sails.js
Eric Nograles
 
Drupal Backbone.js in the Frontend
David Corbacho Román
 
Angularjs cascade
hannonhill
 
End-to-end HTML5 APIs - The Geek Gathering 2013
Alexandre Morgaut
 
Playframework + Twitter Bootstrap
Kevingo Tsai
 
Brad Enterprise Solution Architect
Brad Travis
 
FrontEnd-Roadmap.pdf
Mohankumar975815
 
Modern UI Development With Node.js
Ryan Anklam
 
Node.js for .NET Developers
David Neal
 
AngularJS - Architecture decisions in a large project 
Elad Hirsch
 
Beautiful Maintainable ModularJavascript Codebase with RequireJS - HelsinkiJ...
Mikko Ohtamaa
 
Developing Backbonejs Applications Early Release Addy Osmani
littelenkali
 
Wintellect - Devscovery - Enterprise JavaScript Development 2 of 2
Jeremy Likness
 
Seven Versions of One Web Application
Yakov Fain
 
Sugarcoating your frontend one ViewModel at a time
Einar Ingebrigtsen
 
JavaScript Architectures
Jason Yeo Jie Shun
 
Single Page Application Development with backbone.js and Simple.Web
Chris Canal
 
jQuery - the world's most popular java script library comes to XPages
Mark Roden
 
Micro Frontends for Java Microservices - Cork JUG 2022
Matt Raible
 
Technology Trends
Henry Jacob
 
Ad

More from Dmitry Sheiko (7)

PPTX
The Flavor of TypeScript
Dmitry Sheiko
 
PPTX
Writing Scalable and Maintainable CSS
Dmitry Sheiko
 
PDF
Tooling JavaScript to ensure consistency in coding style
Dmitry Sheiko
 
PDF
Modular JavaScript with CommonJS Compiler
Dmitry Sheiko
 
PDF
TypeScript Introduction
Dmitry Sheiko
 
PDF
A Quick Start - Version Control with Git
Dmitry Sheiko
 
PPTX
Bringing classical OOP into JavaScript
Dmitry Sheiko
 
The Flavor of TypeScript
Dmitry Sheiko
 
Writing Scalable and Maintainable CSS
Dmitry Sheiko
 
Tooling JavaScript to ensure consistency in coding style
Dmitry Sheiko
 
Modular JavaScript with CommonJS Compiler
Dmitry Sheiko
 
TypeScript Introduction
Dmitry Sheiko
 
A Quick Start - Version Control with Git
Dmitry Sheiko
 
Bringing classical OOP into JavaScript
Dmitry Sheiko
 

Recently uploaded (20)

PDF
Cleaning up your RPKI invalids, presented at PacNOG 35
APNIC
 
PDF
Digital burnout toolkit for youth workers and teachers
asociatiastart123
 
PDF
google promotion services in Delhi, India
Digital Web Future
 
PPTX
美国电子毕业证帕克大学电子版成绩单UMCP学费发票办理学历认证
Taqyea
 
PDF
AI security AI security AI security AI security
elite44
 
PDF
Enhancing Parental Roles in Protecting Children from Online Sexual Exploitati...
ICT Frame Magazine Pvt. Ltd.
 
PPTX
PHIPA-Compliant Web Hosting in Toronto: What Healthcare Providers Must Know
steve198109
 
PPTX
原版一样(毕业证书)法国蒙彼利埃大学毕业证文凭复刻
Taqyea
 
PDF
Boardroom AI: The Next 10 Moves | Cerebraix Talent Tech
ssuser73bdb11
 
PPTX
西班牙巴利阿里群岛大学电子版毕业证{UIBLetterUIB文凭证书}文凭复刻
Taqyea
 
PDF
The Internet - By the numbers, presented at npNOG 11
APNIC
 
PPTX
04 Output 1 Instruments & Tools (3).pptx
GEDYIONGebre
 
PDF
Top 10 Testing Procedures to Ensure Your Magento to Shopify Migration Success...
CartCoders
 
PDF
Empowering Local Language Email with IDN & EAI – Powered by XgenPlus
XgenPlus Technologies
 
PDF
web application development company in bangalore.pdf
https://dkpractice.co.in/seo.html tech
 
PDF
Strategic Plan New and Completed Templeted
alvi932317
 
PDF
FutureCon Seattle 2025 Presentation Slides - You Had One Job
Suzanne Aldrich
 
PPTX
Networking_Essentials_version_3.0_-_Module_5.pptx
ryan622010
 
DOCX
Custom vs. Off-the-Shelf Banking Software
KristenCarter35
 
PPTX
CHAPTER 1 - PART 3 FOR GRADE 11 STUDENTS
FSBTLEDNathanVince
 
Cleaning up your RPKI invalids, presented at PacNOG 35
APNIC
 
Digital burnout toolkit for youth workers and teachers
asociatiastart123
 
google promotion services in Delhi, India
Digital Web Future
 
美国电子毕业证帕克大学电子版成绩单UMCP学费发票办理学历认证
Taqyea
 
AI security AI security AI security AI security
elite44
 
Enhancing Parental Roles in Protecting Children from Online Sexual Exploitati...
ICT Frame Magazine Pvt. Ltd.
 
PHIPA-Compliant Web Hosting in Toronto: What Healthcare Providers Must Know
steve198109
 
原版一样(毕业证书)法国蒙彼利埃大学毕业证文凭复刻
Taqyea
 
Boardroom AI: The Next 10 Moves | Cerebraix Talent Tech
ssuser73bdb11
 
西班牙巴利阿里群岛大学电子版毕业证{UIBLetterUIB文凭证书}文凭复刻
Taqyea
 
The Internet - By the numbers, presented at npNOG 11
APNIC
 
04 Output 1 Instruments & Tools (3).pptx
GEDYIONGebre
 
Top 10 Testing Procedures to Ensure Your Magento to Shopify Migration Success...
CartCoders
 
Empowering Local Language Email with IDN & EAI – Powered by XgenPlus
XgenPlus Technologies
 
web application development company in bangalore.pdf
https://dkpractice.co.in/seo.html tech
 
Strategic Plan New and Completed Templeted
alvi932317
 
FutureCon Seattle 2025 Presentation Slides - You Had One Job
Suzanne Aldrich
 
Networking_Essentials_version_3.0_-_Module_5.pptx
ryan622010
 
Custom vs. Off-the-Shelf Banking Software
KristenCarter35
 
CHAPTER 1 - PART 3 FOR GRADE 11 STUDENTS
FSBTLEDNathanVince
 

JavaScript MV* Framework - Making the Right Choice

  • 1. JavaScript MV* Framework - Making the Right Choice by @sheiko
  • 2. Who’s the dude? I’m Dmitry Sheiko, a web-developer, blogger, open source contributor. http://dsheiko.com @sheiko https://github.com/dsheiko
  • 3. What do I need a framework for? • Abstractions (separation of concerns) • Implicit conventions • Code reusability • Data Binding • Widgets Library
  • 4. 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 UIPureMVC Olives PlastronJS Dijon rAppid.js DeftJS + ExtJS SAPUI5 Exoskeleton Atma.js Ractive.js ComponentJS Vue.js
  • 6. How they implement MV* bit.ly/1p24xgq Collection Model Template Router Controller Scope View AngularJS Backbone Ember.js
  • 7. 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
  • 8. 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
  • 9. 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
  • 10. Wonna really be in control of your own code?
  • 11. You have to know then exactly what the framework does
  • 13. Backbone is our hero! http://backbonejs.org/docs/backbone.html
  • 14. What about dependencies? Do we need them? Backbone jQuery Underscore
  • 16. Exoskeleton is an optimized Backbone Faster Lightweight Dependencies optional http://exosjs.com Custom builds Backbone drop-in replacement
  • 17. What about legacy browsers? https://github.com/es-shims/es5-shim
  • 18. An example? TODO MVC http://bit.ly/T0oREh Exoskeleton + CommonJS Compiler http://bit.ly/1lr1R7Z
  • 19. Thank you! My credits to www.flaticon.com for these amazing free vector icons and surely to Paul Miller and Adam Krebs for Exoskeleton