You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'SQLPage is a tool that allows you to build websites using SQL queries.
38
-
It empowers people who have access to databases but don''t know programming to create beautiful dynamic websites.
39
-
All SQL operations are supported, you can not only visualize database contents, but also UPDATE and INSERT data coming from your users.'as description,
39
+
SELECT'SQLPage takes your SQL queries and renders a beautiful web app'as title,
40
+
'
41
+
SQLPage is a tool that allows you to **build websites** using nothing more than **SQL queries**.
42
+
You write simple text files containing SQL queries, SQLPage runs them on your database, and **renders the results as a website**.
43
+
44
+
You can display the information you *SELECT* from your database in lists, tables, cards and other user interface widgets.
45
+
But you can also *INSERT*, *UPDATE* and *DELETE* data from your database using SQLPage, and build a full CRUD (create read update delete) webapp.'as description_md,
40
46
'paint'as icon,
41
47
'blue'as color;
42
-
SELECT'Build Websites Quickly and Easily'as title,
43
-
'SQLPage will let you create websites without the need to learn complex programming languages.
44
-
Reuse your database querying skills to fill simple predefined components with data.
45
-
SQLPage is written in a fast and secure programming language: Rust.
46
-
We made all the optimizations so that you don''t have to. Think about your data, and nothing else.'as description,
48
+
SELECT'Pre-built components let you construct websites Quickly and Easily'as title,
49
+
'At the core of SQLPage is [a rich library of **components**](./documentation.sql). They are themselves built with traditional web technologies, but you never have to edit them if you don''t want to.
50
+
SQLPage just fills in the properties of the components with the data returned by your SQL queries.
51
+
You can build entire web applications just by combining the components that come bundled with SQLPage.
52
+
53
+
For instance, the current list of features on this page is built with the following simple SQL query:
54
+
55
+
```sql
56
+
SELECT ''card'' as component, ''What is SQLPage ?'' as title;
57
+
SELECT ''Pre-built components […]'' as title, ''At the core of SQLPage […]'' as description;
58
+
```
59
+
60
+
Additionnally, SQLPage itself is written in a fast and secure programming language: Rust.
61
+
We made all the optimizations so that you can think about your data, and nothing else.'as description_md,
47
62
'rocket'as icon,
48
63
'green'as color;
49
-
SELECT'Iterate and Experiment with Ease'as title,
50
-
'SQLPage allows you to iterate quickly on your database design without thinking too much about the rest.
51
-
You will quickly find which components and layouts look good with your data.
52
-
This flexibility helps you avoid costly mistakes: at the beginning of your project, you should be thinking about your data, and not agonize over technical micro-decisions in your frontend.'as description,
64
+
SELECT'Technically, it''s just a good old web server'as title,
65
+
'
66
+
The principles behind SQLPage are not too far from those that powered the early days of the internet.
67
+
Like [PHP](https://en.wikipedia.org/wiki/PHP), SQLPage just receives a request, finds the file to execute, runs it, and returns a response.
and [distributed as a single executable file](https://github.com/lovasoa/SQLpage/releases).
72
+
When it receives a request to a URL ending in `.sql`, it finds the corresponding
73
+
SQL file, runs it on the database,
74
+
passing it information from the web request as SQL statement parameters.
75
+
When the database starts returning rows for the query,
76
+
SQLPage maps each piece of information in the row to a parameter
77
+
in one of its pre-defined components'' templates, and streams the result back
78
+
to the user''s browser.
79
+
'as description_md,
53
80
'flask'as icon,
54
81
'purple'as color;
55
82
SELECT'Start Simple, Scale to Advanced'as title,
56
-
'SQLPage is a great starting point for building websites, especially if you''re new to coding. As your needs grow,
57
-
you can gradually transition to a full-featured programming language while reusing the database structure and queries you wrote in SQLPage.
58
-
SQLPage helps you transition smoothly while providing a solid foundation for your website.'as description,
83
+
'SQLPage is a great starting point for building websites, especially if you''re new to coding, or want to test out a new idea quickly.
84
+
Then if the app becomes important, you can take the same underlying data structure and wrap it in a more established framework with a dedicated front end.
85
+
And if it doesn''t, you only spent a few hours on it!
86
+
87
+
SQLPage doesn''t make any asumption about the structure of your database, so it is easy to transition to and from it without having to change your database schema.
88
+
helps you transition smoothly while providing a solid foundation for your website.'as description,
0 commit comments