D

Alphabetical index of projects in Python:

T

Tilix is an advanced GTK3 tiling terminal emulator that follows the Gnome Human Interface Guidelines.

Screenshot

V

Vibe.d is a high-performance asynchronous I/O, concurrency and web application toolkit. It already contains many supplemental features such as database support to be able to offer a complete development environment. Vibe.d

Example of Usage:

import vibe.d;

void userInfo(HTTPServerRequest req, HTTPServerResponse res)
{
    auto username = req.params["user"];
    render!("userinfo.dt", username)(res);
}

void addUser(HTTPServerRequest req, HTTPServerResponse res)
{
    enforceHTTP("user" in req.form, HTTPStatus.badRequest, "Missing user field.");
    res.redirect("/users/"~req.form["user"]);
}

shared static this()
{
    auto router = new URLRouter;
    router.get("/users/:user", &userInfo);
    router.post("/adduser", &addUser);
    router.get("*", serveStaticFiles("./public/"));

    // To reduce code redundancy, you can also
    // use method chaining:
    router
        .get("/users/:user", &userInfo)
        .post("/adduser", &addUser)
        .get("*", serveStaticFiles("./public/"));

    listenHTTP(new HTTPServerSettings, router);
}

Last updated

Was this helpful?