- A fixed, hand-written, well-tested platform app, in one or a few languages.
- An elaborate config file for routes, schema, validation, auth and permissions.
- Small hooks for the business logic. These could be run by an interpreter, or compiled.
- The hooks never deal with infrastructure.
An LLM is reliable when it fills a bounded, validated space (params, small pure functions). It is unreliable when it must get a whole cross-cutting system right.
Real tools that work this way
| Tool | Platform gives you | Your logic goes in | Link |
|---|---|---|---|
| PostgREST | REST API generated from a Postgres schema | SQL views, functions, triggers | https://postgrest.org |
| Hasura | GraphQL API from the DB, permissions config | Actions, event triggers (webhooks) | https://hasura.io/docs |
| Supabase | Postgres, auth, storage, realtime, edge functions | SQL, edge functions | https://supabase.com/docs |
| PocketBase | Single Go binary with CRUD, auth, admin UI | JS hooks and custom routes run by an embedded interpreter (goja) | https://pocketbase.io/docs/js-overview/ |
| Directus | API and admin UI over any SQL DB | Hooks, endpoints, extensions | https://docs.directus.io |
| Strapi | Headless CMS with content types | Lifecycle hooks, controllers | https://docs.strapi.io |
| Payload CMS | Config-as-code CMS and API | Field and collection hooks | https://payloadcms.com/docs |
| Frappe / ERPNext | Metadata "DocTypes" give forms, API, permissions | Small server scripts (Python) | https://frappeframework.com/docs |
| Odoo | Model-driven business apps | Python model methods | https://www.odoo.com/documentation |
| Django (+ admin, DRF) | ORM, admin, auth, serializers | Views, model methods, signals | https://docs.djangoproject.com |
| Rails scaffolding | CRUD generators, conventions | Models and controllers | https://guides.rubyonrails.org |
| Spring Data REST | REST endpoints from repository interfaces | Event handlers, projections | https://docs.spring.io/spring-data/rest/reference/ |
| JHipster | Generates a full app from a JDL model | Edit the generated code | https://www.jhipster.tech |
| OpenAPI Generator | Server skeleton from an OpenAPI spec | Implement the handler interface | https://openapi-generator.tech |
| oapi-codegen (Go) | Strict server interfaces from OpenAPI | Implement the interface | https://github.com/oapi-codegen/oapi-codegen |
| AWS Lambda / Cloudflare Workers | Servers, scaling, routing, TLS | One function with a fixed signature | https://developers.cloudflare.com/workers/ |
| Temporal | Durable execution, retries, state | Workflow and activity functions | https://docs.temporal.io |
| Dapr | Sidecar for state, pub/sub, bindings | Plain app code | https://docs.dapr.io |
| OpenResty (Lua in nginx) | nginx platform | Embedded Lua scripts | https://openresty.org |
| Envoy Wasm filters | Proxy platform | Wasm modules | https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/wasm_filter |
No comments:
Post a Comment