10 Rendering Patterns for Web Apps

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 428

  • @thelukemccrea
    @thelukemccrea Год назад +1431

    And the best part is the moment you choose one, something new comes out and you get to learn that instead!

    • @LetrixAR
      @LetrixAR Год назад +35

      Just like anything in JS

    • @anarcus
      @anarcus Год назад +37

      Tip: don't learn it.

    • @codesymphony
      @codesymphony Год назад +17

      just use next

    • @thevishvammoliya
      @thevishvammoliya Год назад +4

      Thats why developers earn more than other professionals...

    • @jasondoubleoseven
      @jasondoubleoseven Год назад +7

      Moved to next 13 then 1 week later to solid lol

  • @drbracewell
    @drbracewell Год назад +462

    This is an insanely useful video, it can be super hard to find out information about all of all of these patterns (especially when each framework is trying to push how great and perfect their particular approach is). Everything here is clearly explained alongside benefits and drawbacks, thanks for the amazing video Jeff!

    • @theninjascientist689
      @theninjascientist689 Год назад +21

      It's so difficult trying to find accurate information about new technologies when the only people talking about them are trying to sell them to you.

    • @adomakins
      @adomakins 2 месяца назад

      100% dude came here to do some research and actually got my questions answered

  • @Derik.
    @Derik. Год назад +500

    0:00 Preamble
    0:37 Static Website
    1:09 Multi Page Apps
    1:51 Single page App
    2:45 Server-Side Rendering with Hydration
    3:23 Static Site Generation with Hydration
    3:54 Incremental Static Regeneration
    4:46 Partial Hydration
    5:12 Islands
    5:44 Streaming SSR
    6:12 Resumability

    • @yannickleroy7419
      @yannickleroy7419 Год назад

      coolcool!

    • @opalfrags
      @opalfrags Год назад +2

      The dedication

    • @foxxo-dev
      @foxxo-dev Год назад

      @michaeljoseph7010 yep

    • @vasiovasio
      @vasiovasio Месяц назад

      Thank you, man! Play Plants vs Zombies Theme for a good mood! ☺☺☺

  • @tomasma4896
    @tomasma4896 Год назад +136

    Doing web dev for 15 years but this is quite insane. I think it took less effort to send a human being to the Moon that inventing all of these super cool frameworks and patterns that are solving quite simple task - rendering a content to the end user :) There are certainly a projects that can benefit from these but I think overall it is over engineered AF :) But anyway it is alway interesting to lear something new :)

    • @SpaghettiRealm
      @SpaghettiRealm Год назад +13

      Seems like creating a problem for the solution

    • @Almighty_Flat_Earth
      @Almighty_Flat_Earth Год назад

      No one has ever broken the glass dome that God has put above this flat earth. It's about 100 km in distance from the ground. Let alone going to the moon. Moon and sun are plasmas and are same size, those are not solid balls. Of course, moon landing was a Hollywood movie.

    • @Almighty_Flat_Earth
      @Almighty_Flat_Earth Год назад +1

      @@SpaghettiRealm Creating virus to sell anti virus.

    • @freireag
      @freireag Год назад +13

      I don’t think it’s over engineered, they’re great tools for specific use cases. The problem is, people want to use them for everything, even for simple projects or projects where the simpler solution would solve the issue without the extra complexity. Lots of devs want the best performance and use experience all the time, they need to better assess the prerequisites.

    • @freireag
      @freireag Год назад +1

      I do think though we don’t have yet a great solution, a simple and elegant one, part of that is JavaScript. Svelte is a a good way, thinking about reactivity and stores, but it’s a JS superset, a workaround. The browsers should have a programming language thought for the modern web.

  • @codewithguillaume
    @codewithguillaume Год назад +209

    I didn’t even know there was 10 rendering patterns possible hahah

    • @perc-ai
      @perc-ai Год назад +5

      there isn't he doesnt even know what hes talking about he confused SPA/MPA being a rendering pattern... wtf

    • @masterflitzer
      @masterflitzer Год назад +14

      @@perc-ai what is spa when not a rendering pattern? spa's use client side rendering and mpa use server side rendering so you mean CSR/SSR are the rendering patterns or what exactly?

    • @deidyomega
      @deidyomega Год назад +7

      @@perc-ai SPA is a rendering pattern? I remember when I was in college and every site was built with php, and the concept of rendering the templates in the client was ground breaking.

  • @bobbyraduloff
    @bobbyraduloff Год назад +386

    At this point I absolutely despise web dev but after doing it almost exclusively for the past two years and doing my best to stay up to date with new frameworks and paradigms, I feel like I’m in too deep to quit. JS and front end in general are truly the cigarettes of the software development world.

    • @javier.alvarez764
      @javier.alvarez764 Год назад +50

      yeah same thoughts. 4 yrs and i just stay for the money. hate the ever evolving technology.

    • @Chillycloth
      @Chillycloth Год назад +46

      Let me tell you, it beats having to write OOP Java or Python code, LMAO

    • @javier.alvarez764
      @javier.alvarez764 Год назад +29

      I'm actually a java developer lol. You'll get the point of OOP and solid principles if you have 10+ enterprise projects. And in one of those project there is like one god class having 2000 lines of code and they are all doing different things. patterns make it easier to modify and decode and understand what they are doing. since they follow the same approach and patterns.

    • @albertsun3393
      @albertsun3393 Год назад +7

      If your website performs like shit, maybe it's because you're bundling your ENTIRE node_modules and shipping that to the client - fancy frameworks can't solve everything, more often than not it's just shitty programming.

    • @mickolesmana5899
      @mickolesmana5899 Год назад +34

      From someone that came frome embeded system, robotics, and numerical analysis software. Web dev is an absolute safe heaven. But then again this is a classic example of grass greener on the other sife

  • @flamakespark
    @flamakespark Год назад +405

    I've noticed that in fullstack development all complexity shifted from backend to frontend. Back in the days on a backend you had to do a server (cluster) setup, optimization, caching and using Linux; while on a frontend you cared only about fetching and displaying data.
    Now you can just use serverless and forget about infrastructure, while on a frontend you have to think about how to deliver content to end user as fast as possible: picking a correct rendering pattern, code optimization, lazy loading e.t.c.

    • @ancellery6430
      @ancellery6430 Год назад +12

      the thing with front end is that its more a matter of just finding the right premade components and putting them together. In general coding will become easier and easier as time passes. It will still be just as big of an industry though, if not bigger, so I imagine that the top engineers that are creating the architecture and integration will be in very high demand.

    • @ra2enjoyer708
      @ra2enjoyer708 Год назад +42

      Serverless is all fine and dandy until you have to write imperative caching procedures inside a yaml config.

    • @przemysawwozniak2520
      @przemysawwozniak2520 Год назад +16

      @@ra2enjoyer708 Or you have to redeploy your app and split stacks into nested because AWS doesn't support more than 500 resources and you wouldn't guess that one API method with 2 path params creates 10 resources :D

    • @dabbopabblo
      @dabbopabblo Год назад +9

      You have always had to think about how you render a site on the front end client side as long as you weren’t making a static site. And if all your pointing out is people have moved onto dynamic sites more than static sites these days, well then no shit Sherlock. And don’t mistake your little react hobby jobs as the actual industry, because the REAL industry is the people maintaining the servers your “server less” apps are actually running on

    • @TheNewton
      @TheNewton Год назад +8

      And all of them just tend to create user annoyances.
      Sick of websites where the chrome loads before the actual content looking for, and gd the code minification in even html CSS class names makes user scripts impossible. And Ffs Load optimization is a joke trying to fix bloat that shouldn't be there.

  • @codyrap95
    @codyrap95 Год назад +5

    I was lost already at SSG and at resumability I started having migraines 🤣🤣. Thanks for putting these videos, even though by the time you finish watching it, another 2 rendering patterns just emerged on the market.

  • @shaheerhashim10
    @shaheerhashim10 Год назад +2

    Finally a video that has streamlined the arrival and need all the rendering patterns.

  • @AV_YOUTUBE_202X
    @AV_YOUTUBE_202X Год назад +60

    Leave it to programmers to make a thing 10x more complicated in order to squeeze 50% more performance out of an existing design.
    - Fantastic overview, by the way!

    • @TheNewton
      @TheNewton Год назад +1

      Most of that complication is the root cause of the low performance that then has to fix itself. With the majority of the perf gains on the backend budget and users left wondering why a page with 3 paragraphs takes 10seconds to load.

    • @yestermonth
      @yestermonth Год назад +4

      50%? You mean 1.3% with 50 times the complexity.

    • @dusscode
      @dusscode Год назад +2

      Says the junior dev :)

  • @Mafanca
    @Mafanca Год назад +3

    great! i really needed a revision of all these things that've been popping out over the last few years

  • @0b3ryn29
    @0b3ryn29 Год назад +4

    This is what I've been thinking about the past month. Thank you. Wish there was a course to teach all of the implementations. Even if its just a very basic app. Just to experience the differences.

  • @marielarodriguezmaggi850
    @marielarodriguezmaggi850 Год назад +1

    Wooow, I just loved the way you summarized and explain it even though was so short!

  • @masterflitzer
    @masterflitzer Год назад +5

    thank you so much for this awesome overview, i've been waiting for years to have it all structured
    should be on the main channel so more people see it

  • @aushturm
    @aushturm Год назад +30

    I'm totally satisfied with my SPA sites. You can speed up the initial page load with lazy loading too.
    It feels like a lot of this stuff is just fixing a problem I don't even know I have.

    • @ancellery6430
      @ancellery6430 Год назад +1

      i agree, i dont think anyone is complaining with at most a 5 second page load

    • @mrgentledolphin6693
      @mrgentledolphin6693 Год назад +12

      Totally agree, i feel like Js bundle size shouldn't feel like a big problem, even if it takes a couple seconds to load it's going to be cached by the browser... The only real problem with spas is SEO

    • @MrMudbill
      @MrMudbill Год назад +37

      @@ancellery6430 5 second load???? You must've picked the wrong random number for your example, because I don't think you would genuinely be unbothered by a website taking 5 seconds to load.
      Have you seen that Google statistics show that website traffic drops considerably if the website takes more than 2-3 seconds?
      I know that if I search for something and the first result doesn't load when I click it, I will click on the next one.

    • @ancellery6430
      @ancellery6430 Год назад +1

      @@MrMudbill if the html loads then data loads in a few seconds I have no problem with that. 5 seconds would be the absolute max

    • @sebasfavaron
      @sebasfavaron Год назад +1

      I was instant internet. God bless smart people for making that more feasible. It’s like gaming on 30fps, not impossible but you sure appreciate some sweet 120fps

  • @benjaminschneider
    @benjaminschneider Год назад +6

    I love qwik. The idea is just awesome.

  • @coscorrodrift
    @coscorrodrift Год назад +2

    Dude you're so goated for this. I knew about most of them but it's always SPA vs MPA, SSR vs SSG, or SSG vs ISR, and all that and I didn't know how they all fit together. ill be coming back to this one for sure

    • @vigneshwarrv
      @vigneshwarrv 8 месяцев назад

      did you?

    • @coscorrodrift
      @coscorrodrift 8 месяцев назад

      oops not really i quit formally tryina understand webdev i just go by vibes . building my site in hugo just statically, fuck dynamism@@vigneshwarrv

  • @BryndilleYT
    @BryndilleYT Год назад +4

    I would love to see more content on Qwik, the concept is just so cool !

    • @charlesm.2604
      @charlesm.2604 Год назад

      what happened to the "offline first SPA approach" JS frameworks were created to be ?

  • @mayowasoyinka7213
    @mayowasoyinka7213 Год назад +1

    This is the video I have wanted for so long!

  • @DominikSipowicz
    @DominikSipowicz Год назад +13

    As usual, a great video! As much as I wanted to learn a new one, it's more satisfying to have it confirmed in a very structured, confined manner.

  • @AByteofCode
    @AByteofCode Год назад +23

    I love how representative the background memes are

  • @geeshta
    @geeshta Год назад +6

    Hi there's also HDA (Hypermedia Driven Applications) - AJAX requests are issued like in an SPA but instead of JSON, a piece of HTML code rendered from the server is returned like in an MPA and hotswapped on place without reload.
    HTMX, Livewire (for Laravel), Hotwire, Unpoly are the frameworks fir this.

    • @vigneshwarrv
      @vigneshwarrv 8 месяцев назад +1

      absolutely.. AJAX - ( Asynchronous Javascript + XML ). But there was a reason to shift from XML to JSON right?. JSON data APIs were reusable for other applications as well right ?

  • @cdes
    @cdes Год назад +17

    You forgot about “html over the wire” thingy, like Rails Hotwire, Phoenix LiveView, Laravel LiveWire. Long gone are the days of php echo 😂

  • @jackrdye
    @jackrdye Год назад +4

    Couldn't have come out at a better time. Thank you as usual :)

  • @felixinit
    @felixinit Год назад +1

    Rendering patterns. Brutal.

  • @JaLikon65
    @JaLikon65 Год назад +31

    You guys ever watch a video and just KNOW it's gonna save you hundreds of hours of learning and confusion? Yeah, that's how I felt with this one.
    Thank you Jeff!! As someone with just a budding interest in web dev, this was insanely useful. I also LOVE how you actually explained the tech behind each idea, rather than just doing what seemingly every framework does and just claiming their solution is the be all end all and "blazingly fast" (citation needed) and "paradigm shifting" (citation needed) and seemingly every other buzzword in existence.
    Seriously can't thank you enough man, this video should be required viewing for every web developer!

  • @Zwiebelgian
    @Zwiebelgian Год назад +8

    What I personally like best: static pages, that actually get manually rendered on the client by Javascript. The worst thing: It actually somewhat works. Load times are not horrendous and browser support is OK.

  • @codinginflow
    @codinginflow Год назад +1

    That old McDonalds website completely cracked me up

  • @ishakimanuel3513
    @ishakimanuel3513 Год назад +127

    SPA / MPA = frontend architecture
    SSR / SSG = rendering pattern

    • @ogreeni
      @ogreeni Год назад +12

      Yes, I noticed that too

    • @perc-ai
      @perc-ai Год назад +7

      Fireship is not even a sr developer lol... how can he get basic things like this wrong

    • @asdqwe4427
      @asdqwe4427 Год назад +22

      And nothing gets rendered by in an SPA?
      The different techniques he describes are all forms of rendering.
      SSG: render with your build tools
      SSR: render with a server side application
      SPAs render on the client, and then there are various clever ways to to mix all of the above.

    • @perc-ai
      @perc-ai Год назад +1

      @@asdqwe4427 SPA is not a rendering pattern... its a type of architecture used by frameworks like React...

    • @wildebeest1454
      @wildebeest1454 Год назад +17

      @@perc-ai React applications are not inherently SPAs. What he was referring to was CSR which SPAs inevitably employ.

  • @arjunragu995
    @arjunragu995 7 месяцев назад

    This is a good video. I never even knew this existed. Thank U

  • @dontaskiwasbored2008
    @dontaskiwasbored2008 Год назад

    This is the video we all needed, thanks!

  • @iLiran
    @iLiran Год назад +1

    Cant wait to spend time to learn new technologies and ways to render to improve performance by 0.2% !

  • @Aezur20
    @Aezur20 Год назад +4

    "As the CTO of your project".
    I feel personally attacked.

  • @oskarkottom8365
    @oskarkottom8365 Год назад +3

    Love your content so we'll made keep it up man

  • @C1maCat
    @C1maCat Год назад +35

    Man I wish my university taught a course on this

    • @alexinflux
      @alexinflux Год назад +22

      It’ll be outdated by the time first semester ends

    • @adityaanuragi6916
      @adityaanuragi6916 Год назад +3

      @@alexinflux lmfao

    • @memeproductions4182
      @memeproductions4182 Год назад

      probably half of these didn't even exist yet lol

    • @C1maCat
      @C1maCat Год назад +1

      @@memeproductions4182 Fourth year comp sci right now is still teaching jQuery as cutting edge so

    • @v01d_r34l1ty
      @v01d_r34l1ty Год назад +1

      @@C1maCat jQuery is still an abs W tho

  • @justanotherforsenboy1651
    @justanotherforsenboy1651 Год назад +1

    to be honest I always felt like web development is easy thats why I took it as a major and didnt regret it :)

  • @MobiusCoin
    @MobiusCoin Год назад +2

    Literally doing Islands with old school WordPress + SolidJS. Didn't even know what it was called.

  • @nro337
    @nro337 Год назад

    Really great summary!

  • @gdm_music
    @gdm_music 10 месяцев назад

    really really informative, never knew aout this

  • @jcy089
    @jcy089 Год назад +1

    I feel lucky to have started web development back when all you had to learn was jQuery / CSS and some backend framework. If I saw this video today as a beginner, I'd probably just switch to Swift or Kotlin and go native 😂

    • @vigneshwarrv
      @vigneshwarrv 8 месяцев назад +1

      I considered going back to the woods😅

  • @raptordev2235
    @raptordev2235 Год назад

    This is what I needed 🤩

  • @XerosXIII
    @XerosXIII Год назад

    after going through SPA hell since 2016, tried SSG with nuxtjs, im so glad AstroJS exist
    Now Im gonna stick to my island and do content website without all the hassle of js-frameworks

  • @CristmasBox
    @CristmasBox Год назад +2

    You’ve missed Phoenix LiveView, which uses socket connection to bring real-time UX with very little JS

    • @Alexey-gp7vc
      @Alexey-gp7vc Год назад

      and Hotwire in RoR, and HTMX in others

  • @gabrielkarczewski4453
    @gabrielkarczewski4453 Год назад +4

    this feels like a such fast paced area. in 95% of cases, it’s still completely fine to use classic SSR (MPA in the video) or SPAs. we’ll see if any of those new things will become reliable solutions

  • @doubleg1094
    @doubleg1094 Год назад +1

    in static web page we can use fetch api or xhr to make changes without refresh , it's possible to make entire spa after loading a static home page

    • @VivekChandra007
      @VivekChandra007 Год назад

      but interactivity and data binding is a problem

    • @doubleg1094
      @doubleg1094 Год назад

      @@VivekChandra007 i used a lot of html attribute and local storage to solve that and it work perfectly with incredible performance(the maximum of js performance especially when i avoid variables as possible ⚡⚡⚡).

  • @this.channel
    @this.channel Год назад

    Very cool to see all these different patterns. Which one is htmx?

  • @claudenirmf
    @claudenirmf Год назад

    Thank you, that was a great TL:DR; 😮👍🏻

  • @MohamedAymn
    @MohamedAymn Год назад +1

    can we represent rendering in a diagram in the design phase before implementation?

  • @iyadelwy1500
    @iyadelwy1500 Год назад +2

    We need a "Scala in 100 seconds" video

  • @modernkennnern
    @modernkennnern Год назад

    This was a great video!

  • @JonasLismont
    @JonasLismont Год назад

    Happy new year 🥴😂 - thanks, awsome video as always

  • @NihalTowfiq
    @NihalTowfiq Год назад

    Very informative!!

  • @abhishekshah11
    @abhishekshah11 Год назад +13

    When did html+js+css become this monstrosity

    • @vasiovasio
      @vasiovasio Месяц назад

      When the Dumb Twitter ( now X ) Developers Bros follow the Facebook sh!t, no thinking they have Billions and many people to write this nonsense React where HTML, CSS, JS, and Everything else is in one place! 🤮🤮🤮

    • @diegocraftxx_gd9214
      @diegocraftxx_gd9214 Месяц назад

      I tend to ask myself it

  • @Dev-Siri
    @Dev-Siri Год назад

    I like how we created hydration & now we are trying to avoid hydration so that interactive components can do hydration faster.
    That's a lot of water.

  • @birgirkarl
    @birgirkarl Год назад

    Thank you - my indecisiveness has now turned into psychosis.

  • @joseandkris
    @joseandkris Год назад

    Very well explained.

  • @vertical3life
    @vertical3life Год назад

    When talking bout streaming SSR, you should also mention Marko, veteran among the kids.

  • @shanejohnson2752
    @shanejohnson2752 Год назад

    Thank you for this video

  • @e-raticartist
    @e-raticartist Год назад

    not gonna lie, Danny's homepage is wild

  • @cherubin7th
    @cherubin7th Год назад +3

    Idk, I just have html pages that have some javascript to get json and display it.

  • @shantanukulkarni007
    @shantanukulkarni007 Год назад +2

    At 5:06 Did anyone else hear cat crying in the background when he was talking about code splitting?

  • @jananimayadunna4750
    @jananimayadunna4750 3 месяца назад

    Informative.

  • @andressalomon6703
    @andressalomon6703 Год назад

    Amazing video!! But I kinda confuse between Partial Hydration, Island and Streaming SSR patterns :s They looked very similar... Can someone explain a little bit?

  • @9paradox
    @9paradox Год назад +1

    im waiting for the time when web forms will rise to popularity again.

  • @nattysweg343
    @nattysweg343 Год назад

    absolute legend

  • @thatsalot3577
    @thatsalot3577 Год назад +21

    I mean yeah there are a lot of them but it kinds feels like that girl who keeps thousands of dresses in her closet and still keeps screaming "I have nothing good to wear".

    • @MrMudbill
      @MrMudbill Год назад +1

      All frameworks are garbage :D

  • @maankabe01
    @maankabe01 Год назад +2

    how about htmx

  • @riddixdan5572
    @riddixdan5572 Год назад +3

    at the end of the day, it doesn't matter if you only want to ship static HTML, everything goes up in flames once marketing steps in and they want to load a ton of their scripts.

    • @TheNewton
      @TheNewton Год назад +1

      Tell them they need to budget ab testing it first to validate thier request won't impact performance increasing the sites total bounce rate and lower conversions for every current live marketing effort costing the business money.

  • @DS-tj2tu
    @DS-tj2tu Год назад

    Thank you!

  • @thyssenbot
    @thyssenbot Год назад

    Hey, no mention of Blazor?

  • @Htbaa
    @Htbaa Год назад

    So much complexity for interactivity. Just make use of htmx for dynamic content loading without page refreshes and use something like _hyperscript or Alpine.js for interactivity and behavior. Much easier to build and maintain. Also no build toolchain required!

  • @0xbarb
    @0xbarb Год назад +6

    switched all apps to astro dont want to use anything else 😅

  • @GHB775
    @GHB775 Год назад +1

    thanks for the concise and focused digest. you saved me hours of Ctrl + Shift + N on Medium and anxiety on search engines page 4 or 5 trying to find articles that actually talk about what their title says...

  • @pavelzapletal7942
    @pavelzapletal7942 Год назад

    I agree, that hydration is rly stupid. (I am looking at you mismatch errors). The Qwik approach looks nice.

  • @mr.random8447
    @mr.random8447 Год назад +1

    For qwik lazy loading, doesn't that mean makings tons of tiny requests?

  • @adamkuti5796
    @adamkuti5796 Год назад

    How the turntables, JavaScript adapting to Java and Spring features

  • @martinzen
    @martinzen Год назад +13

    I recall being excited about frontend development, now with all the complexity and heavy reliance on bloated open source dependencies I'm just over it and can't wait to delegate it to someone else.

    • @MatthewTaylor86
      @MatthewTaylor86 Год назад +8

      You don't have to learn all this shit and make websites with the latest frameworks, though. You can write perfectly good websites with vanilla JS. Plenty of people do.

    • @mrgentledolphin6693
      @mrgentledolphin6693 Год назад +7

      Just choose a good framework and stick with it, you don't need the latest technology to save 2ms of Page load... A lot of important websites are still built using php or even older software

    • @09TYPER
      @09TYPER Год назад

      Bloating .. It just started man :)After 10 years,I don't even want to be a dev anymore.

  • @stunna4498
    @stunna4498 Год назад

    2:32 google since then has this fixed. they can see spa pages pretty easily now. so i dont really think its a problem now but it was back then

  • @AndreasBeder
    @AndreasBeder Год назад +7

    I wrote my first peace of js in 1996/97 and i hated it so much. Hard to imagine it survived for so many years now and still has all that quirks inside.

    • @andsheterliak
      @andsheterliak Год назад +2

      This is not a problem with Javascript, but with web architecture in general.

    • @andsheterliak
      @andsheterliak Год назад +7

      If browser engines could natively work with other programming languages, we would still use all these patterns.

    • @manuelcasares7270
      @manuelcasares7270 Год назад +2

      @@andsheterliak Good point

    • @charlesm.2604
      @charlesm.2604 Год назад

      @@andsheterliak I can't wait for better wasm tooling and actual UI helpers for it. As of now its only use-case has been business logic but I'm starting to see projects like UnoPlatform, Microsoft Blazor, KotlinJS/JetPack for Web, etc... cooking up some real promising things on the side.

    • @TheNewton
      @TheNewton Год назад

      @@andsheterliak it is a problem with javascript. Html, CSS, Web assembly, etc all well made standards built on good initial standards and fromative ideas.

  • @BeautifulTurkish
    @BeautifulTurkish Год назад

    Which category do the frameworks like Django, Laravel fall under? They do server side rendering for sure but what they do also seems different than what JS SSR frameworks do.

    • @deado7282
      @deado7282 Год назад +2

      They are MPAs. So SSR without hydration. There is no client rendering involved.

  • @MichaelBattaglia
    @MichaelBattaglia Год назад +1

    In the time it took me to watch this video 3 new JS Frameworks have been introduced.

  • @outrightstore
    @outrightstore Год назад

    This is a design pattern that emphasizes core web technologies and allows for graceful degradation of features to ensure an optimal user experience.

  • @funkynerd_com
    @funkynerd_com Год назад +8

    I understood every part of that and yet I now feel even more confused.

  • @darksideishere
    @darksideishere Год назад

    Makes sense now why I always hated Amazon's website experience.

  • @alexandruserban3555
    @alexandruserban3555 Год назад +2

    we go back to static html...bc it works

  • @conelatilot
    @conelatilot Год назад

    You didn’t mention Fresh ( built with Deno ) for Islands .. :c

  • @showbikshowmma3520
    @showbikshowmma3520 Год назад

    So u mean we could integrate partial hydration with ISR for a quite large webapp instead of using hydration/island?

  • @PierreChevallier
    @PierreChevallier Год назад

    MPAs use SSR to display content, so they're basically the same thing

  • @thisiswill
    @thisiswill 9 месяцев назад

    Feels like I just ran a marathon, after watching that LOL.

  • @adnanrruka5152
    @adnanrruka5152 Год назад

    Man, You are so funny, that McDonalds offical site.

  • @basil3d
    @basil3d Год назад +5

    I wish that you talk about frameworks like AlpineJS and HTMX as they are giving a new alternative approach for multipage webapps.

    • @brunomendes8031
      @brunomendes8031 Год назад +1

      They're really just prettier jquery. Not that new.

  • @geeshta
    @geeshta Год назад

    I just transitioned from a full Django MPA to Django REST API + Vue SPA. I'm kinda lost on SSR. Like how does your frontend fetch data to from backend when it's all on server? I also don't understand why Fireship calls Next a backend framework while other people say it's a frontend framework.

    • @charlesm.2604
      @charlesm.2604 Год назад +2

      So that's the thing, SSR isn't all on the server. The part that is ran server-side is generating the initial HTML, the rest (state management, dynamically changing content, routing, etc...) is ran on the client-side.
      In Django words, Nuxt SSR will generate your views just like Jinja templates, the resulting HTML is what is shipped to the visitor when he makes the request but then anything else that is happening after through user-interactions (button clicks, form submissions, etc...) will be executed inside the browser as if it was a piece of jQuery code.
      The reason why it might be confusing for you is because both the server part and client part are written in Javascript and inside the same file which isn't straight forward. This is why we use Vue's lifecycle hooks:
      mounted () {
      // ...
      }
      Do you get it ?

  • @jonathanlambrecht5642
    @jonathanlambrecht5642 Год назад

    where does htmx lands here? (im just learning)

  • @MukyOficial
    @MukyOficial Год назад

    And which is better for SEO?

  • @filipstudeny
    @filipstudeny Год назад

    I just started using Next.Js and I have no idea how you use it, is it Frontend or Backend framework ? No, its actually kinda both, why ? How ? I have no idea

  • @jlucasp25
    @jlucasp25 Год назад

    Please make a video about HTMX

  • @nulcow
    @nulcow Год назад +1

    All I do is create a bunch of HTML documents and just let PHP fill them up with whatever server-side data. What is that called?

  • @deathrace-bx5ne
    @deathrace-bx5ne 6 месяцев назад

    In what category does Blazor Hybrid comes here?

  • @hamzakarim340
    @hamzakarim340 Год назад

    amazing

  • @ricardorien
    @ricardorien Год назад

    We miss you.