Back to Basics in Web Apps - eviltoast
  • xoggy@programming.dev
    link
    fedilink
    arrow-up
    9
    ·
    7 months ago

    1996 was the beginning of the chaos. We went from a document that the user’s browser parsed and styled to a free-for-all of website designs glued together on construction paper. Accessibility took a step back. You now needed a graphical desktop to view the web. Page content was no longer machine readable and became less portable. Now in a world of dynamic page content generated by javascript you need a v8 browser in crawlers just to index page content.

  • MechKit@beehaw.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 months ago

    My career has followed some of that journey, and I also have come back to using Alpine, HTMX, and a server side rendering for SPA-like apps. Some pages are just almost all HTML, and just use HTMX to switch the client content without a page load.

  • NostraDavid@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    7 months ago

    I find it refreshing to write, not generate, HTML and CSS, and then sprinkle some JavaScript for interactivity.

    I’ve found hugo to be rather amazing in generating static HTML and CSS (converting either HTML or Markdown templates into regular HTML).

    I started out my personal website as:

    PS: Have you ever seen TheNet (1995)?

    PPS: All the HTML is pretty much all Semantic HTML, instead of Twitter’s div>div>div>div>div

    • Victor@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      7 months ago

      div>div>div>div>div

      Ah yes, div soup.

      By the way, have you tried different generators and compared them, or tried only Hugo, out of curiosity?

      • NostraDavid@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        7 months ago

        Only Hugo; I didn’t want to try anything JS based and hugo is faaaaaast in its generation. Sub 1 second fast. It’s so nice.

        • Victor@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          7 months ago

          Cool! Very nice. Do you need it to be that fast or is it just nice because faster is better?

    • Aijan@programming.devOP
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      7 months ago

      Author here. My blog is also generated with Hugo, and it’s great. I just prefer not to generate HTML and CSS from JavaScript unless it’s necessary.

      Sorry, I haven’t seen that movie. Thanks for the recommendation though.