SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Choosing your
frontend web
framework
Nabeel Shakeel
Staff Software Engineer,
Techwards
NEDUET
What to expect?
● Broad overviews of various frameworks
● Key features and functionality of each
● Tradeoffs that come with each option
● What tool should you choose for your web projects??
REACT JS
The Ol’ Reliable
NEDUET
YES WE KNOW ITS A
LIBRARY NOT A
FRAMEWORK
NEDUET
Overview
● An Open Source JavaScript ‘Library’ for building Complex UIs
● Developed by Meta (Facebook) & released in 2013
● Component focused approach via State, Props and Hooks
● Uses JSX Syntax - a combo of HTML + JS
● One-Way Data flow - from parent to child.
NEDUET
Pros
● Reusability: Components can be reused throughout the
application, reducing redundancy
● Flexibility in State Management: Offers multiple options
for state management, catering to different application
needs
● Large and Active Community: Access to a wealth of
resources, libraries, and community support
● Maintained by Meta (Facebook): Continuous updates
and improvements, ensuring the framework's evolution
NEDUET
Tradeoffs
● Complexity: Not understanding proper usage, for e.g.
useEffect, may lead to pulling your hair out solving bugs.
● SEO Challenges: Single-page applications (SPAs) built
with React may face SEO challenges without additional
configuration.
● Potential Overhead for Small Projects: The overhead of
setting up a React application might be seen as
unnecessary.
● Choice Paralysis: Too many options to choose from
NEDUET
NEXT JS
Next Level React
NEDUET
Overview
● Full-stack capabilities - client & server side rendering
● Powerful Rust based tooling - fattest build and dev server
● Next.js is maintained by Vercel
● Focus on Developer Experience (DX)
NEDUET
Key Features
1. Client and Server Rendering (CSR, SSR):
Renders pages on the server for improved performance and SEO
1. Static Site Generation (SSG)
Generates static HTML at build time for faster loading
3. Incremental Static Regeneration (ISR):
Updates static pages at runtime without rebuilding the entire site
4. React Server Components
NEDUET
Pros
● Great for SEO
● Great User Experience
● Fast time-to-market
● Strong community
NEDUET
Tradeoffs
● No built-in state management
● Steeper learning curve
● Can be slow for dynamic routing
● Vendor lock in (Vercel)
NEDUET
REMIX
The OG “Files as Routes”
SSR framework
NEDUET
Overview
● Full-stack React framework with nested routing
● Focuses on web standards and modern web app to build fast web
apps
● Remix is maintained by Shopify
● Break your app into nested parts that can load data in parallel an
refresh in response to the user actions.
NEDUET
Features
● Promotes a clean and organized code structure.
● Utilizes server-side rendering (SSR) for fast initial page loads and
improved SEO
● Optimizes performance by combining the strengths of both
rendering approach.
NEDUET
Trade Offs
● Remix introduces new concepts and methodologies, which may
have a learning curve for developers accustomed to traditional
React or other frameworks.
● Remix may have a less mature ecosystem compared to more
established alternatives, potentially affecting the availability of third-
party libraries and tools.
● While server-side rendering enhances performance, it may
introduce additional server-side overhead
Angular
The choice for enterprise
NEDUET
Overview
● Angular is a robust front-end framework developed and maintained
by Google.
● Provides a comprehensive set of tools and libraries for building
dynamic, single-page web applications with modularity.
● Popular choice for ERPs and enterprise software solutions.
NEDUET
Features
● Component-based architecture which is a hierarchy of reusable components.
Each component encapsulates its own logic, styles, and templates, making it
modular and easy to maintain.
● Two-way data binding, allowing synchronization between the model (business
logic) and the view (UI), reducing boilerplate code for handling UI updates.
● Dependency injection system that facilitates modular and testable code.
Services, components, and other dependencies can be injected
into each other.
NEDUET
Tradeoffs
● Not a popular choice for quickly bootstrapping applications, more commonly
used for large scale and already built applications.
● The transition from AngularJS to Angular (1.6 to 2 and later) was a substantial
rewrite and introduced several breaking changes. (Angular ivy 9+ too)
● Steeper learning curve.
SVELTE KIT
The modern metaframework
NEDUET
Overview
● Provides universal rendering of Svelte on JavaScript
runtimes like Node.js, near to JavaScript.
● Browser receives server rendered HTML and JS hydrates
● Built-in router with URLs based on components
NEDUET
Key Features
● Compiles to vanilla JS instead of a runtime which reduces JS
bundle size
● Data Fetching through the component’s JS file
● Exported load function can be imported and accessed
● Data available on Svelte Store, accessible from any component,
eliminating the need for complex state management
● Can handle server side actions, like form submissions, using zero
client-side JS
NEDUET
Pros
● Less verbose than React - feels like vanilla JS
● Unlike JSX, you bring JS into your HTML templating system
● Zero boilerplate compared to React
Tradeoffs
● Less market share
● Not so great for backend. Akin to using pure Node.js instead of
Express
NEDUET
Astro
The superfast web framework
NEDUET
NEDUET
Overview
● Fast and performant websites by default due to quick page loads
and experiences.
● It utilizes a "static-first" approach, where most of the site is pre-built
as static HTML during the build process.
● Selective addition of client side interaction by dynamically loading
javascript.
NEDUET
Features
● Framework agnostic, allowing developers to use their preferred
JavaScript framework or library, such as React, Vue, or Svelte.
● Island architecture results in "partial hydration," allowing for selective
client-side rendering of JavaScript for specific parts of the site.
● Optimized SSG to deliver fast-loading websites. During the build
process, it generates static HTML pages for most of the content,
ensuring rapid page loads and improved performance.
NEDUET
Tradeoffs
● Not a preferable option for heavily client centric applications, tools like
react and angular are more preferred there.
● The plugin ecosystem for Astro a bit less mature compared to more
established static site generators or client-side frameworks.
Wordpress, Shopify etc.
VUE JS
● Progressive JavaScript framework designed to be incrementally
adoptable, allowing Vue.js integration into existing projects gradually.
● Declarative approach to define the UI.
● Reactive data binding, to establish a dynamic connection between the
model and the view. Changes in the underlying data automatically
trigger updates in the UI, simplifying the state management.
● Rich ecosystem with official libraries and tools, such as
Vue Router for routing and Vuex for state management.
NEDUET
NEDUET
SOLID JS
● A declarative framework for building fast UI with maximum
control over reactivity.
● Similar to React, but uses a svelte style compiler instead of Virtual
DOM.
● Lacks industrial maturity.
● Lack of UI component library support.
“What should you choose for
your next project??”
“Thanks for joining.”
NEDUET

Weitere ähnliche Inhalte

Ähnlich wie Choosing your frontend web framework.pptx

JavaScript Frameworks Popularity
JavaScript Frameworks PopularityJavaScript Frameworks Popularity
JavaScript Frameworks PopularityAlbiorix Technology
 
8 Node.js Frameworks Every Developer Should Know [UPDATED].pptx
8 Node.js Frameworks Every Developer Should Know [UPDATED].pptx8 Node.js Frameworks Every Developer Should Know [UPDATED].pptx
8 Node.js Frameworks Every Developer Should Know [UPDATED].pptx75waytechnologies
 
Nodejs framework for app development.pdf
Nodejs framework for app development.pdfNodejs framework for app development.pdf
Nodejs framework for app development.pdfSufalam Technologies
 
001. Introduction about React
001. Introduction about React001. Introduction about React
001. Introduction about ReactBinh Quan Duc
 
Industrial Training.pptx
Industrial Training.pptxIndustrial Training.pptx
Industrial Training.pptxSamraatBansal1
 
Decoding Svelte and SvelteKit: Unveiling the Key Distinctions
Decoding Svelte and SvelteKit: Unveiling the Key DistinctionsDecoding Svelte and SvelteKit: Unveiling the Key Distinctions
Decoding Svelte and SvelteKit: Unveiling the Key DistinctionsTien Nguyen
 
Introduction to Web Frameworks
Introduction to Web FrameworksIntroduction to Web Frameworks
Introduction to Web FrameworksSarika Jadhav
 
Top Web Development Frameworks Comparison: All You Need To Know
Top Web Development Frameworks Comparison: All You Need To KnowTop Web Development Frameworks Comparison: All You Need To Know
Top Web Development Frameworks Comparison: All You Need To KnowPixel Crayons
 
React Js Simplified
React Js SimplifiedReact Js Simplified
React Js SimplifiedSunil Yadav
 
Resume Partha Roy
Resume Partha RoyResume Partha Roy
Resume Partha RoyPartha Roy
 
Vue Or React - Which One is the Best_.pptx
Vue Or React - Which One is the Best_.pptxVue Or React - Which One is the Best_.pptx
Vue Or React - Which One is the Best_.pptx75waytechnologies
 
Node.js Frameworks to watch for in 2019
Node.js Frameworks to watch for in 2019Node.js Frameworks to watch for in 2019
Node.js Frameworks to watch for in 2019BrainMobi
 
FRU Kathmandu: Adopting with Change Frontend Architecture and Patterns
FRU Kathmandu: Adopting with Change Frontend Architecture and PatternsFRU Kathmandu: Adopting with Change Frontend Architecture and Patterns
FRU Kathmandu: Adopting with Change Frontend Architecture and PatternsLeapfrog Technology Inc.
 
Top React UI Frameworks Use to Build Application.pptx
Top React UI Frameworks Use to Build Application.pptxTop React UI Frameworks Use to Build Application.pptx
Top React UI Frameworks Use to Build Application.pptxAlbiorix Technology
 
API Microservices with Node.js and Docker
API Microservices with Node.js and DockerAPI Microservices with Node.js and Docker
API Microservices with Node.js and DockerApigee | Google Cloud
 

Ähnlich wie Choosing your frontend web framework.pptx (20)

JavaScript Frameworks Popularity
JavaScript Frameworks PopularityJavaScript Frameworks Popularity
JavaScript Frameworks Popularity
 
Web components
Web componentsWeb components
Web components
 
8 Node.js Frameworks Every Developer Should Know [UPDATED].pptx
8 Node.js Frameworks Every Developer Should Know [UPDATED].pptx8 Node.js Frameworks Every Developer Should Know [UPDATED].pptx
8 Node.js Frameworks Every Developer Should Know [UPDATED].pptx
 
Nodejs framework for app development.pdf
Nodejs framework for app development.pdfNodejs framework for app development.pdf
Nodejs framework for app development.pdf
 
001. Introduction about React
001. Introduction about React001. Introduction about React
001. Introduction about React
 
Industrial Training.pptx
Industrial Training.pptxIndustrial Training.pptx
Industrial Training.pptx
 
Web summit.pptx
Web summit.pptxWeb summit.pptx
Web summit.pptx
 
React.js vs node.js
React.js vs node.jsReact.js vs node.js
React.js vs node.js
 
Decoding Svelte and SvelteKit: Unveiling the Key Distinctions
Decoding Svelte and SvelteKit: Unveiling the Key DistinctionsDecoding Svelte and SvelteKit: Unveiling the Key Distinctions
Decoding Svelte and SvelteKit: Unveiling the Key Distinctions
 
Introduction to Web Frameworks
Introduction to Web FrameworksIntroduction to Web Frameworks
Introduction to Web Frameworks
 
Top Web Development Frameworks Comparison: All You Need To Know
Top Web Development Frameworks Comparison: All You Need To KnowTop Web Development Frameworks Comparison: All You Need To Know
Top Web Development Frameworks Comparison: All You Need To Know
 
React Js Simplified
React Js SimplifiedReact Js Simplified
React Js Simplified
 
Resume Partha Roy
Resume Partha RoyResume Partha Roy
Resume Partha Roy
 
Next JS vs React.pptx
Next JS vs React.pptxNext JS vs React.pptx
Next JS vs React.pptx
 
Vue Or React - Which One is the Best_.pptx
Vue Or React - Which One is the Best_.pptxVue Or React - Which One is the Best_.pptx
Vue Or React - Which One is the Best_.pptx
 
Node.js Frameworks to watch for in 2019
Node.js Frameworks to watch for in 2019Node.js Frameworks to watch for in 2019
Node.js Frameworks to watch for in 2019
 
FRU Kathmandu: Adopting with Change Frontend Architecture and Patterns
FRU Kathmandu: Adopting with Change Frontend Architecture and PatternsFRU Kathmandu: Adopting with Change Frontend Architecture and Patterns
FRU Kathmandu: Adopting with Change Frontend Architecture and Patterns
 
Top React UI Frameworks Use to Build Application.pptx
Top React UI Frameworks Use to Build Application.pptxTop React UI Frameworks Use to Build Application.pptx
Top React UI Frameworks Use to Build Application.pptx
 
API Microservices with Node.js and Docker
API Microservices with Node.js and DockerAPI Microservices with Node.js and Docker
API Microservices with Node.js and Docker
 
Angular vs react
Angular vs reactAngular vs react
Angular vs react
 

Kürzlich hochgeladen

Fundamentals of Internet of Things (IoT) Part-2
Fundamentals of Internet of Things (IoT) Part-2Fundamentals of Internet of Things (IoT) Part-2
Fundamentals of Internet of Things (IoT) Part-2ChandrakantDivate1
 
History of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & ModernizationHistory of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & ModernizationEmaan Sharma
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...ssuserdfc773
 
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.pptamrabdallah9
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxMustafa Ahmed
 
Working Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdfWorking Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdfSkNahidulIslamShrabo
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxkalpana413121
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdfKamal Acharya
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelDrAjayKumarYadav4
 
Lect.1: Getting Started (CS771: Machine Learning by Prof. Purushottam Kar, II...
Lect.1: Getting Started (CS771: Machine Learning by Prof. Purushottam Kar, II...Lect.1: Getting Started (CS771: Machine Learning by Prof. Purushottam Kar, II...
Lect.1: Getting Started (CS771: Machine Learning by Prof. Purushottam Kar, II...singhalabhi53
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdfAlexander Litvinenko
 
Fundamentals of Structure in C Programming
Fundamentals of Structure in C ProgrammingFundamentals of Structure in C Programming
Fundamentals of Structure in C ProgrammingChandrakantDivate1
 
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).pptxKarpagam Institute of Teechnology
 
Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...
Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...
Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...Payal Garg #K09
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxMustafa Ahmed
 
DFT - Discrete Fourier Transform and its Properties
DFT - Discrete Fourier Transform and its PropertiesDFT - Discrete Fourier Transform and its Properties
DFT - Discrete Fourier Transform and its PropertiesShiny Christobel
 
INTERRUPT CONTROLLER 8259 MICROPROCESSOR
INTERRUPT CONTROLLER 8259 MICROPROCESSORINTERRUPT CONTROLLER 8259 MICROPROCESSOR
INTERRUPT CONTROLLER 8259 MICROPROCESSORTanishkaHira1
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxMustafa Ahmed
 

Kürzlich hochgeladen (20)

Fundamentals of Internet of Things (IoT) Part-2
Fundamentals of Internet of Things (IoT) Part-2Fundamentals of Internet of Things (IoT) Part-2
Fundamentals of Internet of Things (IoT) Part-2
 
History of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & ModernizationHistory of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & Modernization
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
 
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
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 
Working Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdfWorking Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdf
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdf
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata Model
 
Lect.1: Getting Started (CS771: Machine Learning by Prof. Purushottam Kar, II...
Lect.1: Getting Started (CS771: Machine Learning by Prof. Purushottam Kar, II...Lect.1: Getting Started (CS771: Machine Learning by Prof. Purushottam Kar, II...
Lect.1: Getting Started (CS771: Machine Learning by Prof. Purushottam Kar, II...
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
 
Fundamentals of Structure in C Programming
Fundamentals of Structure in C ProgrammingFundamentals of Structure in C Programming
Fundamentals of Structure in C Programming
 
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
 
Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...
Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...
Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
DFT - Discrete Fourier Transform and its Properties
DFT - Discrete Fourier Transform and its PropertiesDFT - Discrete Fourier Transform and its Properties
DFT - Discrete Fourier Transform and its Properties
 
INTERRUPT CONTROLLER 8259 MICROPROCESSOR
INTERRUPT CONTROLLER 8259 MICROPROCESSORINTERRUPT CONTROLLER 8259 MICROPROCESSOR
INTERRUPT CONTROLLER 8259 MICROPROCESSOR
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptx
 

Choosing your frontend web framework.pptx

  • 1. Choosing your frontend web framework Nabeel Shakeel Staff Software Engineer, Techwards NEDUET
  • 2. What to expect? ● Broad overviews of various frameworks ● Key features and functionality of each ● Tradeoffs that come with each option ● What tool should you choose for your web projects??
  • 3. REACT JS The Ol’ Reliable NEDUET
  • 4. YES WE KNOW ITS A LIBRARY NOT A FRAMEWORK NEDUET
  • 5. Overview ● An Open Source JavaScript ‘Library’ for building Complex UIs ● Developed by Meta (Facebook) & released in 2013 ● Component focused approach via State, Props and Hooks ● Uses JSX Syntax - a combo of HTML + JS ● One-Way Data flow - from parent to child. NEDUET
  • 6. Pros ● Reusability: Components can be reused throughout the application, reducing redundancy ● Flexibility in State Management: Offers multiple options for state management, catering to different application needs ● Large and Active Community: Access to a wealth of resources, libraries, and community support ● Maintained by Meta (Facebook): Continuous updates and improvements, ensuring the framework's evolution NEDUET
  • 7. Tradeoffs ● Complexity: Not understanding proper usage, for e.g. useEffect, may lead to pulling your hair out solving bugs. ● SEO Challenges: Single-page applications (SPAs) built with React may face SEO challenges without additional configuration. ● Potential Overhead for Small Projects: The overhead of setting up a React application might be seen as unnecessary. ● Choice Paralysis: Too many options to choose from NEDUET
  • 8. NEXT JS Next Level React NEDUET
  • 9. Overview ● Full-stack capabilities - client & server side rendering ● Powerful Rust based tooling - fattest build and dev server ● Next.js is maintained by Vercel ● Focus on Developer Experience (DX) NEDUET
  • 10. Key Features 1. Client and Server Rendering (CSR, SSR): Renders pages on the server for improved performance and SEO 1. Static Site Generation (SSG) Generates static HTML at build time for faster loading 3. Incremental Static Regeneration (ISR): Updates static pages at runtime without rebuilding the entire site 4. React Server Components NEDUET
  • 11. Pros ● Great for SEO ● Great User Experience ● Fast time-to-market ● Strong community NEDUET Tradeoffs ● No built-in state management ● Steeper learning curve ● Can be slow for dynamic routing ● Vendor lock in (Vercel)
  • 12. NEDUET REMIX The OG “Files as Routes” SSR framework
  • 13. NEDUET Overview ● Full-stack React framework with nested routing ● Focuses on web standards and modern web app to build fast web apps ● Remix is maintained by Shopify ● Break your app into nested parts that can load data in parallel an refresh in response to the user actions.
  • 14. NEDUET Features ● Promotes a clean and organized code structure. ● Utilizes server-side rendering (SSR) for fast initial page loads and improved SEO ● Optimizes performance by combining the strengths of both rendering approach.
  • 15. NEDUET Trade Offs ● Remix introduces new concepts and methodologies, which may have a learning curve for developers accustomed to traditional React or other frameworks. ● Remix may have a less mature ecosystem compared to more established alternatives, potentially affecting the availability of third- party libraries and tools. ● While server-side rendering enhances performance, it may introduce additional server-side overhead
  • 17. NEDUET Overview ● Angular is a robust front-end framework developed and maintained by Google. ● Provides a comprehensive set of tools and libraries for building dynamic, single-page web applications with modularity. ● Popular choice for ERPs and enterprise software solutions.
  • 18. NEDUET Features ● Component-based architecture which is a hierarchy of reusable components. Each component encapsulates its own logic, styles, and templates, making it modular and easy to maintain. ● Two-way data binding, allowing synchronization between the model (business logic) and the view (UI), reducing boilerplate code for handling UI updates. ● Dependency injection system that facilitates modular and testable code. Services, components, and other dependencies can be injected into each other.
  • 19. NEDUET Tradeoffs ● Not a popular choice for quickly bootstrapping applications, more commonly used for large scale and already built applications. ● The transition from AngularJS to Angular (1.6 to 2 and later) was a substantial rewrite and introduced several breaking changes. (Angular ivy 9+ too) ● Steeper learning curve.
  • 20. SVELTE KIT The modern metaframework NEDUET
  • 21. Overview ● Provides universal rendering of Svelte on JavaScript runtimes like Node.js, near to JavaScript. ● Browser receives server rendered HTML and JS hydrates ● Built-in router with URLs based on components NEDUET
  • 22. Key Features ● Compiles to vanilla JS instead of a runtime which reduces JS bundle size ● Data Fetching through the component’s JS file ● Exported load function can be imported and accessed ● Data available on Svelte Store, accessible from any component, eliminating the need for complex state management ● Can handle server side actions, like form submissions, using zero client-side JS NEDUET
  • 23. Pros ● Less verbose than React - feels like vanilla JS ● Unlike JSX, you bring JS into your HTML templating system ● Zero boilerplate compared to React Tradeoffs ● Less market share ● Not so great for backend. Akin to using pure Node.js instead of Express NEDUET
  • 24. Astro The superfast web framework NEDUET
  • 25. NEDUET Overview ● Fast and performant websites by default due to quick page loads and experiences. ● It utilizes a "static-first" approach, where most of the site is pre-built as static HTML during the build process. ● Selective addition of client side interaction by dynamically loading javascript.
  • 26. NEDUET Features ● Framework agnostic, allowing developers to use their preferred JavaScript framework or library, such as React, Vue, or Svelte. ● Island architecture results in "partial hydration," allowing for selective client-side rendering of JavaScript for specific parts of the site. ● Optimized SSG to deliver fast-loading websites. During the build process, it generates static HTML pages for most of the content, ensuring rapid page loads and improved performance.
  • 27. NEDUET Tradeoffs ● Not a preferable option for heavily client centric applications, tools like react and angular are more preferred there. ● The plugin ecosystem for Astro a bit less mature compared to more established static site generators or client-side frameworks. Wordpress, Shopify etc.
  • 28. VUE JS ● Progressive JavaScript framework designed to be incrementally adoptable, allowing Vue.js integration into existing projects gradually. ● Declarative approach to define the UI. ● Reactive data binding, to establish a dynamic connection between the model and the view. Changes in the underlying data automatically trigger updates in the UI, simplifying the state management. ● Rich ecosystem with official libraries and tools, such as Vue Router for routing and Vuex for state management. NEDUET
  • 29. NEDUET SOLID JS ● A declarative framework for building fast UI with maximum control over reactivity. ● Similar to React, but uses a svelte style compiler instead of Virtual DOM. ● Lacks industrial maturity. ● Lack of UI component library support.
  • 30. “What should you choose for your next project??”