medium.com 1 min read Original Source

Quillo: Forget fetch, and await

Modern web development has accumulated layers of friction. Between client-side fetching, explicit asynchronous awaiting, serialization, route configuration, and manual state synchronization, building a web application often feels less like designing logic and more like gluing disparate technologies together.

The Problem with Glue-Heavy Frameworks

Traditional web stacks force developers to manage a fragmented pipeline:

  • Writing API endpoints and routes on the server.
  • Invoking fetch() on the client side.
  • Managing async / await chains and loading states.
  • Manually serializing and deserializing JSON payloads.
  • Handling manual try/catch blocks for network errors.

Enter Quillo

Quillo (Quillo .qwe) takes a fundamentally different approach: the web, as a language. By collapsing the boundaries between server logic, routing, and client components into a unified syntax, Quillo eliminates entire categories of boilerplate.

No Fetch, No Await

In Quillo, a component calls the server directly like a local function. The compiler handles the asynchronous boundary, arguments are checked against strict types, and failures are returned gracefully as values:

Code snippet

list ! str with db {
if trim(text) == "" {
return err("A note needs some text")
}
db.exec("insert into notes (text) values (?)", text)
db.query("select * from notes order by id")
}

component Notes() {
state notes = []
state draft = ""
{ notes = add_note(draft) ?? notes }}>

    { for n in notes =>

  • {n.text}
  • }

}” data-toggle-ms=”1200″ aria-label=”Copy code” data-nosnippet=”” class=”code-copy-btn absolute right-3 top-3 size-8 p-1.5 flex items-center justify-center bg-black/50 text-white rounded-md transition-colors duration-200 cursor-pointer hover:bg-black/70″>

server fn add_note(text: str) -> list ! str with db {
    if trim(text) == "" {
        return err("A note needs some text")
    }
    db.exec("insert into notes (text) values (?)", text)
    db.query("select * from notes order by id")
}

component Notes() {
    state notes = []
    state draft = ""
    <form onsubmit={() => { notes = add_note(draft) ?? notes }}>
        <ul>{ for n in notes => <li key={n.id}>{n.text}</li>}</ul>
        <input value={draft}/>
    </form>
}
server fn add_note(text: str) -> list ! str with db {
    if trim(text) == "" {
        return err("A note needs some text")
    }
    db.exec("insert into notes (text) values (?)", text)
    db.query("select * from notes order by id")
}

component Notes() {
    state notes = []
    state draft = ""
    <form onsubmit={() => { notes = add_note(draft) ?? notes }}>
        <ul>{ for n in notes => <li key={n.id}>{n.text}</li>}</ul>
        <input value={draft}/>
    </form>
}

Key Benefits

Traditional Stack
Explicit fetch() calls and JSON parsing
Fragmented client/server routing
Heavy virtual DOM or complex state sync

Quillo Approach
Direct server function calls with type safety
Unified syntax combining routes, patterns, and HTML
Fine-grained reactive signals compiled to raw speed

Conclusion

By letting developers quit worrying about the plumbing, Quillo lets you focus entirely on building functional, high-performance applications with unmatched ergonomics.