Skip to content
All of the required core code
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Add GPL v2.0 license. Aug 23, 2019
README.md Update README.md Aug 23, 2019
base.php Use https URL. Aug 23, 2019
column.php Add note about NO_ZERO_DATES to validate_datetime() method in Column … Aug 23, 2019
compare.php Initial commit of Date & Compare query classes. Aug 23, 2019
date.php Initial commit of Date & Compare query classes. Aug 23, 2019
query.php Update Query class properties to use updated "Queries" namespace. Aug 23, 2019
row.php Initial commit of Row class. Aug 23, 2019
schema.php Initial commit of Schema class. Aug 23, 2019
table.php

README.md

BerlinDB

...is a collection of PHP classes and functions that aims to provide an ORM-like experience and interface to WordPress database tables.

This repository contains all of the code that is required to be included in your WordPress project.

The most common use-case for BerlinDB is a WordPress Plugin that needs to create custom database tables, but more advanced uses are possible, including managing and interfacing with the WordPress Core database tables themselves.

Future repositories in this organization will contain examples, extensions, drop-ins, unit tests, and more.


The name of this project comes from WordCamp Europe 2019, where it was originally announced as an unnamed library. Thank you to Peter Wilson for the idea to pay homage to such a wonderful audience.


The code in this repository represents the cumulative effort of dozens of individuals across multiple projects, spanning multiple continents, native languages, and years of conceptual development:

These projects all require custom database tables to acheive their goals (and to meet the expecations that their users have in them) to perform and scale flawlessly in a highly available WordPress based web application.

Each of these projects originally implemented their own bespoke approaches to database management, resulting in a massive amount of code duplication, rework, and eventual fragmentation of approaches and ideas.

This project helps avoid those issues by (somewhat magically) limiting how much code you need to write to accomplish the same repetitive database related tasks.


This organization was created by (and is managed by) Sandhills Development, LLC, where we aim to craft superior experiences through ingenuity, with deep commitment to (and appreciation for) the human element.

You can’t perform that action at this time.