berlindb / core
A collection of PHP classes and functions that aims to provide an ORM-like experience and interface to WordPress database tables.
Installs: 18 855
Dependents: 5
Suggesters: 0
Security: 0
Stars: 254
Watchers: 21
Forks: 29
Open Issues: 34
This package is auto-updated.
Last update: 2024-10-14 18:35:59 UTC
README
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:
- Easy Digital Downloads (3.0 and higher)
- Sugar Calendar (2.0 and higher)
- Restrict Content Pro (3.1 and higher)
- WordPress Multisite (inspired by)
- BuddyPress (inspired by)
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.