• @[email protected]
      link
      fedilink
      91 year ago

      You and I are off the fucking scale. In which direction? Nobody can sa… It’s the left side. I am on the left side.

  • @Potatos_are_not_friends
    link
    441 year ago

    Some frontend guy said this best. It was something along the lines of:

    “JS frameworks went real hard in client side rendering and branding server-side rendering old and archaic. But that they hit performance issues and began re-adopting server side features and trying to make it look cool again after shitting on it for a decade.”

    • @mr_tyler_durden
      link
      181 year ago

      I’ve got nothing against SSR, never have, but CSR or even better SSR+CSR side steps a metric shit ton of issues. I’ve written untold lines of code to render something out in PHP then needed to add jQuery logic to the frontend for UX/UI reasons and then I’ve had to duplicate UI generation in JS/jQuery to match what PHP spits back (think: add a new row to an interface after an Ajax call finishes). It’s hell, you have to keep the two in sync and it’s a bug minefield.

      Compare that to CSR where all the DOM is generated though a single codepath. Now take CSR to the next level with SSR+CSR and you’ve got a winning combo. Fast initial render and SEO gains (if you even need that) and only 1 DOM generation pathway.

      People want to sound all smug “Oh, back to SSR are we?”, “Uh yeah, we had to CSR first to get to SSR+CSR which is VASTLY superior to SSR alone”.

      Tech is circular in that way. See also mainframes, to personal computers, to cloud or any other similar cycle.

    • Alien Nathan Edward
      link
      fedilink
      71 year ago

      kinda feels like they’re trying to emulate server-side templating with shit like django and thymeleaf

  • @[email protected]
    link
    fedilink
    English
    211 year ago

    Are web servers that serve real HTML responses still a thing? Honest question. I thought JSON+client side rendering were the default by now.

    • @MrPoopyButthole
      link
      English
      281 year ago

      You’re a couple years behind the SSR craze. We’re back to what they were doing with PHP in the 00s except it’s now done with Next, Nuxt etc.

      • Woovie
        link
        fedilink
        15
        edit-2
        1 year ago

        Give it a year or two and we will be back to PHP. A lot of people are seeing the massive changes PHP has done and realizing it’s just not as bad as it used to be. 7.x was a huge change, and 8.x is also doing great things. And so no one rages about my opinions, there’s some sarcasm about “going back to PHP”. Obviously the industry will stick to JS/TS for the most part.

        • @[email protected]
          link
          fedilink
          English
          11
          edit-2
          1 year ago

          PHP has been “not bad” for a decade. The problem is that it isn’t good and I can’t think of a reason to choose it for a new project when there are so many better, established languages.

          • Woovie
            link
            fedilink
            11 year ago

            I’d argue PHP didn’t really “get good” until 7, but my own bias.

          • @Potatos_are_not_friends
            link
            121 year ago

            Probably never because JS finally had a glow up and added/adapted the many features jQuery had and made it native.

      • Lung
        link
        41 year ago

        Yaaay I love running node.js as my backend even though nobody thinks it’s efficient

      • @SpaceNoodle
        link
        -21 year ago

        no where near PHP

        Correct, Python is not nearly the clusterfuck that PHP is

          • @SpaceNoodle
            link
            21 year ago

            🙄

            I’ll admit that it’s been quite a while since I’ve touched PHP, but that was never my main focus.

          • @Tenshi
            link
            31 year ago

            I heard a lot of complaints about Python, but it’s looks weren’t any of them. It’s the sexiest language out there.

            Since I moved to python I wish all languages would just drop brackets, they’re dirt.

              • @SpaceNoodle
                link
                01 year ago

                All the cool engineers use Python to get shit done soon, and C to get it done right.

          • @SpaceNoodle
            link
            21 year ago

            I’ve got a C background as well, and I find Python o br considerably cleaner (and the code isn’t 50% dollar signs).

        • @Ddhuud
          link
          31 year ago

          Aw shit is it 2010 again?

    • @MajorHavoc
      link
      11 year ago

      Yes. Much like https://xkcd.com/224/ the Internet is ostensibly all clever JavaScript frameworks, but actually leans heavily in out-of-sight places on big piles of plain old HTML.

      Much like SQL, there’s a million tools that will generate HTML, until we need a really specific output. Then we just cram the exact output we need into a text file and call it a day.

  • Kaito
    link
    21 year ago

    Why does it have to be a spectrum on a line? Can’t I say I understood what problem HTMX is trying to solve and at the same time say that it sucks?

    • @MajorHavoc
      link
      11 year ago

      We’re trying to choose tools. This is no place for reason! /s

  • @Insight
    link
    11 year ago

    How does something like this compare against something like Blazor?

    • @marlowe221
      link
      English
      11 year ago

      Like Blazor, it’s another way to do SSR.

      • @[email protected]
        link
        fedilink
        21 year ago

        Blazor isn’t ssr tho. Well you can use it on the server with signalR but most people would chose blazor wasm

        • @marlowe221
          link
          English
          1
          edit-2
          1 year ago

          Oh crap! You’re right. What am I thinking of then? Razor pages?

          Names are too similar…

          Edit - Why does Microsoft want to make their stuff sound like American Gladiators?