SlideShare une entreprise Scribd logo
1  sur  12
Télécharger pour lire hors ligne
Building a Single-Page
Application with
GatsbyJS
Karan
Rajpal
Technical Lead – DSC UTA
CSE Grad Student at UT
Arlington
2
/in/karan-rajpal @karanrajpal14 karanr.dev karanrajpal14
Single-Page Applications?
3
React? Virtual DOM?
Components? Static Website?
Have you set-up your
devices?
I really, really, hope you
did. If not, no worries.
Just pay attention.
If you’d like to set it up
in the meantime, scan
the QR code to find the
setup guide.
qrco.de/bboEWC
Preview
5
Here’s the plan
Building a
Single Page
Application
with GatsbyJS
Session 1
Building a Iris
Species
Predictor
Session 3
Linear
Regression on
Iris Dataset
with Python
and Scikit-learn
Session 2
6
• Learn to break problems into
digestible pieces
• Solve smaller problems
• Build end-to-end solutions by
piecing solutions together
• Profit!
Why?
Multi-page applications vs. Single-page applications
8
MPA
• Traditional web applications
• Every interaction reloads the
webpage
• Usually larger in size and
codebase
SPA
• Simple web applications
• Interactions do not reload the
webpage
• Usually much smaller in size
Document Object
Model (DOM)
9
● API for HTML and XML Documents
● Comprises of HTML Nodes structured
like a tree
● Complete DOM is re-rendered when
any of the elements change
Virtual DOM
10
● Only updated parts of the page are
re-rendered
● Improves performance of web
application
● Used by libraries such as React and
Vue
Enough talk.
Let’s start building.
Shall we?
11
12
Thank you!
Do you have any questions?
Become a member Join our discord
qrco.de/bbnFAX qrco.de/bbnFBT

Contenu connexe

Similaire à Building a Single Page Application with GatsbyJS

130511 stop wasting_your_time
130511 stop wasting_your_time130511 stop wasting_your_time
130511 stop wasting_your_time
Henning Blohm
 
Usability in the GeoWeb
Usability in the GeoWebUsability in the GeoWeb
Usability in the GeoWeb
Dave Bouwman
 

Similaire à Building a Single Page Application with GatsbyJS (20)

130511 stop wasting_your_time
130511 stop wasting_your_time130511 stop wasting_your_time
130511 stop wasting_your_time
 
React Native: Expectations vs Reality
React Native: Expectations vs RealityReact Native: Expectations vs Reality
React Native: Expectations vs Reality
 
Stop making these mistakes when using react native to build apps
Stop making these mistakes when using react native to build appsStop making these mistakes when using react native to build apps
Stop making these mistakes when using react native to build apps
 
Embracing Uncertainty: Learning to Think Responsively
Embracing Uncertainty: Learning to Think ResponsivelyEmbracing Uncertainty: Learning to Think Responsively
Embracing Uncertainty: Learning to Think Responsively
 
Best Practices - By Lofi Dewanto
Best Practices - By Lofi DewantoBest Practices - By Lofi Dewanto
Best Practices - By Lofi Dewanto
 
Two approaches to RWD: Pure & Hybrid. Brendan Falkowski
Two approaches to RWD: Pure & Hybrid. Brendan Falkowski Two approaches to RWD: Pure & Hybrid. Brendan Falkowski
Two approaches to RWD: Pure & Hybrid. Brendan Falkowski
 
Which Postgres is Right for You?
Which Postgres is Right for You? Which Postgres is Right for You?
Which Postgres is Right for You?
 
Conquer Architectural Challenges with End-to-End JavaScript - enterJS 2014
Conquer Architectural Challenges with End-to-End JavaScript - enterJS 2014Conquer Architectural Challenges with End-to-End JavaScript - enterJS 2014
Conquer Architectural Challenges with End-to-End JavaScript - enterJS 2014
 
Proud to be polyglot
Proud to be polyglotProud to be polyglot
Proud to be polyglot
 
Real World Application of Development
Real World Application of DevelopmentReal World Application of Development
Real World Application of Development
 
ImthiyazAli_Resume
ImthiyazAli_ResumeImthiyazAli_Resume
ImthiyazAli_Resume
 
corporateJavascript
corporateJavascriptcorporateJavascript
corporateJavascript
 
PykQuery.js
PykQuery.jsPykQuery.js
PykQuery.js
 
Measuring Web Performance - HighEdWeb Edition
Measuring Web Performance - HighEdWeb EditionMeasuring Web Performance - HighEdWeb Edition
Measuring Web Performance - HighEdWeb Edition
 
The Great Debate: PostgreSQL vs MySQL
The Great Debate: PostgreSQL vs MySQLThe Great Debate: PostgreSQL vs MySQL
The Great Debate: PostgreSQL vs MySQL
 
Top 13 best front end web development tools to consider in 2021
Top 13 best front end web development tools to consider in 2021Top 13 best front end web development tools to consider in 2021
Top 13 best front end web development tools to consider in 2021
 
Android App Performance
Android App PerformanceAndroid App Performance
Android App Performance
 
Usability in the GeoWeb
Usability in the GeoWebUsability in the GeoWeb
Usability in the GeoWeb
 
Workshop About Software Engineering Skills 2019
Workshop About Software Engineering Skills 2019Workshop About Software Engineering Skills 2019
Workshop About Software Engineering Skills 2019
 
Tools and best practices for sustainable software
Tools and best practices for sustainable softwareTools and best practices for sustainable software
Tools and best practices for sustainable software
 

Dernier

Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
drjose256
 
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Lovely Professional University
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
MaherOthman7
 
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdfALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
Madan Karki
 

Dernier (20)

Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
Electrical shop management system project report.pdf
Electrical shop management system project report.pdfElectrical shop management system project report.pdf
Electrical shop management system project report.pdf
 
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
 
Interfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfInterfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdf
 
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTUUNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
 
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.ppt
 
"United Nations Park" Site Visit Report.
"United Nations Park" Site  Visit Report."United Nations Park" Site  Visit Report.
"United Nations Park" Site Visit Report.
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
 
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdfALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
 
Multivibrator and its types defination and usges.pptx
Multivibrator and its types defination and usges.pptxMultivibrator and its types defination and usges.pptx
Multivibrator and its types defination and usges.pptx
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AI
 
Piping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdfPiping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdf
 
Insurance management system project report.pdf
Insurance management system project report.pdfInsurance management system project report.pdf
Insurance management system project report.pdf
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
 

Building a Single Page Application with GatsbyJS

  • 2. Karan Rajpal Technical Lead – DSC UTA CSE Grad Student at UT Arlington 2 /in/karan-rajpal @karanrajpal14 karanr.dev karanrajpal14
  • 3. Single-Page Applications? 3 React? Virtual DOM? Components? Static Website?
  • 4. Have you set-up your devices? I really, really, hope you did. If not, no worries. Just pay attention. If you’d like to set it up in the meantime, scan the QR code to find the setup guide. qrco.de/bboEWC
  • 6. Here’s the plan Building a Single Page Application with GatsbyJS Session 1 Building a Iris Species Predictor Session 3 Linear Regression on Iris Dataset with Python and Scikit-learn Session 2 6
  • 7. • Learn to break problems into digestible pieces • Solve smaller problems • Build end-to-end solutions by piecing solutions together • Profit! Why?
  • 8. Multi-page applications vs. Single-page applications 8 MPA • Traditional web applications • Every interaction reloads the webpage • Usually larger in size and codebase SPA • Simple web applications • Interactions do not reload the webpage • Usually much smaller in size
  • 9. Document Object Model (DOM) 9 ● API for HTML and XML Documents ● Comprises of HTML Nodes structured like a tree ● Complete DOM is re-rendered when any of the elements change
  • 10. Virtual DOM 10 ● Only updated parts of the page are re-rendered ● Improves performance of web application ● Used by libraries such as React and Vue
  • 11. Enough talk. Let’s start building. Shall we? 11
  • 12. 12 Thank you! Do you have any questions? Become a member Join our discord qrco.de/bbnFAX qrco.de/bbnFBT