SlideShare a Scribd company logo
Data Presentation with Dust.js 
Technologies 
backing 
By : Ruhaim Izmeth
Presentation with Dust.js Technologies 
What is Dust? 
backing 
https://github.com/linkedin/dustjs/ 
Dust is a JavaScript templating engine 
designed to provide a clean separation 
between presentation and logic without 
sacrificing ease of use
Presentation with Dust.js Technologies 
Choosing Dust.js 
backing 
18 templating technologies 
4 finalists 
Google 
Closure 
Templates 
mustache 
handlebars 
dust.js 
WINNER
Presentation with Dust.js Technologies 
Most Viewed Page types on Linkedin 
backing 
User Profiles
Presentation with Dust.js Technologies 
Most Viewed Page types on Linkedin 
backing 
Company Profiles
Presentation with Dust.js Technologies 
Most Viewed Page types on Linkedin 
backing 
Jobs
Presentation with Dust.js Technologies 
LinkedIn presentation layer in 2010 
backing 
html 
browser 
server 
grails jruby java
Presentation with Dust.js Technologies 
LinkedIn presentation layer after Dust.js in 2011 
backing 
html 
json 
browser 
server 
<dust-template>.js 
grails jruby java 
cdn
Presentation with Dust.js Technologies 
Simple Dust.js usage 
backing 
<html> 
<script type="text/javascript" src="dust-full.min.js"></script> 
<script type="text/javascript" src="jquery.min.js"></script> 
<script type="text/javascript"> 
var json = “<json structure>”; 
var _t = “<dust template>”; 
dust.render(_t, json, function(error, data){ 
$(“mydiv”).html(data) 
}); 
</script> 
<div id=”mydiv”></div> 
</html>
Presentation with Dust.js Technologies 
Simple Dust.js usage 
backing
Presentation with Dust.js Technologies 
Some features of Dust templates 
backing 
simple - {name} 
loops - {#names}...{/names} 
Conditionals 
if conditions - {@if cond="condition"} 
exists - {?names}...{/names} 
not exist - {^names}...{/names} 
Selection - @select key=”<>” + @eq,@ne,@lt,@gt,@lte,@gte 
Math function - @math 
Nested JSONs 
contexts and sections 
paths 
And more at - https://github.com/linkedin/dustjs/wiki/Dust-Tutorial
Presentation with Dust.js Technologies 
Advantages 
backing 
● Compilable Templates - Compiled JavaScript provide speed of execution 
● Caching - can be served via CDN unlike a JSP output / less bandwidth 
● Decoupling - templates aren’t bound to any business logic 
● Easy Testing - No need for UI developers to start a Tomcat server to render 
a page served with JSON-- much faster cycle time, less issues 
● i18n - Localization support 
● Write once and can run the same on both the client (browser) and server 
using JS engine such as V8/rhino 
● Progressive rendering - Load only what’s needed.
Presentation with Dust.js Technologies 
Disadvantages 
backing 
● JS disabled clients / Clients with poor JSON parsing support eg:- ie6,7,8 
won't render templated properly 
● SEO unfriendly 
● Need to run templating logic for emails - but this does not run on browser 
Solution : do the templating on server using additional technology stack 
Node.js, V8 engine, Rhino
Presentation with Dust.js Technologies 
Next major client side improvement in 2013 
backing 
Introducing Fizzy - deferred rendering 
read more at http://engineering.linkedin.com/profile/engineering-new-linkedin-profile

More Related Content

PPTX
Skillwise Dust JS Template
PPT
Vanjs backbone-powerpoint
PDF
Velocity dust
PDF
Modern web application devlopment workflow
PDF
Web Development with AngularJS, NodeJS and ExpressJS
PDF
Node.js Crash Course (Jump Start)
PDF
Why and How to Use Virtual DOM
PDF
Introduction to html & css
Skillwise Dust JS Template
Vanjs backbone-powerpoint
Velocity dust
Modern web application devlopment workflow
Web Development with AngularJS, NodeJS and ExpressJS
Node.js Crash Course (Jump Start)
Why and How to Use Virtual DOM
Introduction to html & css

What's hot (20)

PDF
BP101: A Modernized Workflow w/ Domino/XPages
PDF
OSGi and Spring Data for simple (Web) Application Development
PDF
Node.js & Twitter Bootstrap Crash Course
PDF
JavaScript Jump Start 20220214
PDF
How to Build Real-time Chat App with Express, ReactJS, and Socket.IO?
PDF
CQ5 and Sling overview
PDF
Angular 2 vs React
PPT
JAVA SCRIPT
PPTX
Polymer and web component
PDF
Web Components
PDF
Introduction to Javascript programming
PPT
JavaScript Missing Manual, Ch. 1
PDF
RESTful OSGi Web Applications Tutorial - Khawaja S Shams & Jeff Norris
KEY
Leaving jsps in the dust
PPTX
Introduction to java_script
PDF
Isomorphic web application
PPTX
JavaScript front end performance optimizations
PPTX
How to build a web application with Polymer
PDF
Laravel 8 export data as excel file with example
PDF
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...
BP101: A Modernized Workflow w/ Domino/XPages
OSGi and Spring Data for simple (Web) Application Development
Node.js & Twitter Bootstrap Crash Course
JavaScript Jump Start 20220214
How to Build Real-time Chat App with Express, ReactJS, and Socket.IO?
CQ5 and Sling overview
Angular 2 vs React
JAVA SCRIPT
Polymer and web component
Web Components
Introduction to Javascript programming
JavaScript Missing Manual, Ch. 1
RESTful OSGi Web Applications Tutorial - Khawaja S Shams & Jeff Norris
Leaving jsps in the dust
Introduction to java_script
Isomorphic web application
JavaScript front end performance optimizations
How to build a web application with Polymer
Laravel 8 export data as excel file with example
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...
Ad

Similar to Data presentation with dust js technologies backing linkedin (20)

PDF
PPTX
PPT
Bridging the Gap with Dust.js
PDF
Dust[in]
PPTX
Исполнение JS на сервере при масштабировании - что может пойти не так, Brian ...
PPTX
Client Side Frameworks
PDF
Lean Engineering. Applying Lean Principles to Building Experiences
PDF
Workshop 8: Templating: Handlebars, DustJS
PPTX
Client Side Performance for Back End Developers - Camb Expert Talks, Nov 2016
PPTX
PPTX
Sst hackathon express
PDF
Engage 2019: Modernising Your Domino and XPages Applications
PPTX
An Overview on Nuxt.js
PPTX
Industrial Training.pptx
PDF
HTML5: Building for a Faster Web
PDF
Top 10 Best Web Development Technologies
PPTX
Building Advanced Web UI in The Enterprise World
PPTX
Ite express labs
PPTX
Remix
PPTX
Unit 1 Part A.pptx bca subject with the ppt
Bridging the Gap with Dust.js
Dust[in]
Исполнение JS на сервере при масштабировании - что может пойти не так, Brian ...
Client Side Frameworks
Lean Engineering. Applying Lean Principles to Building Experiences
Workshop 8: Templating: Handlebars, DustJS
Client Side Performance for Back End Developers - Camb Expert Talks, Nov 2016
Sst hackathon express
Engage 2019: Modernising Your Domino and XPages Applications
An Overview on Nuxt.js
Industrial Training.pptx
HTML5: Building for a Faster Web
Top 10 Best Web Development Technologies
Building Advanced Web UI in The Enterprise World
Ite express labs
Remix
Unit 1 Part A.pptx bca subject with the ppt
Ad

Recently uploaded (20)

PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PPTX
Funds Management Learning Material for Beg
PDF
The Internet -By the Numbers, Sri Lanka Edition
PDF
Introduction to the IoT system, how the IoT system works
PDF
How to Ensure Data Integrity During Shopify Migration_ Best Practices for Sec...
PPTX
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
PPTX
artificial intelligence overview of it and more
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PPTX
Internet___Basics___Styled_ presentation
PPTX
innovation process that make everything different.pptx
PPTX
international classification of diseases ICD-10 review PPT.pptx
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
PPTX
Introuction about WHO-FIC in ICD-10.pptx
PPT
tcp ip networks nd ip layering assotred slides
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
Slides PPTX World Game (s) Eco Economic Epochs.pptx
Module 1 - Cyber Law and Ethics 101.pptx
Funds Management Learning Material for Beg
The Internet -By the Numbers, Sri Lanka Edition
Introduction to the IoT system, how the IoT system works
How to Ensure Data Integrity During Shopify Migration_ Best Practices for Sec...
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
artificial intelligence overview of it and more
INTERNET------BASICS-------UPDATED PPT PRESENTATION
Internet___Basics___Styled_ presentation
innovation process that make everything different.pptx
international classification of diseases ICD-10 review PPT.pptx
Power Point - Lesson 3_2.pptx grad school presentation
Introuction about WHO-FIC in ICD-10.pptx
tcp ip networks nd ip layering assotred slides
SASE Traffic Flow - ZTNA Connector-1.pdf
Tenda Login Guide: Access Your Router in 5 Easy Steps
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
Slides PDF The World Game (s) Eco Economic Epochs.pdf

Data presentation with dust js technologies backing linkedin

  • 1. Data Presentation with Dust.js Technologies backing By : Ruhaim Izmeth
  • 2. Presentation with Dust.js Technologies What is Dust? backing https://github.com/linkedin/dustjs/ Dust is a JavaScript templating engine designed to provide a clean separation between presentation and logic without sacrificing ease of use
  • 3. Presentation with Dust.js Technologies Choosing Dust.js backing 18 templating technologies 4 finalists Google Closure Templates mustache handlebars dust.js WINNER
  • 4. Presentation with Dust.js Technologies Most Viewed Page types on Linkedin backing User Profiles
  • 5. Presentation with Dust.js Technologies Most Viewed Page types on Linkedin backing Company Profiles
  • 6. Presentation with Dust.js Technologies Most Viewed Page types on Linkedin backing Jobs
  • 7. Presentation with Dust.js Technologies LinkedIn presentation layer in 2010 backing html browser server grails jruby java
  • 8. Presentation with Dust.js Technologies LinkedIn presentation layer after Dust.js in 2011 backing html json browser server <dust-template>.js grails jruby java cdn
  • 9. Presentation with Dust.js Technologies Simple Dust.js usage backing <html> <script type="text/javascript" src="dust-full.min.js"></script> <script type="text/javascript" src="jquery.min.js"></script> <script type="text/javascript"> var json = “<json structure>”; var _t = “<dust template>”; dust.render(_t, json, function(error, data){ $(“mydiv”).html(data) }); </script> <div id=”mydiv”></div> </html>
  • 10. Presentation with Dust.js Technologies Simple Dust.js usage backing
  • 11. Presentation with Dust.js Technologies Some features of Dust templates backing simple - {name} loops - {#names}...{/names} Conditionals if conditions - {@if cond="condition"} exists - {?names}...{/names} not exist - {^names}...{/names} Selection - @select key=”<>” + @eq,@ne,@lt,@gt,@lte,@gte Math function - @math Nested JSONs contexts and sections paths And more at - https://github.com/linkedin/dustjs/wiki/Dust-Tutorial
  • 12. Presentation with Dust.js Technologies Advantages backing ● Compilable Templates - Compiled JavaScript provide speed of execution ● Caching - can be served via CDN unlike a JSP output / less bandwidth ● Decoupling - templates aren’t bound to any business logic ● Easy Testing - No need for UI developers to start a Tomcat server to render a page served with JSON-- much faster cycle time, less issues ● i18n - Localization support ● Write once and can run the same on both the client (browser) and server using JS engine such as V8/rhino ● Progressive rendering - Load only what’s needed.
  • 13. Presentation with Dust.js Technologies Disadvantages backing ● JS disabled clients / Clients with poor JSON parsing support eg:- ie6,7,8 won't render templated properly ● SEO unfriendly ● Need to run templating logic for emails - but this does not run on browser Solution : do the templating on server using additional technology stack Node.js, V8 engine, Rhino
  • 14. Presentation with Dust.js Technologies Next major client side improvement in 2013 backing Introducing Fizzy - deferred rendering read more at http://engineering.linkedin.com/profile/engineering-new-linkedin-profile