Examples

Overview

Small programs, each showing one part of Quillo, with its whole source. They live in quillolang/examples: clone it, and each runs with quillo run <name>.qwe --watch, or all together with quillo run index.qwe.

Hello, routesPath parameters, typed query patterns and JSON answers in fifteen lines.hello.qwePayload routingOne path, several handlers, chosen by what is inside the JSON body.orders.qweTodo appA server-rendered app with forms, redirects and a JSON API next to it.todo.qweNotesSQLite on the server, a live component in the browser, in sync across tabs.notes.qweCompositionViews and components built from each other: props down, callbacks up, slots.compose.qweJSON layoutA page described as JSON, rendered by one view, with a live editor beside it.layout.qweSingle-page appClient-side navigation, deep links, a cart that survives pages and live stock.spa.qweInfinite scroll100,000 rows, loaded 200 at a time, with only the visible ones in the page.scroll.qweVirtual listA million rows of ten columns, twenty on screen: drag the scrollbar anywhere.virtual.qweGame of LifeA board in a component's state, stepped by a timer that runs in the browser.life.qweState stormA dashboard under a storm of random changes, tested for leaks.storm.qweTelemetrySensors send readings over UDP; every page sees them as they come, over a channel.telemetry.qweCameraA camera's RTP stream, played in the page a fraction of a second behind.media.qweRust in a programPrimes and Collatz chains in a .qwer file, called from a component through server fns.rust.qweServicesA shop that bills through a billing service, in one process or split apart.services/All examplesEvery example mounted under its own path in one server, behind tabs.index.qwe
Thread
21Useful? Like it, or add to its thread below.

Thread 0 posts

On Overview: questions, tips, corrections, and code that uses it.

No posts yet. The first one opens the thread.