5 ms·
I don't think most of the people commenting here realize that the entire site loads just fine with Javascript disabled. Essentially this is HTML getting generat
by thunderbong 5y ago
I don't think most of the people commenting here realize that the entire site loads just fine with Javascript disabled. Essentially this is HTML getting generated on the server.
The fact that it is in Deno rather than PHP, Ruby or Python is the point of the article.
- bachmeier 5y ago> Essentially this is HTML getting generated on the server. Not a web developer. How is this different from CGI or a regular web server? This an honest question - I don't understand the significance.
- DangitBobby 5y agoIt's written in js/React so you can share frontend and backend code and write the entire site in one language or even using the exact same components for server side and client side rendering. This is a boon for development. Ignore the nay-sayers.
- brundolf 5y agoThe demo doesn't use React, only JSX
- deleted 5y ago[deleted]
- DangitBobby 5y agoThe import { h } made me think it was preact, but I guess it's not even that.
- xcambar 5y agoit is not different. CGI is replaced by JS Apache/nginx is replaced by CDN web server is replaced by edge nodes (aka, glorified runtimes automagically spread across many endpoints)
- skybrian 5y agoYes, everything old is new again. I just browsed the docs, but it seems it's not so different, other than it's automatically run on servers all over the world. Temporarily, this is for free. Also, it automatically updates after pushing a commit to GitHub, which seems nice.
- xcambar 5y ago> Also, it automatically updates after pushing a commit to GitHub, which seems nice. also not new, but you know that already :)
- deleted 5y ago[deleted]
- abracadaniel 5y agoThank you. Being unfamiliar with Deno, I was trying to figure out what was loading the libraries when there was only one request/response over the wire. I of course was making the assumption that the single JS file was being run in the browser, not on the server.
- victor_e 5y agoI was doing the same!
- metaltyphoon 5y ago3 of us :D