DEV Community

Gliimly
Gliimly

Posted on

Web Services with MariaDB

Here's a step-by-step example of using MariaDB as a database for web services.

It's only 41 lines of code. Click on the link above for step by step, but you can see below the screenshots of all source code - no explanation required - it's that simple:

Insert stock to database:
Image description

Select stocks and display as HTML:
Image description

Even though this looks like some kind of easy scripting language, it's actually fully statically compiled into a high-performance native executable.

Top comments (0)