SlideShare a Scribd company logo
Imagine a web
      where we can build
 useful, beautiful, responsive
     sites and applications
that are semantic, correct, and
        accessible to all.
@lachlanhardy
What is Backbone?
What is Backbone?

“Backbone supplies structure to JavaScript-
heavy applications by providing models with
key-value binding and custom events,
collections with a rich API of enumerable
functions, views with declarative event
handling, and connects it all to your existing
application over a RESTful JSON interface. ”
I’m no computer scientist.
What is Backbone?

“Backbone supplies structure to JavaScript-
heavy applications by providing models with
key-value binding and custom events,
collections with a rich API of enumerable
functions, views with declarative event
handling, and connects it all to your existing
application over a RESTful JSON interface. ”
WTF?
What is Backbone?

“Backbone supplies structure to JavaScript-
heavy applications by providing models with
key-value binding and custom events,
collections with a rich API of enumerable
functions, views with declarative event
handling, and connects it all to your existing
application over a RESTful JSON interface. ”
What is Backbone?

“Backbone supplies structure to JavaScript-
heavy applications by providing models with
key-value binding and custom events,
collections with a rich API of enumerable
functions, views with declarative event
handling, and connects it all to your existing
application over a RESTful JSON interface. ”
What is Backbone?

“Backbone supplies structure to JavaScript-
heavy applications by providing models with
key-value binding and custom events,
collections with a rich API of enumerable
functions, views with declarative event
handling, and connects it all to your existing
application over a RESTful JSON interface. ”
What is Backbone?




It’s a JavaScript library.
What is Backbone?




It’s a JavaScript library for
writing applications.
What is Backbone?




It’s a JavaScript library for
writing applications like...
Library size




- 41.0Kb uncompressed
- 4.6Kb Packed and Gzipped
Library dependencies




-   Underscore.js
Underscore.js




- Functional programming library
- 60-odd functions such as map, select,
invoke
Library dependencies




-   Underscore.js
Library dependencies




-   Underscore.js
    - JSON2.js
JSON2.js




- Provides JSON support if it doesn’t exist
natively
- Does nothing in modern browsers
Library dependencies




-   Underscore.js
    - JSON2.js
    - jQuery or Zepto.js
Zepto.js




“Zepto.js is a minimalist JavaScript framework
for mobile WebKit browsers, with a jQuery-
compatible syntax.”
What is Backbone?

“Backbone supplies structure to JavaScript-
heavy applications by providing models with
key-value binding and custom events,
collections with a rich API of enumerable
functions, views with declarative event
handling, and connects it all to your existing
application over a RESTful JSON interface. ”
Backbone.Model




- Models contain the data
Backbone.Model




- Models contain the data
- Validations, properties and permissions
Backbone.Model




- Models contain the data
- Validations, properties and permissions
- Manage changes to the above
What is Backbone?

“Backbone supplies structure to JavaScript-
heavy applications by providing models with
key-value binding and custom events,
collections with a rich API of enumerable
functions, views with declarative event
handling, and connects it all to your existing
application over a RESTful JSON interface. ”
Backbone.Collection




- Collections are ordered sets of models
Backbone.Collection




- Collections are ordered sets of models
- Act on events within models
Backbone.Collection




- Collections are ordered sets of models
- Act on events within models
- Add, Remove, Fetch, Reset, Create, Sort
What is Backbone?

“Backbone supplies structure to JavaScript-
heavy applications by providing models with
key-value binding and custom events,
collections with a rich API of enumerable
functions, views with declarative event
handling, and connects it all to your existing
application over a RESTful JSON interface. ”
Backbone.View




- A logical UI component, not just the
template
Backbone.View




- A logical UI component, not just the
template
- Bind render function to model change event
Backbone.View




- A logical UI component, not just the
template
- Bind render function to model change event
What is Backbone?



-   Backbone.Events
-   Backbone.Router
-   Backbone.History
-   Backbone.Sync
Find out more




http://documentcloud.github.com/
backbone/
Questions?

More Related Content

What's hot (7)

PPTX
Shift Remote: WEB - GraphQL and React – Quick Start - Dubravko Bogovic (Infobip)
Shift Conference
 
PDF
Getting Started with the Node.js LoopBack APi Framework
Jimmy Guerrero
 
PPTX
IndexedDB - An Efficient Way to Manage Data
sara stanford
 
PDF
Building Read Models using event streams
Denis Ivanov
 
PPTX
Power BI For SharePointAdminsSLC
Steve Pucelik
 
PPT
What is an api?
IDS Knowledge Services
 
PPTX
Intro to Node.js (German)
Daniel Khan
 
Shift Remote: WEB - GraphQL and React – Quick Start - Dubravko Bogovic (Infobip)
Shift Conference
 
Getting Started with the Node.js LoopBack APi Framework
Jimmy Guerrero
 
IndexedDB - An Efficient Way to Manage Data
sara stanford
 
Building Read Models using event streams
Denis Ivanov
 
Power BI For SharePointAdminsSLC
Steve Pucelik
 
What is an api?
IDS Knowledge Services
 
Intro to Node.js (German)
Daniel Khan
 

Similar to Give Your JavaScript Apps Some Spine (20)

PDF
From Backbone to Ember and Back(bone) Again
jonknapp
 
PPSX
Introduction to backbone_js
Mohammed Saqib
 
PPTX
You got your browser in my virtual machine
Ean Schuessler
 
PPT
Backbone introdunction
mzxbupt
 
PDF
Spark Summit San Francisco 2016 - Matei Zaharia Keynote: Apache Spark 2.0
Databricks
 
KEY
Javascript Frameworks for Well Architected, Immersive Web Apps
dnelson-cs
 
PDF
Nikhil_Resume.pdf
Nikhil Singh Kushwah
 
PPTX
React + Flux = Joy
John Need
 
PPTX
Backgrid - A Backbone Plugin
Neerav Mittal
 
PDF
Scala Applied Machine Learning 1st Edition Pascal Bugnion
vnypuulddk8373
 
PDF
Introduction to MongoDB
Justin Smestad
 
PDF
Boost Your Website with Top React Carousel Libraries | BOSC
BOSC Tech Labs
 
PPTX
From JSX to Deployment: Mastering the React Workflow for Scalable Front-End D...
sriniravir05
 
PPTX
Composing JSON-based Web APIs
Javier Canovas
 
PDF
Introducing Kafka's Streams API
confluent
 
PPTX
mern _stack _power _point_ presentation(1)
susmithalanka2
 
PDF
MeteorJS Introduction
Nitya Narasimhan
 
PPTX
MongoDB Evenings DC: Get MEAN and Lean with Docker and Kubernetes
MongoDB
 
PDF
Assist software awesome scala
AssistSoftware
 
PPTX
Дмитрий Тежельников «Разработка вэб-решений с использованием Asp.NET.Core и ...
MskDotNet Community
 
From Backbone to Ember and Back(bone) Again
jonknapp
 
Introduction to backbone_js
Mohammed Saqib
 
You got your browser in my virtual machine
Ean Schuessler
 
Backbone introdunction
mzxbupt
 
Spark Summit San Francisco 2016 - Matei Zaharia Keynote: Apache Spark 2.0
Databricks
 
Javascript Frameworks for Well Architected, Immersive Web Apps
dnelson-cs
 
Nikhil_Resume.pdf
Nikhil Singh Kushwah
 
React + Flux = Joy
John Need
 
Backgrid - A Backbone Plugin
Neerav Mittal
 
Scala Applied Machine Learning 1st Edition Pascal Bugnion
vnypuulddk8373
 
Introduction to MongoDB
Justin Smestad
 
Boost Your Website with Top React Carousel Libraries | BOSC
BOSC Tech Labs
 
From JSX to Deployment: Mastering the React Workflow for Scalable Front-End D...
sriniravir05
 
Composing JSON-based Web APIs
Javier Canovas
 
Introducing Kafka's Streams API
confluent
 
mern _stack _power _point_ presentation(1)
susmithalanka2
 
MeteorJS Introduction
Nitya Narasimhan
 
MongoDB Evenings DC: Get MEAN and Lean with Docker and Kubernetes
MongoDB
 
Assist software awesome scala
AssistSoftware
 
Дмитрий Тежельников «Разработка вэб-решений с использованием Asp.NET.Core и ...
MskDotNet Community
 
Ad

More from Lachlan Hardy (10)

PDF
SydJS.com
Lachlan Hardy
 
KEY
Yql && Raphaël
Lachlan Hardy
 
KEY
GitHub for JavaScripters
Lachlan Hardy
 
KEY
The Open Web
Lachlan Hardy
 
KEY
Serving Code Samples
Lachlan Hardy
 
PDF
The Open Web
Lachlan Hardy
 
PDF
The Open Web
Lachlan Hardy
 
PDF
Improving Dashboards with open content sharing
Lachlan Hardy
 
PDF
Local Government on the Open Web
Lachlan Hardy
 
PPT
Welcome to IE8 - Integrating Your Site With Internet Explorer 8
Lachlan Hardy
 
SydJS.com
Lachlan Hardy
 
Yql && Raphaël
Lachlan Hardy
 
GitHub for JavaScripters
Lachlan Hardy
 
The Open Web
Lachlan Hardy
 
Serving Code Samples
Lachlan Hardy
 
The Open Web
Lachlan Hardy
 
The Open Web
Lachlan Hardy
 
Improving Dashboards with open content sharing
Lachlan Hardy
 
Local Government on the Open Web
Lachlan Hardy
 
Welcome to IE8 - Integrating Your Site With Internet Explorer 8
Lachlan Hardy
 
Ad

Recently uploaded (20)

PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 

Give Your JavaScript Apps Some Spine

Editor's Notes