Giter VIP home page Giter VIP logo

Comments (2)

jimafisk avatar jimafisk commented on June 1, 2024 1

If you want on-demand rendering (building the page when a request comes to your app), something like Bud is the way to go. Currently Plenti only handles build-time rending (building all the pages before the app is deployed) for "Jamstack" style websites. In other words, it usually runs in CI to produce static HTML and then gets entirely out of the way (the HTML gets deployed to your host, but the Plenti binary never does). So Plenti actually does SSR currently (we do it in V8 as well), it just does it during the build process.

Matt (the creator of Bud) and I talk about this problem space fairly often, we'd also like solve the problem you're posing here. Doing things in V8 works, but is challenging for several reason (e.g. requires CGO which makes cross compiling hard, doesn't support concurrency, has performance and debugging issues). Ultimately a UI compiler written in Go would allow you to write reactive frontends in a single binary without dependencies and performance issues - it's just a large undertaking to create something like this.

Is there a particular reason something like Bud isn't working for your project?

from plenti.

maietta avatar maietta commented on June 1, 2024

Thank you.

from plenti.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.