resFactory / factory

Resource Factory is a universal approach to originating, refining, and rendering Markdown, HTML, type-safe SQL, or other assets that could comprise static sites or engineering artifacts.
GNU Affero General Public License v3.0
0 stars 3 forks source link

Create PHP-style *.dr.rf.ts which would be served using FastCGI #50

Open shah opened 2 years ago

shah commented 2 years ago

Create a new distributed rendering ("*.dr.rf.ts) module that would basically register a FastCGI endpoint. As resources are scanned and the static site is built, the indexer would collect any DR modules and prepare Deno Deploy, .htaccess, Traefik, NGINX, and other web-server-specific configuration files for mapping *.ts to pretty URL dynamically executed endpoints.

Consider Phoenix LiveView model to "render HTML on the server over WebSockets with optional LongPolling fallback."

If we're being ambitious we could even allow PHP integration using https://roadrunner.dev/.