top | item 30935609

(no title)

AaronO | 3 years ago

Aaron from Deno here. Of course it's producing HTML as an output, but the point is that you can use JSX and familiar technologies like tailwind to dynamically generate that HTML at edge vs client side.

And unlike a pure static site, you can add API or form routes

discuss

order

kokanee|3 years ago

Wow, a lot of misunderstanding of what Deno is and how it works in these comments! Must be frustrating for you.

I'm a huge fan of runtimes that reduce boilerplate and configuration, so that's what makes me most interested in Deno. What I'm most concerned about is that we're pushing the idea that Deno's approach to third party imports solves all the problems of npm et al. If we teach developers to think of third party and native libraries as equivalent, I think we're hiding a lot of problems rather than solving them, which could be even worse.

brundolf|3 years ago

I can appreciate what's being done here, but I think a more compelling demo would have had a bit of dynamic rendering just to emphasize the point (since in the real world, a fully-static site like this would be better served by a static-only hosting service with no custom server running at all, even one on the edge). Even something as simple as grabbing the current timestamp and displaying it in the returned HTML, just to show that logic is running on every request.

smm11|3 years ago

[deleted]

donohoe|3 years ago

Oh. So you've reinvented PHP. Nice.

Dangeranger|3 years ago

This is a very lazy comment. I'm sure it makes you feel smart, but it drags down the entire conversation, and doesn't add anything of value. You seem very capable and accomplished, so I'm confused why you would spend any of your time to simply shit-post on someone who is trying to build something of use to many people.

woojoo666|3 years ago

Wow toxic much? PHP doesn't solve the same problems as JSX