An Interest In:
Web News this Week
- April 16, 2024
- April 15, 2024
- April 14, 2024
- April 13, 2024
- April 12, 2024
- April 11, 2024
- April 10, 2024
Query Mental Model
Query is a one-file system that uses SQLite to cover most of the full-stack development and infrastructure needs for small websites.
Let's list the key facts for this mental model:
I do not need a database server (PostgreSQL or MySQL), as I can connect to my SQLite databases remotely using the Query APIs, the CLI, and the functions.
I do not need a JavaScript runtime (NodeJS, Deno, or Bun), as Query offers its own.
Query JavaScript Runtime
Runtime Compatibility
I do not need a JavaScript backend framework (NextJS, Remix or Astro), as Query provides functions to serve Pages and APIs.
Functions
File-System Based Router
I do not need a caching system (Redis) for my function, as Query caches them in SQLite and serves them.
I do not need a storage system (S3) for my assets, as Query stores them in SQLite and serves them.
I do not need a scaffolding tool to generate code, as Query offers its own.
I do not need to develop a back office admin area, thanks to the Query generator, as I can build one just by executing a command.
Query Generator
Query Generator Templates
I can deploy in a couple of seconds to Query.
Query Function CLI
Query Assets CLI
I can distribute it in multiple regions, thanks to Fly.io and LiteFS.
Original Link: https://dev.to/gc-victor/query-mental-model-38b0
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To