Related changes
From OnixOS
Enter a page name to see changes on pages linked to or from that page. (To see members of a category, enter Category:Name of category). Changes to pages on your Watchlist are in bold.
List of abbreviations:
- N
- This edit created a new page (also see list of new pages)
- m
- This is a minor edit
- b
- This edit was performed by a bot
- (±123)
- The page size changed by this number of bytes
25 August 2026
| N 07:20 | O Language/Web/Database diffhist +1,021 Tedaryum talk contribs (Created page with "= Database = Database programming has three common steps: open a connection, define a model, and apply schema changes. == Connection and model == <pre> def db = database("sqlite3", "example.db") def users = model(db, "users", { "id": "int", "name": "text", "email": "text" }) </pre> == Schema and data == <pre> migrate(users) create(users, {"name": "Ada", "email": "[email protected]"}) def result = fetch(users, {"name": "Ada"}) update(users, {"name": "Ada"}, {"em...") | ||||
| N 07:20 | O Language/Web/Routing diffhist +822 Tedaryum talk contribs (Created page with "= Routing = Routes are stored as a hash passed to <code>webserver</code>. A route maps a path to an HTTP method and a response. <pre> def show_user = fn(id) { return json({"id": id}) } def config = { "/users/:id": { "type": "GET", "response": show_user } } </pre> Supported route types include <code>GET</code>, <code>POST</code>, <code>PUT</code>, <code>DELETE</code>, <code>PATCH</code>, <code>OPTIONS</code>, <code>UPLOAD</code>, and <code>STATIC</code>....") | ||||
| N 07:19 | O Language/Web diffhist +1,295 Tedaryum talk contribs (Created page with "= Web Programming = O Language includes an HTTP server runtime. This section explains web programming concepts; O Language Web Framework explains project scaffolding and the <code>olf</code> conventions. == Start an HTTP server == Pass a port and a route hash to <code>webserver</code>: <pre> def config = { "/": {"type": "GET", "response": "Welcome!"} } webserver("8080", config) </pre> == Handle requests == A route response can be a f...") | ||||
