SlideShare uma empresa Scribd logo
1 de 20
Baixar para ler offline
Code compilation / build

Much less http requests
Tools:
concatenation
uglify / yuicompressor

• 
• 

http://www.flickr.com/photos/halfbisqued/2353845688/
Code compilation / build
Compile all js that we need:
One huge file

Compile all the js that the
current page might need:
Several smaller files
Create js groups according to page needs

http://www.flickr.com/photos/halfbisqued/2353845688/
Code compilation / build
Compile all js that we need:
One huge file

Compile all the js that the
current page might need:
Several smaller files
Create js groups according to page needs

What is the problem with that?
http://www.flickr.com/photos/halfbisqued/2353845688/
Take any page, coded, optimized, built,
deployed
Uh-Oh.. The Product / UX / Design division
enters the room!
The new killer feature, that saves us!

Click here to
close
Code compilation / build
"the current page might need"
One page gets n+1 new feature:
The js compiled group for that page grows even more
heavy

The given feature is used on the page,
or
The visitor might use it on the page
Do we really need it onLoad?
Lots of unused code, that waits for the user:
overhead, slows load time.
http://www.flickr.com/photos/halfbisqued/2353845688/
Async loading!
Load only the most necessary js onLoad!
Then, for every feature the user wants,
load the js runtime.

•  Feature based code, not page based
code

•  Small lag in UX, but faster page start
•  Loose module coupling, better code
http://www.flickr.com/photos/thenationalguard/8029811025/
Code compilation / build
Compile all js that we need:
One huge file

And what is the problem with that?
Compile all the js that the
current page might need:
Several smaller files
Create js groups according to page needs

http://www.flickr.com/photos/halfbisqued/2353845688/
Dependency handling
The problem with predefined js
groups:

•  add js by planned use

(add a feature, that

can be used)

•  add js by failsafe use

("this might come
handy" or "make sure to have this")

•  group is built at deploy
http://www.flickr.com/photos/wongjunhao/2761709029/
WE ARE
JOzSEF KAPUSI
AS
John Hannibal Smith
Mark Gemesi
as
Howling Mad Murdock
Biro Nandor
as
Templeton Faceman Peck
Robert Nyitrai
as
Captain Crane
Alden Fertig
as
General Hunt Stockwell
Gyula Feher
as
Frankie Santana
Szabolcs Szabolcsi Toth
as
Colonel Roderick Decker
Peter Juhasz
as
B.A. Baracus
A team 43 C

Mais conteúdo relacionado

Mais procurados

Web development today
Web development todayWeb development today
Web development today
Jaydev Gajera
 
Prototyping app using JS and HTML5 (Ciklum Kharkiv)
Prototyping app using JS and HTML5 (Ciklum Kharkiv)Prototyping app using JS and HTML5 (Ciklum Kharkiv)
Prototyping app using JS and HTML5 (Ciklum Kharkiv)
Yuriy Silvestrov
 

Mais procurados (20)

Latest Javascript MVC & Front End Frameworks 2017
Latest Javascript MVC & Front End Frameworks 2017Latest Javascript MVC & Front End Frameworks 2017
Latest Javascript MVC & Front End Frameworks 2017
 
Building the Front End with AngularJS
Building the Front End with AngularJSBuilding the Front End with AngularJS
Building the Front End with AngularJS
 
jQuery Conference Boston 2011 CouchApps
jQuery Conference Boston 2011 CouchAppsjQuery Conference Boston 2011 CouchApps
jQuery Conference Boston 2011 CouchApps
 
jQuery Keynote - Fall 2010
jQuery Keynote - Fall 2010jQuery Keynote - Fall 2010
jQuery Keynote - Fall 2010
 
웹을 지탱하는 차세대 기술 @한국웹20주년 컨퍼런스
웹을 지탱하는 차세대 기술 @한국웹20주년 컨퍼런스웹을 지탱하는 차세대 기술 @한국웹20주년 컨퍼런스
웹을 지탱하는 차세대 기술 @한국웹20주년 컨퍼런스
 
Atomic Design with Next.js
Atomic Design with Next.jsAtomic Design with Next.js
Atomic Design with Next.js
 
Unit testing
Unit testingUnit testing
Unit testing
 
Javascript Frameworks Comparison - Angular, Knockout, Ember and Backbone
Javascript Frameworks Comparison - Angular, Knockout, Ember and BackboneJavascript Frameworks Comparison - Angular, Knockout, Ember and Backbone
Javascript Frameworks Comparison - Angular, Knockout, Ember and Backbone
 
State of jQuery June 2013 - Portland
State of jQuery June 2013 - PortlandState of jQuery June 2013 - Portland
State of jQuery June 2013 - Portland
 
Angular js - 10 reasons to choose angularjs
Angular js - 10 reasons to choose angularjs Angular js - 10 reasons to choose angularjs
Angular js - 10 reasons to choose angularjs
 
Super tools to boost productivity in React dev env!
Super tools to boost productivity in React dev env!Super tools to boost productivity in React dev env!
Super tools to boost productivity in React dev env!
 
Mvvm knockout vs angular
Mvvm knockout vs angularMvvm knockout vs angular
Mvvm knockout vs angular
 
Advanced custom fields in Wordpress
Advanced custom fields in WordpressAdvanced custom fields in Wordpress
Advanced custom fields in Wordpress
 
Ember
EmberEmber
Ember
 
End to-End SPA Development Using ASP.NET and AngularJS
End to-End SPA Development Using ASP.NET and AngularJSEnd to-End SPA Development Using ASP.NET and AngularJS
End to-End SPA Development Using ASP.NET and AngularJS
 
Web development today
Web development todayWeb development today
Web development today
 
Optimizing Your Site for Holiday Traffic
Optimizing Your Site for Holiday TrafficOptimizing Your Site for Holiday Traffic
Optimizing Your Site for Holiday Traffic
 
React or Angular and SharePoint Framework Development
React or Angular and SharePoint Framework DevelopmentReact or Angular and SharePoint Framework Development
React or Angular and SharePoint Framework Development
 
WordPress as a Headless CMS - Bronson Quick
WordPress as a Headless CMS - Bronson QuickWordPress as a Headless CMS - Bronson Quick
WordPress as a Headless CMS - Bronson Quick
 
Prototyping app using JS and HTML5 (Ciklum Kharkiv)
Prototyping app using JS and HTML5 (Ciklum Kharkiv)Prototyping app using JS and HTML5 (Ciklum Kharkiv)
Prototyping app using JS and HTML5 (Ciklum Kharkiv)
 

Destaque

Content Marketing and Brand Journalism Strategy Ragan
Content Marketing and Brand Journalism Strategy RaganContent Marketing and Brand Journalism Strategy Ragan
Content Marketing and Brand Journalism Strategy Ragan
Gene King, APR
 
Mod 3 lesson 1 mastery assignment
Mod 3 lesson 1 mastery assignmentMod 3 lesson 1 mastery assignment
Mod 3 lesson 1 mastery assignment
mgandy32
 
Imágenes antes-después
Imágenes antes-despuésImágenes antes-después
Imágenes antes-después
cristianmotel
 
The poem by Jordan Woodford
The poem by Jordan WoodfordThe poem by Jordan Woodford
The poem by Jordan Woodford
jordanmx519
 
Licencje i cc
Licencje i ccLicencje i cc
Licencje i cc
bartq178
 

Destaque (18)

Styrketrening pp
Styrketrening ppStyrketrening pp
Styrketrening pp
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Traduccion de ingles
Traduccion de inglesTraduccion de ingles
Traduccion de ingles
 
It's made of ….
It's made of ….It's made of ….
It's made of ….
 
LR Каталог 2014
LR Каталог 2014LR Каталог 2014
LR Каталог 2014
 
Building DH Capacity Workshop 2016
Building DH Capacity Workshop 2016Building DH Capacity Workshop 2016
Building DH Capacity Workshop 2016
 
Content Marketing and Brand Journalism Strategy Ragan
Content Marketing and Brand Journalism Strategy RaganContent Marketing and Brand Journalism Strategy Ragan
Content Marketing and Brand Journalism Strategy Ragan
 
Guide For Salt Lake City Meeting Planners
Guide For Salt Lake City Meeting PlannersGuide For Salt Lake City Meeting Planners
Guide For Salt Lake City Meeting Planners
 
Prezentacsia
PrezentacsiaPrezentacsia
Prezentacsia
 
Mod 3 lesson 1 mastery assignment
Mod 3 lesson 1 mastery assignmentMod 3 lesson 1 mastery assignment
Mod 3 lesson 1 mastery assignment
 
Social Media Tips for Venues
Social Media Tips for VenuesSocial Media Tips for Venues
Social Media Tips for Venues
 
Digital Scholarly Communication @Claremont Colleges
Digital Scholarly Communication @Claremont CollegesDigital Scholarly Communication @Claremont Colleges
Digital Scholarly Communication @Claremont Colleges
 
Lean StartUP - EmiliaRomagnaIN Modena 6 febbraio
Lean StartUP - EmiliaRomagnaIN Modena 6 febbraioLean StartUP - EmiliaRomagnaIN Modena 6 febbraio
Lean StartUP - EmiliaRomagnaIN Modena 6 febbraio
 
M6.2 AKB 48 Increase the Fans with Social Media
M6.2 AKB 48 Increase the Fans with Social MediaM6.2 AKB 48 Increase the Fans with Social Media
M6.2 AKB 48 Increase the Fans with Social Media
 
Imágenes antes-después
Imágenes antes-despuésImágenes antes-después
Imágenes antes-después
 
Presentacion niif y el peritaje contable
Presentacion niif y el peritaje contablePresentacion niif y el peritaje contable
Presentacion niif y el peritaje contable
 
The poem by Jordan Woodford
The poem by Jordan WoodfordThe poem by Jordan Woodford
The poem by Jordan Woodford
 
Licencje i cc
Licencje i ccLicencje i cc
Licencje i cc
 

Semelhante a A team 43 C

Mobile and IBM Worklight Best Practices
Mobile and IBM Worklight Best PracticesMobile and IBM Worklight Best Practices
Mobile and IBM Worklight Best Practices
Andrew Ferrier
 
Introduction to Javascript - College Lecture
Introduction to Javascript - College LectureIntroduction to Javascript - College Lecture
Introduction to Javascript - College Lecture
Zac Gordon
 
GeneralMobile Hybrid Development with WordPress
GeneralMobile Hybrid Development with WordPressGeneralMobile Hybrid Development with WordPress
GeneralMobile Hybrid Development with WordPress
GGDBologna
 

Semelhante a A team 43 C (20)

JS Module Server
JS Module ServerJS Module Server
JS Module Server
 
orcreatehappyusers
orcreatehappyusersorcreatehappyusers
orcreatehappyusers
 
orcreatehappyusers
orcreatehappyusersorcreatehappyusers
orcreatehappyusers
 
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)
 
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital MarketersSearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
 
Mobile and IBM Worklight Best Practices
Mobile and IBM Worklight Best PracticesMobile and IBM Worklight Best Practices
Mobile and IBM Worklight Best Practices
 
Developing JavaScript Widgets
Developing JavaScript WidgetsDeveloping JavaScript Widgets
Developing JavaScript Widgets
 
Frontend Workflow
Frontend WorkflowFrontend Workflow
Frontend Workflow
 
Introduction to Javascript - College Lecture
Introduction to Javascript - College LectureIntroduction to Javascript - College Lecture
Introduction to Javascript - College Lecture
 
Mobile Hybrid Development with WordPress
Mobile Hybrid Development with WordPressMobile Hybrid Development with WordPress
Mobile Hybrid Development with WordPress
 
GeneralMobile Hybrid Development with WordPress
GeneralMobile Hybrid Development with WordPressGeneralMobile Hybrid Development with WordPress
GeneralMobile Hybrid Development with WordPress
 
MidwestJS 2014 Reconciling ReactJS as a View Layer Replacement
MidwestJS 2014 Reconciling ReactJS as a View Layer ReplacementMidwestJS 2014 Reconciling ReactJS as a View Layer Replacement
MidwestJS 2014 Reconciling ReactJS as a View Layer Replacement
 
Reconciling ReactJS as a View Layer Replacement (MidwestJS 2014)
Reconciling ReactJS as a View Layer Replacement (MidwestJS 2014)Reconciling ReactJS as a View Layer Replacement (MidwestJS 2014)
Reconciling ReactJS as a View Layer Replacement (MidwestJS 2014)
 
Progressive Enhancement 2.0 (Conference Agnostic)
Progressive Enhancement 2.0 (Conference Agnostic)Progressive Enhancement 2.0 (Conference Agnostic)
Progressive Enhancement 2.0 (Conference Agnostic)
 
Presentation Tier optimizations
Presentation Tier optimizationsPresentation Tier optimizations
Presentation Tier optimizations
 
Developing JavaScript Widgets
Developing JavaScript WidgetsDeveloping JavaScript Widgets
Developing JavaScript Widgets
 
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
 
Building performance into the new yahoo homepage presentation
Building performance into the new yahoo  homepage presentationBuilding performance into the new yahoo  homepage presentation
Building performance into the new yahoo homepage presentation
 
Performance on the Yahoo! Homepage
Performance on the Yahoo! HomepagePerformance on the Yahoo! Homepage
Performance on the Yahoo! Homepage
 
The 5 most common reasons for a slow WordPress site and how to fix them – ext...
The 5 most common reasons for a slow WordPress site and how to fix them – ext...The 5 most common reasons for a slow WordPress site and how to fix them – ext...
The 5 most common reasons for a slow WordPress site and how to fix them – ext...
 

Último

Capstone slidedeck for my capstone project part 2.pdf
Capstone slidedeck for my capstone project part 2.pdfCapstone slidedeck for my capstone project part 2.pdf
Capstone slidedeck for my capstone project part 2.pdf
eliklein8
 
Capstone slidedeck for my capstone final edition.pdf
Capstone slidedeck for my capstone final edition.pdfCapstone slidedeck for my capstone final edition.pdf
Capstone slidedeck for my capstone final edition.pdf
eliklein8
 
Jual Obat Aborsi Palu ( Taiwan No.1 ) 085657271886 Obat Penggugur Kandungan C...
Jual Obat Aborsi Palu ( Taiwan No.1 ) 085657271886 Obat Penggugur Kandungan C...Jual Obat Aborsi Palu ( Taiwan No.1 ) 085657271886 Obat Penggugur Kandungan C...
Jual Obat Aborsi Palu ( Taiwan No.1 ) 085657271886 Obat Penggugur Kandungan C...
ZurliaSoop
 
💊💊 OBAT PENGGUGUR KANDUNGAN SEMARANG 087776-558899 ABORSI KLINIK SEMARANG
💊💊 OBAT PENGGUGUR KANDUNGAN SEMARANG 087776-558899 ABORSI KLINIK SEMARANG💊💊 OBAT PENGGUGUR KANDUNGAN SEMARANG 087776-558899 ABORSI KLINIK SEMARANG
💊💊 OBAT PENGGUGUR KANDUNGAN SEMARANG 087776-558899 ABORSI KLINIK SEMARANG
Cara Menggugurkan Kandungan 087776558899
 
+971565801893>> ORIGINAL CYTOTEC ABORTION PILLS FOR SALE IN DUBAI AND ABUDHABI<<
+971565801893>> ORIGINAL CYTOTEC ABORTION PILLS FOR SALE IN DUBAI AND ABUDHABI<<+971565801893>> ORIGINAL CYTOTEC ABORTION PILLS FOR SALE IN DUBAI AND ABUDHABI<<
+971565801893>> ORIGINAL CYTOTEC ABORTION PILLS FOR SALE IN DUBAI AND ABUDHABI<<
Health
 
Call Girls in Chattarpur (delhi) call me [9953056974] escort service 24X7
Call Girls in Chattarpur (delhi) call me [9953056974] escort service 24X7Call Girls in Chattarpur (delhi) call me [9953056974] escort service 24X7
Call Girls in Chattarpur (delhi) call me [9953056974] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Último (20)

Ignite Your Online Influence: Sociocosmos - Where Social Media Magic Happens
Ignite Your Online Influence: Sociocosmos - Where Social Media Magic HappensIgnite Your Online Influence: Sociocosmos - Where Social Media Magic Happens
Ignite Your Online Influence: Sociocosmos - Where Social Media Magic Happens
 
Capstone slidedeck for my capstone project part 2.pdf
Capstone slidedeck for my capstone project part 2.pdfCapstone slidedeck for my capstone project part 2.pdf
Capstone slidedeck for my capstone project part 2.pdf
 
VIP Call Girls Morena 9332606886 Free Home Delivery 5500 Only
VIP Call Girls Morena 9332606886 Free Home Delivery 5500 OnlyVIP Call Girls Morena 9332606886 Free Home Delivery 5500 Only
VIP Call Girls Morena 9332606886 Free Home Delivery 5500 Only
 
Capstone slidedeck for my capstone final edition.pdf
Capstone slidedeck for my capstone final edition.pdfCapstone slidedeck for my capstone final edition.pdf
Capstone slidedeck for my capstone final edition.pdf
 
Film show evaluation powerpoint for site
Film show evaluation powerpoint for siteFilm show evaluation powerpoint for site
Film show evaluation powerpoint for site
 
Film the city investagation powerpoint :)
Film the city investagation powerpoint :)Film the city investagation powerpoint :)
Film the city investagation powerpoint :)
 
Production diary Film the city powerpoint
Production diary Film the city powerpointProduction diary Film the city powerpoint
Production diary Film the city powerpoint
 
Hire↠Young Call Girls in Hari Nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esco...
Hire↠Young Call Girls in Hari Nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esco...Hire↠Young Call Girls in Hari Nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esco...
Hire↠Young Call Girls in Hari Nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esco...
 
Jual Obat Aborsi Palu ( Taiwan No.1 ) 085657271886 Obat Penggugur Kandungan C...
Jual Obat Aborsi Palu ( Taiwan No.1 ) 085657271886 Obat Penggugur Kandungan C...Jual Obat Aborsi Palu ( Taiwan No.1 ) 085657271886 Obat Penggugur Kandungan C...
Jual Obat Aborsi Palu ( Taiwan No.1 ) 085657271886 Obat Penggugur Kandungan C...
 
Vellore Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
Vellore Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort ServiceVellore Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
Vellore Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
 
💊💊 OBAT PENGGUGUR KANDUNGAN SEMARANG 087776-558899 ABORSI KLINIK SEMARANG
💊💊 OBAT PENGGUGUR KANDUNGAN SEMARANG 087776-558899 ABORSI KLINIK SEMARANG💊💊 OBAT PENGGUGUR KANDUNGAN SEMARANG 087776-558899 ABORSI KLINIK SEMARANG
💊💊 OBAT PENGGUGUR KANDUNGAN SEMARANG 087776-558899 ABORSI KLINIK SEMARANG
 
Enhancing Consumer Trust Through Strategic Content Marketing
Enhancing Consumer Trust Through Strategic Content MarketingEnhancing Consumer Trust Through Strategic Content Marketing
Enhancing Consumer Trust Through Strategic Content Marketing
 
Film show production powerpoint for site
Film show production powerpoint for siteFilm show production powerpoint for site
Film show production powerpoint for site
 
+971565801893>> ORIGINAL CYTOTEC ABORTION PILLS FOR SALE IN DUBAI AND ABUDHABI<<
+971565801893>> ORIGINAL CYTOTEC ABORTION PILLS FOR SALE IN DUBAI AND ABUDHABI<<+971565801893>> ORIGINAL CYTOTEC ABORTION PILLS FOR SALE IN DUBAI AND ABUDHABI<<
+971565801893>> ORIGINAL CYTOTEC ABORTION PILLS FOR SALE IN DUBAI AND ABUDHABI<<
 
Call Girls in Chattarpur (delhi) call me [9953056974] escort service 24X7
Call Girls in Chattarpur (delhi) call me [9953056974] escort service 24X7Call Girls in Chattarpur (delhi) call me [9953056974] escort service 24X7
Call Girls in Chattarpur (delhi) call me [9953056974] escort service 24X7
 
"Mastering the Digital Landscape: Navigating the World of Digital Marketing"
"Mastering the Digital Landscape: Navigating the World of Digital Marketing""Mastering the Digital Landscape: Navigating the World of Digital Marketing"
"Mastering the Digital Landscape: Navigating the World of Digital Marketing"
 
College & House wife Call Girls in Paharganj 9634446618 -Best Escort call gi...
College & House wife  Call Girls in Paharganj 9634446618 -Best Escort call gi...College & House wife  Call Girls in Paharganj 9634446618 -Best Escort call gi...
College & House wife Call Girls in Paharganj 9634446618 -Best Escort call gi...
 
The Butterfly Effect
The Butterfly EffectThe Butterfly Effect
The Butterfly Effect
 
Capstone slide deck on the TikTok revolution
Capstone slide deck on the TikTok revolutionCapstone slide deck on the TikTok revolution
Capstone slide deck on the TikTok revolution
 
Marketing Plan - Social Media. The Sparks Foundation
Marketing Plan -  Social Media. The Sparks FoundationMarketing Plan -  Social Media. The Sparks Foundation
Marketing Plan - Social Media. The Sparks Foundation
 

A team 43 C

  • 1. Code compilation / build Much less http requests Tools: concatenation uglify / yuicompressor •  •  http://www.flickr.com/photos/halfbisqued/2353845688/
  • 2. Code compilation / build Compile all js that we need: One huge file Compile all the js that the current page might need: Several smaller files Create js groups according to page needs http://www.flickr.com/photos/halfbisqued/2353845688/
  • 3. Code compilation / build Compile all js that we need: One huge file Compile all the js that the current page might need: Several smaller files Create js groups according to page needs What is the problem with that? http://www.flickr.com/photos/halfbisqued/2353845688/
  • 4. Take any page, coded, optimized, built, deployed
  • 5. Uh-Oh.. The Product / UX / Design division enters the room!
  • 6. The new killer feature, that saves us! Click here to close
  • 7. Code compilation / build "the current page might need" One page gets n+1 new feature: The js compiled group for that page grows even more heavy The given feature is used on the page, or The visitor might use it on the page Do we really need it onLoad? Lots of unused code, that waits for the user: overhead, slows load time. http://www.flickr.com/photos/halfbisqued/2353845688/
  • 8. Async loading! Load only the most necessary js onLoad! Then, for every feature the user wants, load the js runtime. •  Feature based code, not page based code •  Small lag in UX, but faster page start •  Loose module coupling, better code http://www.flickr.com/photos/thenationalguard/8029811025/
  • 9. Code compilation / build Compile all js that we need: One huge file And what is the problem with that? Compile all the js that the current page might need: Several smaller files Create js groups according to page needs http://www.flickr.com/photos/halfbisqued/2353845688/
  • 10. Dependency handling The problem with predefined js groups: •  add js by planned use (add a feature, that can be used) •  add js by failsafe use ("this might come handy" or "make sure to have this") •  group is built at deploy http://www.flickr.com/photos/wongjunhao/2761709029/