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

    Nonsense, there are tons of systems like that now. I’ve been playing with Deno & Fresh, it’s great. Trivial to install, a pretty great language, Fresh doesn’t force everything to be client side - you can easily write old school completely server side rendered sites if you want but you get to use TSX which is waaaaay superior to the old text based templating systems we used to use (Handlebars, Jinja, etc.).

    It also has built in hot reloading by default so even faster than PHP. Literally hit save and you see the results.

    • AwkwardLookMonkeyPuppet@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      2 months ago

      What’s this install nonsense? I just looked up Deno and it’s part of an NPM stack. With PHP you just

      1. Open an Apache server

      2. Write code

      3. ???

      4. Profit!

      • FizzyOrange@programming.dev
        link
        fedilink
        arrow-up
        5
        ·
        2 months ago

        I just looked up Deno and it’s part of an NPM stack.

        It’s not. It supports NPM modules for backwards compatibility, but the whole point is that it doesn’t inherit the NPM tooling mess. You can go from a new Linux install to a running Fresh project in 3 commands.

          • FizzyOrange@programming.dev
            link
            fedilink
            arrow-up
            3
            ·
            2 months ago

            There’s two things:

            Deno: this is a replacement for Node and NPM and prettier and some other tools. So one aspect is that it’s a more modern Node, using standard web APIs instead of Node specific stuff. And the other aspect is it is more streamlined modern tooling - no node_modules, no complicated build steps, built in Typescript support, etc. In fact you can use a single file as a script, similar to Python… but unlike Python you can use third party dependencies, which makes it fantastic for stuff like CI scripts, etc. where you might have suffered with Bash or Python before.

            Fresh: this is just a web framework targeting Deno. Honestly I haven’t used it much but I really like what I’ve seen so far. I always found React to be confusing and overkill for most sites, which should really be rendered server side, but also I really like the way you can compose components with JSX/TSX in a real language with full type checking. Fresh gives you both!