Note that there are some explanatory texts on larger screens.

plurals
  1. POSQLite - looking for hello world-type html page app
    primarykey
    data
    text
    <p>I have done some googling but maybe I am not using the right terms ("sqlite reference web app"). I would like a example app which has a html page and writes submitted data to a sqlite database.</p> <p>I know there are lots of examples out there, but they seem to require a lot of superstructure. </p> <p>I am hoping - and maybe looking for something that does not exist - that there is a way to submit data to a SQLite database in a single web application folder structure.</p> <p>Example:</p> <p>/pub/docs/helloworld &lt;-- in file structure, not deployed on web server</p> <ol> <li>index.html - basic form with data section and form/submit button </li> <li>foo.js - reads/writes data to hello.db </li> <li>hello.db - sqlite database </li> </ol> <p>Use case:</p> <ol> <li>On load in a browser, index.html uses foo.js pulls a set of data from a view in hello.db and displays to the user.</li> <li>User enters data and clicks submit.</li> <li>index.html + foo.js update/create data in hello.db.</li> </ol> <p>Do I need to install a full-blown app server for this, or can I do it with foo.js (+ a JS lib if required) only?</p> <p>No, this is not a homework assignment, just trying to get a workbench for a project which I'd like to deploy on a shared internal filesystem instead of an application server. </p> <p>I do know about TiddlyWiki and if it were a little more interactive querying-type structure where a user could search for a set of tags I might be able to use it, but I'm also interested in learning more about SQLite.</p> <p>Any advice appreciated. Thanks.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload