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
Towards Pasta Code Nirvana: Using JavaScript MV...
Search
Bret Davidson
March 26, 2014
0
85
Towards Pasta Code Nirvana: Using JavaScript MV* to Fill Your Programming Ravioli
Bret Davidson
March 26, 2014
Tweet
Share
More Decks by Bret Davidson
See All by Bret Davidson
Beyond Open Source
bretdavidson
0
59
Suma: Utilizing emerging browser technology to develop an open-source space and service analytics system
bretdavidson
0
240
Better living with observational data: Using Suma to inform space and service planning
bretdavidson
0
240
My HuntLibrary: Building new things despite uncertainty and risk
bretdavidson
0
83
Creating the Hunt Partners App: Cross-Departmental Rapid Response
bretdavidson
0
68
The Suma Project: Integrating Observational Data Assessment Into Space And Service Design
bretdavidson
0
1.1k
Data-Driven Documents: Visualizing Library Data with D3.js
bretdavidson
3
480
Suma: An open-source toolkit for library assessment
bretdavidson
0
270
Under the Hood: Our UX-Driven Mobile Site Redesign
bretdavidson
0
62
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
37
1.8k
Music & Morning Musume
bryan
46
6.1k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
330
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
231
17k
Unsuck your backbone
ammeep
668
57k
Raft: Consensus for Rubyists
vanstee
136
6.6k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
664
120k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
355
29k
The Power of CSS Pseudo Elements
geoffreycrofte
72
5.3k
Building Better People: How to give real-time feedback that sticks.
wjessup
363
19k
Transcript
Towards Pasta Code Nirvana Using JavaScript MV* to Fill Your
Programming Ravioli Bret Davidson | NCSU Libraries
Metaphors for describing software architectures.
None
None
None
None
None
Modular Reusable Testable
None
Why JavaScript?
Brief History of JavaScript Created by Brendan Eich in 1995
IE support in 1996 Standardized by ECMA in 1997 JJG coins AJAX in 2005 V8 JS engine in 2008 JS MVC circa 2010
JS is everywhere
JS is fast(er)
JS is the lingua franca
What is JS MV*? MVC - MVP - MVVM
Approximate Architecture Models Views Controllers Data Binding
Hello Code4Lib! Change MSG Hello Code4Lib!
None
None
MV* Benefits Abstracts DOM interaction Encourages code reuse Enforces modularity
Improves testability
Architecture that supports best practices.
When to use? JS heavy applications Interactive applications Distributed applications
Modern devices/browsers
Who is using MV*? USA Today Rdio Hulu Discourse Youtube
on PS3 General Motors
When to avoid? Need to support no-JS users App is
document driven (blog) Older devices/browsers
Frameworks Angular Ember Backbone Many Others
MV* Throwdown http://todomvc.com/
My Experiences
Suma github.com/cazzerson/Suma
None
Community
Loose Coupling
Cognitive Load
None