A | B | C | D | E | F | G |
H | I | J | K | L | M | N |
O | P | Q | R | S | T | U |
V | W | X | Y | Z | ||
Tilix is an advanced GTK3 tiling terminal emulator that follows the Gnome Human Interface Guidelines.
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.
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);
}