SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Semelhante a 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
 

Semelhante a 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
 

Último

Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 

Último (20)

Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 

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??”