All ORM layers try to do the same: offer a solution. Most of them however seem to introduce a new problem (of complexity) rather than solving anything at all. RedBean eliminates complexity by getting rid of configuration and just doing ORM on the fly.
Doing ORM meta mappings is a complex, error-prone and tedious task. What do we usually do this kind of task? We write computer programs that do the work for us! For some reason ORM has been an exception to this rule. Until now. RedBean allows you to store objects. Just like that. Without ANY configuration, schema or meta mapping. Besides storing objects, RedBean can manage object relations as well.
RedBean acts as a simple, lightweight object database. RedBean can store bean objects (objects that contain only public properties). To store a bean, you just say: $redbean->store( $book ); Here RedBean will store a bean called $book.
RedBean requires no .ini, YAML, or XML configuration files. RedBean works out of the box, a Database Connection String is all that is required. We offer a single Setup-class that gets you up and running after just 1 single method invocation.
Most ORMs are just a big blob of mysterious code. RedBean is different. It consists of a collection of loosely coupled, cohesive objects that are easy to understand and to work with. While the core of RedBean is minimalistic, there are plugins that offer extended functionality. Plugins include: Transparent Locking, Caching and Automatic Database Optimization and Cleaning.
While RedBean does not impose a specific programming style it supports well known patterns like DataMapper and Active Record (ActiveBean), the latter is part of the Shozu Framework and can be downloaded as a pre-installed solution.