A masterful rant about the shit state of the web from a front-end dev perspective

There’s a disconcerting number of front-end developers out there who act like it wasn’t possible to generate HTML on a server prior to 2010. They talk about SSR only in the context of Node.js and seem to have no clue that people started working on this problem when season 5 of Seinfeld was on air2.

Server-side rendering was not invented with Node. What Node brought to the table was the convenience of writing your shitty div soup in the very same language that was invented in 10 days for the sole purpose of pissing off Java devs everywhere.

Server-side rendering means it’s rendered on the fucking server. You can do that with PHP, ASP, JSP, Ruby, Python, Perl, CGI, and hell, R. You can server-side render a page in Lua if you want.

  • Steve@awful.systemsOP
    link
    fedilink
    English
    arrow-up
    9
    ·
    6 months ago

    Modularity also allows for code reuse. It increases maintainability.

    another thing to think about is how this was not invented by frontend frameworks. We did it fine pre-SPAs and pre-preprocessors. It was part of the architecture and strategy. The hard work that allowed us to essentially reskin entire, very complex, projects every couple of years

    • Steve@awful.systemsOP
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      6 months ago

      i’ll put myself out there - here’s a receipt from 06~07 https://web.archive.org/web/20070512035940cs_/http://www.toyota.com.au/toyota/main/css/elements.css

      we were a team of 5 devs including me. We weren’t tribed off into separate areas of concern, we all knew the whole project back to front, and (maybe not the most clever move) managed without version control by always being aware which part we were working on. Cos, ya know, communication is easy when you are 5 people sitting in a group.

      Don’t give me shit about the complexity of the UI in modern apps either. We were dealing with a huge collection of brochure style pages that had plenty of variations. We kept all that css under 500kb. We could achieve the bland flatness of modern uis under 100kb easily. No fucking doubt.

      • paceaux@awful.systems
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        5 months ago

        I built sites as large and larger than Toyota with a team of 4-5 devs. Even with some of them being very junior devs, we still managed to keep the CSS under 500kb.

        Lots of front-end devs don’t understand the difference between complicated and complex.

        Complicated means it’s difficult to do and hard to understand. Complex means it’s got many parts.

        All it takes is a little bit of maturity and planning, and most any modern UI could be achieved in under 100kb of CSS. You put on your big kid pants and think about what you’re going to write before you write it.

        CSS isn’t some deep, level-10 arcane magic. You literally gotta roll an occasional persuasion check against a browser.

        Thanks for sharing the article, BTW

        • Frank.
        • Steve@awful.systemsOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 months ago

          Thanks, Frank!

          You put on your big kid pants and think about what you’re going to write before you write it.

          Killer line. THIS is what DESIGN is. The lost art of knowing what you want to do and deliberating over how to do it. The tech industry reversed it and now everyone is figma-ing about like children lost in the forest.