#5836 - API-first development
| Identifier | #5836 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | API-first development |
| Status | Open |
| Tags |
Type: Performance (custom) |
| Handling member | Deleted |
| Addon | core |
| Description | Move Composr to generate data via an API server, and render the HTML from a JavaScript platform.
This would radically change the Composr programming model and radically improve speeds, while opening up the ability for there to be multiple 'clients' for a Composr site (including mobile apps, etc). The JavaScript API would be able to render Tempcode and locally cache resources like templates, which would be served through the API server. There'd be much less data transferred by request and most of the load would be moved from the server to the client, greatly improving throughput. Something like Swoole or ReactPHP (see #5835) would be good to add even higher performance to the API server. This would all be an enormous amount of effort, almost a rewrite of the system. But to provide extreme performance and responsiveness, I think it's the future. |
| Steps to reproduce | |
| Related to | #5835 - Parallel block generation using Fibers (holding issue) #5834 - Switch to Typescript (Deno) |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments