Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Towards Pasta Code Nirvana: Using JavaScript MV...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Bret Davidson
March 26, 2014
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Towards Pasta Code Nirvana: Using JavaScript MV* to Fill Your Programming Ravioli
Bret Davidson
March 26, 2014
More Decks by Bret Davidson
See All by Bret Davidson
Beyond Open Source
bretdavidson
0
93
Suma: Utilizing emerging browser technology to develop an open-source space and service analytics system
bretdavidson
0
340
Better living with observational data: Using Suma to inform space and service planning
bretdavidson
0
300
My HuntLibrary: Building new things despite uncertainty and risk
bretdavidson
0
100
Creating the Hunt Partners App: Cross-Departmental Rapid Response
bretdavidson
0
92
The Suma Project: Integrating Observational Data Assessment Into Space And Service Design
bretdavidson
0
1.2k
Data-Driven Documents: Visualizing Library Data with D3.js
bretdavidson
3
510
Suma: An open-source toolkit for library assessment
bretdavidson
0
330
Under the Hood: Our UX-Driven Mobile Site Redesign
bretdavidson
0
73
Featured
See All Featured
Joys of Absence: A Defence of Solitary Play
codingconduct
1
530
Side Projects
sachag
456
43k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
790
Mobile First: as difficult as doing things right
swwweet
225
10k
Amusing Abliteration
ianozsvald
1
330
How to Ace a Technical Interview
jacobian
280
24k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
Discover your Explorer Soul
emna__ayadi
2
1.3k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
930
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
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