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
| 07:32 | Protection log Tedaryum talk contribs protected O Language/Web Framework [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [cascading] (hist) | ||||
| N 07:20 | O Language/Web Framework diffhist +2,322 Tedaryum talk contribs (Created page with "= O Language Web Framework (olf) = <code>olf</code> is the convention-based web framework for O Language. It provides a project layout for routes, controllers, templates, browser assets, and database code. == Create and run a project == <pre> olang web init my-project cd my-project olang web run </pre> The official framework source is [https://gitlab.com/olanguage/web/framework the olf repository]. == Project structure == {| class="wikitable" ! Path !! Responsibili...") | ||||
| 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>....") | ||||
