Thursday, February 12, 2026

4 self-contained databases in your apps

If it’s essential arise an internet server together with the database, and possibly a number of different parts, too, look to the XAMPP stack. This all-in-one resolution comprises MariaDB plus the Apache net server, the PHP runtime, the Mercury SMTP mail server, web-based controls for all of the parts, and a service supervisor for the desktop. It even contains OpenSSL for correct https help.

PostgreSQL

Numerous repackagings of PostgreSQL as a standalone utility have come and gone through the years (see this venture, for example), however it takes comparatively little work to arrange your personal standalone PostgreSQL utility. Receive the binaries minus the setup instruments, unpack them right into a listing, and run initdb to configure the fundamental setup. You possibly can then use pg_ctl to start out and cease the database as wanted.

Python builders have a very slick choice for including a self-contained PostgreSQL occasion to an utility: pgserver, a pip set up-able library that comprises a completely standalone occasion of PostgreSQL. The whole app, binaries and all, lives in your Python program’s digital setting. It does add about 30MB to the bottom footprint of the venv, however the ensuing comfort is tough to match.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles

PHP Code Snippets Powered By : XYZScripts.com