SlideShare una empresa de Scribd logo
1 de 16
AGENDA
 What is Backbone.js?
 Why to use?
 When to use Backbone.JS?
 Backbone.js Architecture
 Features
 PROGRAM
 Real world Backbone.js Application
 Which companies uses backbone.js?
 Advantages and disadvantages
What is Backbone.js?
 Backbone.js was initially released on October 13, 2010. It was developed
by Jeremy Ashkenas.
 Backbone.js is lightweight Javascript library that adds structure to your
client-side code
 Makes it easy to manage and decouple concerns in your application
 MVC (model view controller)for the client
 Light weight at under 8kb
 Backbone is available for use under the MIT software license… Backbone is
an open-source component of DocumentCloud.
Why to use?
 STRUCTURE
 REUSE
 SEPRARATION OF ROLES OF CONCERNS
When to use Backbone.JS?
• Backbone.js is used to reduce complications.
• If we want a better design with less code, then it is better to
use the BackboneJS library .
• BackboneJS communicates via events; this ensures that you do
not mess up the application. Your code will be cleaner, nicer
and easy to maintain.
Backbone.js Architecture
 The Backbone.js architecture specifies the structure to the web applications that allows
users to separate business logic and user interface logic.
 It contains the following modules:
• HTTP Request
• Router
• View
• Events
• Model
• Collection
• Data Source
Features
 Backbone provides different types of building blocks like models, views, events,
routers and collections for assembling client side web applications.
 Backbone.js is a free and open source library and contains over 100 available
extensions.
 Backbone.js allows developers to create client side web applications or mobile
applications in well structured and organized format.
 In Backbone.js when model changes, it automatically updates the HTML of your
application.
<!DOCTYPE html>
<html>
<head>
<meta charset = "UTF-8">
<meta http-equiv = "X-UA-
Compatible" content = "IE = edge,chrome = 1">
<title> using Backbone.js</title>
</head>
<body>
<div id = "container">Loading...</div>
<script src = "https://code.jquery.com/jquery-2.1.3.min.js"
type = "text/javascript"></script>
<script src = "https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1
.3.3/underscore-min.js"
type = "text/javascript"></script>
PROGRAM:
<script src = "https://cdnjs.cloudflare.com/ajax/libs/backbone.
js/0.9.2/backbone-min.js"
type = "text/javascript"></script>
<script type = "text/javascript">
var AppView = ({
el: '#container', Backbone.View.extend
initialize: function() {
this.render(); },
render: function() {
this.$el.html("HELLO B10 GROUP!!!");
}
});
var appView = new AppView();
</script>
</body>
</html>
},
Real world Backbone.js Application
 LinkedIn Mobile
To create its next generation HTML5 mobile web app.
Backbone made it easy to keep
the app modular, organized and extensible
so that it was possible to program the
complexities of LinkedIn user experience
Which companies uses backbone.js?
 Pinterest
 Uber
 MasterCard
 Reddit
Advantages
• You can develop a web application with Backbone.js by using JavaScript
with the minimal set of data-structuring (models & collections) and user
interface (views & URLs).
• It is best for developing MVC like web applications, single page web
applications or complex JavaScript web applications in an organized and
structured manner without JavaScript code mixing with HTML.
• It provides API with many functions.
• It facilitates you to abstract your data into models and your DOM
application into views and binds the two together using events.
DISADVANTAGES
• Serves to be difficult to understand how to apply the code for the ones who are
new to JavaScript.
• Demands longer development time.
Backbone.js Tutorial: Learn MVC Architecture, Features & Real World Apps (39

Más contenido relacionado

La actualidad más candente

Arsitektur Aplikasi Modern - Faisal Henry Susanto
Arsitektur Aplikasi Modern - Faisal Henry SusantoArsitektur Aplikasi Modern - Faisal Henry Susanto
Arsitektur Aplikasi Modern - Faisal Henry SusantoDicodingEvent
 
HTML alchemy: the secrets of mixing JavaScript and Java EE - Matthias Wessendorf
HTML alchemy: the secrets of mixing JavaScript and Java EE - Matthias WessendorfHTML alchemy: the secrets of mixing JavaScript and Java EE - Matthias Wessendorf
HTML alchemy: the secrets of mixing JavaScript and Java EE - Matthias WessendorfJAX London
 
Next.js Introduction
Next.js IntroductionNext.js Introduction
Next.js IntroductionSaray Chak
 
Component based architecture
Component based architectureComponent based architecture
Component based architectureZaiyang Li
 
Introduction to single page application with angular js
Introduction to single page application with angular jsIntroduction to single page application with angular js
Introduction to single page application with angular jsMindfire Solutions
 
Require JS
Require JSRequire JS
Require JSImaginea
 
11.1 Android with HTML
11.1 Android with HTML11.1 Android with HTML
11.1 Android with HTMLOum Saokosal
 
How to perform Email Validation in JavaScript | JavaScript Form Validation | ...
How to perform Email Validation in JavaScript | JavaScript Form Validation | ...How to perform Email Validation in JavaScript | JavaScript Form Validation | ...
How to perform Email Validation in JavaScript | JavaScript Form Validation | ...Edureka!
 
Agile documentation with Confluence and Sparx Enterprise Architect
Agile documentation with Confluence and Sparx Enterprise ArchitectAgile documentation with Confluence and Sparx Enterprise Architect
Agile documentation with Confluence and Sparx Enterprise ArchitectPer Spilling
 
Evaluating and Choosing ZK Framework
Evaluating and Choosing ZK FrameworkEvaluating and Choosing ZK Framework
Evaluating and Choosing ZK Frameworksoutherncrossie
 
WJAX 2012 - Web Apps With AngularJS
WJAX 2012 - Web Apps With AngularJSWJAX 2012 - Web Apps With AngularJS
WJAX 2012 - Web Apps With AngularJSPhilipp Burgmer
 

La actualidad más candente (20)

BRushen Resume
BRushen ResumeBRushen Resume
BRushen Resume
 
Arsitektur Aplikasi Modern - Faisal Henry Susanto
Arsitektur Aplikasi Modern - Faisal Henry SusantoArsitektur Aplikasi Modern - Faisal Henry Susanto
Arsitektur Aplikasi Modern - Faisal Henry Susanto
 
HTML alchemy: the secrets of mixing JavaScript and Java EE - Matthias Wessendorf
HTML alchemy: the secrets of mixing JavaScript and Java EE - Matthias WessendorfHTML alchemy: the secrets of mixing JavaScript and Java EE - Matthias Wessendorf
HTML alchemy: the secrets of mixing JavaScript and Java EE - Matthias Wessendorf
 
Month 2 report
Month 2 reportMonth 2 report
Month 2 report
 
New text document
New text documentNew text document
New text document
 
Week1 dq5
Week1 dq5Week1 dq5
Week1 dq5
 
AEM responsive
AEM responsiveAEM responsive
AEM responsive
 
MVC & backbone.js
MVC & backbone.jsMVC & backbone.js
MVC & backbone.js
 
Next.js Introduction
Next.js IntroductionNext.js Introduction
Next.js Introduction
 
Getting Started with J2EE, A Roadmap
Getting Started with J2EE, A RoadmapGetting Started with J2EE, A Roadmap
Getting Started with J2EE, A Roadmap
 
Component based architecture
Component based architectureComponent based architecture
Component based architecture
 
Introduction to single page application with angular js
Introduction to single page application with angular jsIntroduction to single page application with angular js
Introduction to single page application with angular js
 
Require JS
Require JSRequire JS
Require JS
 
Beginning In J2EE
Beginning In J2EEBeginning In J2EE
Beginning In J2EE
 
11.1 Android with HTML
11.1 Android with HTML11.1 Android with HTML
11.1 Android with HTML
 
How to perform Email Validation in JavaScript | JavaScript Form Validation | ...
How to perform Email Validation in JavaScript | JavaScript Form Validation | ...How to perform Email Validation in JavaScript | JavaScript Form Validation | ...
How to perform Email Validation in JavaScript | JavaScript Form Validation | ...
 
Agile documentation with Confluence and Sparx Enterprise Architect
Agile documentation with Confluence and Sparx Enterprise ArchitectAgile documentation with Confluence and Sparx Enterprise Architect
Agile documentation with Confluence and Sparx Enterprise Architect
 
Web performance tuning
Web performance tuning Web performance tuning
Web performance tuning
 
Evaluating and Choosing ZK Framework
Evaluating and Choosing ZK FrameworkEvaluating and Choosing ZK Framework
Evaluating and Choosing ZK Framework
 
WJAX 2012 - Web Apps With AngularJS
WJAX 2012 - Web Apps With AngularJSWJAX 2012 - Web Apps With AngularJS
WJAX 2012 - Web Apps With AngularJS
 

Similar a Backbone.js Tutorial: Learn MVC Architecture, Features & Real World Apps (39

FRONTEND DEVELOPMENT WITH REACT.JS
FRONTEND DEVELOPMENT WITH REACT.JSFRONTEND DEVELOPMENT WITH REACT.JS
FRONTEND DEVELOPMENT WITH REACT.JSIRJET Journal
 
Yeoman AngularJS and D3 - A solid stack for web apps
Yeoman AngularJS and D3 - A solid stack for web appsYeoman AngularJS and D3 - A solid stack for web apps
Yeoman AngularJS and D3 - A solid stack for web appsclimboid
 
Introduction to backbone_js
Introduction to backbone_jsIntroduction to backbone_js
Introduction to backbone_jsMohammed Saqib
 
React Js vs Node Js_ Which Framework to Choose for Your Next Web Application
React Js vs Node Js_ Which Framework to Choose for Your Next Web ApplicationReact Js vs Node Js_ Which Framework to Choose for Your Next Web Application
React Js vs Node Js_ Which Framework to Choose for Your Next Web Applicationadityakumar2080
 
Front End Development | Introduction
Front End Development | IntroductionFront End Development | Introduction
Front End Development | IntroductionJohnTaieb
 
Developing Java Web Applications
Developing Java Web ApplicationsDeveloping Java Web Applications
Developing Java Web Applicationshchen1
 
From Backbone to Ember and Back(bone) Again
From Backbone to Ember and Back(bone) AgainFrom Backbone to Ember and Back(bone) Again
From Backbone to Ember and Back(bone) Againjonknapp
 
Introduction to AngularJS Framework
Introduction to AngularJS FrameworkIntroduction to AngularJS Framework
Introduction to AngularJS FrameworkRaveendra R
 
Create an application with ember
Create an application with ember Create an application with ember
Create an application with ember Chandra Sekar
 
Installing Webpack with React JS from Scratch.pdf
Installing Webpack with React JS from Scratch.pdfInstalling Webpack with React JS from Scratch.pdf
Installing Webpack with React JS from Scratch.pdfSufalam Technologies
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET PresentationRasel Khan
 
Vue3: nuove funzionalità, differenze e come migrare
Vue3: nuove funzionalità, differenze e come migrareVue3: nuove funzionalità, differenze e come migrare
Vue3: nuove funzionalità, differenze e come migrareAndrea Campaci
 

Similar a Backbone.js Tutorial: Learn MVC Architecture, Features & Real World Apps (39 (20)

Reactjs Basics
Reactjs BasicsReactjs Basics
Reactjs Basics
 
Coding the UI
Coding the UICoding the UI
Coding the UI
 
Coding Ui
Coding UiCoding Ui
Coding Ui
 
NEXT.JS
NEXT.JSNEXT.JS
NEXT.JS
 
FRONTEND DEVELOPMENT WITH REACT.JS
FRONTEND DEVELOPMENT WITH REACT.JSFRONTEND DEVELOPMENT WITH REACT.JS
FRONTEND DEVELOPMENT WITH REACT.JS
 
Yeoman AngularJS and D3 - A solid stack for web apps
Yeoman AngularJS and D3 - A solid stack for web appsYeoman AngularJS and D3 - A solid stack for web apps
Yeoman AngularJS and D3 - A solid stack for web apps
 
Introduction to backbone_js
Introduction to backbone_jsIntroduction to backbone_js
Introduction to backbone_js
 
React Js vs Node Js_ Which Framework to Choose for Your Next Web Application
React Js vs Node Js_ Which Framework to Choose for Your Next Web ApplicationReact Js vs Node Js_ Which Framework to Choose for Your Next Web Application
React Js vs Node Js_ Which Framework to Choose for Your Next Web Application
 
VenkateshVG
VenkateshVGVenkateshVG
VenkateshVG
 
Front End Development | Introduction
Front End Development | IntroductionFront End Development | Introduction
Front End Development | Introduction
 
Developing Java Web Applications
Developing Java Web ApplicationsDeveloping Java Web Applications
Developing Java Web Applications
 
From Backbone to Ember and Back(bone) Again
From Backbone to Ember and Back(bone) AgainFrom Backbone to Ember and Back(bone) Again
From Backbone to Ember and Back(bone) Again
 
Presentation Tier optimizations
Presentation Tier optimizationsPresentation Tier optimizations
Presentation Tier optimizations
 
Introduction to AngularJS Framework
Introduction to AngularJS FrameworkIntroduction to AngularJS Framework
Introduction to AngularJS Framework
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
Create an application with ember
Create an application with ember Create an application with ember
Create an application with ember
 
Charan Grandhi_Resume
Charan Grandhi_ResumeCharan Grandhi_Resume
Charan Grandhi_Resume
 
Installing Webpack with React JS from Scratch.pdf
Installing Webpack with React JS from Scratch.pdfInstalling Webpack with React JS from Scratch.pdf
Installing Webpack with React JS from Scratch.pdf
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET Presentation
 
Vue3: nuove funzionalità, differenze e come migrare
Vue3: nuove funzionalità, differenze e come migrareVue3: nuove funzionalità, differenze e come migrare
Vue3: nuove funzionalità, differenze e come migrare
 

Último

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 

Último (20)

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

Backbone.js Tutorial: Learn MVC Architecture, Features & Real World Apps (39

  • 1.
  • 2. AGENDA  What is Backbone.js?  Why to use?  When to use Backbone.JS?  Backbone.js Architecture  Features  PROGRAM  Real world Backbone.js Application  Which companies uses backbone.js?  Advantages and disadvantages
  • 3. What is Backbone.js?  Backbone.js was initially released on October 13, 2010. It was developed by Jeremy Ashkenas.  Backbone.js is lightweight Javascript library that adds structure to your client-side code  Makes it easy to manage and decouple concerns in your application  MVC (model view controller)for the client  Light weight at under 8kb  Backbone is available for use under the MIT software license… Backbone is an open-source component of DocumentCloud.
  • 4. Why to use?  STRUCTURE  REUSE  SEPRARATION OF ROLES OF CONCERNS
  • 5. When to use Backbone.JS? • Backbone.js is used to reduce complications. • If we want a better design with less code, then it is better to use the BackboneJS library . • BackboneJS communicates via events; this ensures that you do not mess up the application. Your code will be cleaner, nicer and easy to maintain.
  • 6. Backbone.js Architecture  The Backbone.js architecture specifies the structure to the web applications that allows users to separate business logic and user interface logic.  It contains the following modules: • HTTP Request • Router • View • Events • Model • Collection • Data Source
  • 7.
  • 8. Features  Backbone provides different types of building blocks like models, views, events, routers and collections for assembling client side web applications.  Backbone.js is a free and open source library and contains over 100 available extensions.  Backbone.js allows developers to create client side web applications or mobile applications in well structured and organized format.  In Backbone.js when model changes, it automatically updates the HTML of your application.
  • 9. <!DOCTYPE html> <html> <head> <meta charset = "UTF-8"> <meta http-equiv = "X-UA- Compatible" content = "IE = edge,chrome = 1"> <title> using Backbone.js</title> </head> <body> <div id = "container">Loading...</div> <script src = "https://code.jquery.com/jquery-2.1.3.min.js" type = "text/javascript"></script> <script src = "https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1 .3.3/underscore-min.js" type = "text/javascript"></script> PROGRAM:
  • 10. <script src = "https://cdnjs.cloudflare.com/ajax/libs/backbone. js/0.9.2/backbone-min.js" type = "text/javascript"></script> <script type = "text/javascript"> var AppView = ({ el: '#container', Backbone.View.extend initialize: function() { this.render(); }, render: function() { this.$el.html("HELLO B10 GROUP!!!"); } }); var appView = new AppView(); </script> </body> </html> },
  • 11.
  • 12. Real world Backbone.js Application  LinkedIn Mobile To create its next generation HTML5 mobile web app. Backbone made it easy to keep the app modular, organized and extensible so that it was possible to program the complexities of LinkedIn user experience
  • 13. Which companies uses backbone.js?  Pinterest  Uber  MasterCard  Reddit
  • 14. Advantages • You can develop a web application with Backbone.js by using JavaScript with the minimal set of data-structuring (models & collections) and user interface (views & URLs). • It is best for developing MVC like web applications, single page web applications or complex JavaScript web applications in an organized and structured manner without JavaScript code mixing with HTML. • It provides API with many functions. • It facilitates you to abstract your data into models and your DOM application into views and binds the two together using events.
  • 15. DISADVANTAGES • Serves to be difficult to understand how to apply the code for the ones who are new to JavaScript. • Demands longer development time.