Skip to content

Commit bb83ed9

Browse files
committed
faq
1 parent cdbb58a commit bb83ed9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -271,40 +271,40 @@ SQLPage will re-parse a file from the database only when it has been modified.
271271

272272
## Frequently Asked Questions
273273

274-
### **Why use SQL instead of a real programming language? SQL isn't even [Turing-complete](https://en.wikipedia.org/wiki/Turing_completeness)!**
274+
> **Why use SQL instead of a real programming language? SQL isn't even [Turing-complete](https://en.wikipedia.org/wiki/Turing_completeness)!**
275275
276276
- You're focusing on the wrong issue. If you can express your application declaratively, you should—whether using SQL or another language. Declarative code is often more concise, readable, easier to reason about, and easier to debug than imperative code.
277277
- SQL is simpler than traditional languages, often readable by non-programmers, yet very powerful.
278278
- If complexity is your goal, note that [SQL is actually Turing-complete](https://stackoverflow.com/questions/900055/is-sql-or-even-tsql-turing-complete/7580013#7580013).
279279
- Even without recursive queries, a sequence of SQL statements driven by user interactions (like SQLPage) would still be Turing-complete, enabling you to build a SQL-powered website that functions as a Turing machine.
280280

281-
### **Just Because You Can Doesn’t Mean You Should...**
281+
> **Just Because You Can Doesn’t Mean You Should...**
282282
[someone being mean on Reddit](https://www.reddit.com/r/rust/comments/14qjskz/comment/jr506nx)
283283

284284
It's not about "should" — it's about "why not?"
285285
Keep coloring inside the lines if you want, but we'll be over here having fun with our SQL websites.
286286

287-
### **Is this the same as Microsoft Access?**
287+
> **Is this the same as Microsoft Access?**
288288
289289
The goals are similar — creating simple data-centric applications — but the tools differ significantly:
290290
- SQLPage is a web server, not a desktop app.
291291
- SQLPage connects to existing robust relational databases; Access tries to **be** a database.
292292
- Access is expensive and proprietary; SQLPage is [open-source](./LICENSE.txt).
293293
- SQLPage spares you from the torment of [Visual Basic for Applications](https://en.wikipedia.org/wiki/Visual_Basic_for_Applications).
294294

295-
### **Is the name a reference to Microsoft FrontPage?**
295+
> **Is the name a reference to Microsoft FrontPage?**
296296
297297
FrontPage was a visual static website builder popular in the late '90s. I hadn't heard of it until someone asked.
298298

299-
### **I like CSS. I want to design websites, not write SQL.**
299+
> **I like CSS. I want to design websites, not write SQL.**
300300
301301
If you want to write your own HTML and CSS,
302-
you can create custom components by adding a [`.handlebars`](https://handlebarsjs.com/guide/) file in `sqlpage/templates` and writing your HTML and CSS there. ([Example](./sqlpage/templates/alert.handlebars)).
302+
you can [create custom components](https://sql.datapage.app/custom_components.sql)
303+
by adding a [`.handlebars`](https://handlebarsjs.com/guide/) file in `sqlpage/templates` and writing your HTML and CSS there. ([Example](./sqlpage/templates/alert.handlebars)).
304+
You can also use the `html` component to write raw HTML, or the `shell` component to include custom scripts and styles.
303305

304-
Are you human? [Humans hate CSS](https://uxdesign.cc/why-do-most-developers-hate-css-63c92bce36ed).
305-
306-
SQLPage believes you shouldn't worry about button border radii until you have a working prototype.
307-
We provide good-looking components out of the box so you can focus on your data model.
306+
But SQLPage believes you shouldn't worry about button border radii until you have a working prototype.
307+
We provide good-looking components out of the box so you can focus on your data model, and iterate quickly.
308308

309309
## Download
310310

0 commit comments

Comments
 (0)