https://nextjs.org/docs/advanced-features/react-18/server-co...
Fresh is a new full stack web framework for Deno
231–240 of 249 posts
Re: Fresh is a new full stack web framework for Deno
#232Maybe I am getting all wrong, but this sounds like PHP.
I'm excited for server-side rendering to return to the mainstream so that in a few years I can revolutionize the industry with my ingenious new idea to render things on the client with Javascript!
Re: Fresh is a new full stack web framework for Deno
#233`deno run -A` So we're giving up on "it's more secure"? EDIT: I'm actually a real fan of Deno, but that was never because of its security promises. Security is both technical and cultural, and I think cases like this suggest that while the technical side was always shaky, the cultural side is just as weak. If first-party material promotes the idea of running scripts with `-A`, then that's the direction the community…
Security makes more sense for deno when your host your app in serverless v8 hosting environments like deno. They don't even have a way to specify all permissions. v8 isolates are the new cool thing in serverless hosting especially with wasm providing way to run c/rust code on v8. We have to see how this will pan out compared to containers.
Re: Fresh is a new full stack web framework for Deno
#234Earlier quoted context omitted.
Security makes more sense for deno when your host your app in serverless v8 hosting environments like deno. They don't even have a way to specify all permissions. v8 isolates are the new cool thing in serverless hosting especially with wasm providing way to run c/rust code on v8. We have to see how this will pan out compared to containers.
Isn't the hosting environment providing the security in that case? I can run Nodejs code on AWS Lambda, and CloudFlare also has their own edge runtime environment which is based on v8 isolates but isn't Deno.
Re: Fresh is a new full stack web framework for Deno
#235Earlier quoted context omitted.
Isn't the hosting environment providing the security in that case? I can run Nodejs code on AWS Lambda, and CloudFlare also has their own edge runtime environment which is based on v8 isolates but isn't Deno.
What I meant was that you could emulate locked down version that deno or cloudflare provide in your local during development with the granularity of permissions. I though lambda was a full container running app, did they add isolate environment to it?
Re: Fresh is a new full stack web framework for Deno
#236Are there any examples of things made with Fresh available?
Source can be found here https://github.com/denoland/dotland
Re: Fresh is a new full stack web framework for Deno
#237In 2007 I was writing websites that were mostly rendered on a server, with JavaScript used selectively in some places for interactivity I remember writing at the time that moving everything to the client was solving one problem (poor encapsulation of JavaScript-powered front-end components) with another (needlessly rendering everything on the client) The industry moved toward CSR anyway, and I had to learn it to cont…
Re: Fresh is a new full stack web framework for Deno
#238Re: Fresh is a new full stack web framework for Deno
#239Maybe I am getting all wrong, but this sounds like PHP.
To me the part about: "... and the client is only responsible for re-rendering small islands of interactivity. A model where the developer explicitly opts in to client side rendering for specific components. ..." actually sounds more like ASP.NET (the original Web Forms, not Core) support for AJAX: https://docs.microsoft.com/en-us/dotnet/api/system.web.ui.up...
Re: Fresh is a new full stack web framework for Deno
#240In 2007 I was writing websites that were mostly rendered on a server, with JavaScript used selectively in some places for interactivity I remember writing at the time that moving everything to the client was solving one problem (poor encapsulation of JavaScript-powered front-end components) with another (needlessly rendering everything on the client) The industry moved toward CSR anyway, and I had to learn it to cont…
An idea comes up. It solves problems, but it also has shortcomings. An antithesis that deals fixed the shortcomings comes up and is adopted. Turns out it also has shortcomings of its own. The synthesis merged them together.
And repeat.
(these are the ideas from some thinker whose name I forget)