Tutorials
Books
D Web Development
This book gives a thorough overview of most aspects of vibe.d. Highly recommended if you want to get familiar with all corners and technical details!
Learning D - Chapter 10
Chapter 10, "Taking D Online", of Michael Parker's "Learning D" book contains a detailed introduction to vibe.d of almost 50 pages. In this introduction, it interactively develops a movie database web application. If you want to get a complete picture of the possibilities of the language as well, this is a great choice.
Build web apps with vibe.d by learning from a learnerJan 24, 2023
Rey Valeza has written the second edition of his web application tutorial, this time expanding more on the database side of things and MySQL in particular. The tutorial, step by step, develops a simple, but complete employee and time managemant application. All layers of development are covered, from database and program logic to HTML templates and bootstrap based CSS styling.
General
An introduction to vibe.d: Writing a scalable chat service in DJan 4, 2016
This tutorial gives an overview of modern web application (back end) development in D. Step by step, it will make you familiar with all the tools needed. The level of abstraction is kept pragmatic, without going into every detail of the language.
There is also a similar tutorial by Charles Smith, using lower level APIs and without a database: WebSocket example
vibe.d's example projects
A collection of examples for all aspects of vibe.d.
Dlang tutorial: Build tools and hello webFeb 15, 2014
This video tutorial goes through the basics of setting up a D environment up to running the first vibe.d based web application. There is also a number of follow-up tutorials that touch other aspects of the D language.
Low level HTTP tutorials
Lawrence Aberba has written a small series of blog posts going from a minimal HTTP server application to handling the upload of multiple files.
- Hello World appFeb 14, 2017
- Form uploadDec 6, 2016
- Multiple file uploadAug 20, 2016
A tutorial series
Mihail Strasun (aka Dicebot) has written a series of articles that go through various aspects ranging from environment setup to creating RESTful services.
- A brief overview of what vibe.d is and is trying to achieveMar 13, 2013
- A walkthrough of the functionality contained in the vibe.d library(slightly outdated and most importantly misses the web framework!) Apr 4, 2013
- Server and development environment setup(the installation procedure is simplified nowadays by using DUB) Jul 4, 2013
- Setting up a meaningful web app with user interactionJul 4, 2013
-
A quick introduction to the REST interface generator(nowadays found in the
vibe.web.rest module
) Mar 4, 2013
Quick Start With D: Web Application
Ilya Yaroshenko has written a general D introductory tutorial that contains a section about web application development with vibe.d
Deployment
Deploy on Heroku
This short article is part of the DLang Tour and goes from zero to a running Heroku based web app
Containerize Your D Server Application
This blog post by Kai Nacke explains the steps necessary to build an Ubuntu based Docker image of a vibe.d server application.
Setting up Nginx as a reverse proxy
Presents a short configuration example for how to use Nginx as a reverse proxy in front of a vibe.d application.
4 Simple Steps to Run D Language in Azure Websites
Goes through the steps necessary to deploy a vibe.d app to the Microsoft Azure cloud.
Update: Appears that the domain has been sold; the link now points to web.archive.org