Vibe.d tutorial
  • Build web apps with Vibe.d
  • Setting up
  • The default hello world app
  • Use your own HTML page
  • Serving other static files
  • Diet templates
  • More template pages
  • Use your own functions
  • Templates for ease of maintenance
  • Using include in templates
  • Responsive layout using CSS Grid
  • A fixed navbar and sticky footer
  • CSS modal dialogues
  • The web interface
  • Setting up MySQL server and tools
  • The schema
  • Setting up MySQL for Vibe.d
  • The EmployeeController class
  • The EmployeeModel class
  • A form for adding a new employee
  • Saving form data into the database
  • Testing the whole thing
  • Listing all the employees
  • Retrieving a record for editing
  • Saving form changes to the database
  • Deleting a record from the database
  • Finding an employee record by name
  • Displaying error messages with _error
  • Authentication and authorization
  • Logging in and authentication
  • Saving the login state to the session
  • Enforcing authorization through the session
  • Logging out
  • All the sources so far
  • A new project
    • The timekeeping system
Powered by GitBook
On this page

Build web apps with Vibe.d

by learning from a learner

NextSetting up

Last updated 5 months ago

Vibe.d is an app development framework written in the D language. However, an expert-level knowledge of D is not required to develop apps in Vibe.d. Its simplicity and productivity is so impressive. And when you deploy, if you made things right, there is only one executable file to deploy. No CLR or JVM to install, no fiddling with Apache config files to launch a library or interpreter.

Vibe.d and its simplicity is even more impressive when compared to the complexity of Spring / Hibernate and the technologies needed just to build a simple application. Yes, Java is fantastic, fantastically complex. The Java language itself isn’t that complex but it is the ecosystem built around it that made things what they are. People cannot get that simplicity is the summit of sophistication: it means the creator(s) labored so hard to make things simple.

There is a dearth of tutorials on Vibe.d. That is what this author found out when trying to re-learn Vibe.d, hence this tutorial.

An older PDF version is freely downloadable here:

and the newer PDF version is here:

https://github.com/reyvaleza/vibed/blob/main/BuildTimekeepWithVibe.pdf

https://raw.githubusercontent.com/reyvaleza/vibed/main/BuildWebAppsinVibe.pdf