RedBeanPHP
This article needs additional citations for verification. (December 2013) |
![]() | The topic of this article may not meet Wikipedia's general notability guideline. (December 2013) |
RedBean is free, BSD licensed, open-source object-relational mapping software written by Gabor de Mooij. It currently only supports PHP. Although it can be used as a stand-alone library there is also an integrated edition available for the Zend Framework.
Features
RedBean is different from other ORM layers because it requires no configuration in XML, YAML or JSON but it designs a database schema on its own by analyzing the PHP code, this is sometimes called Virtual ORM (ORM without mappings). This is possible because of Reflection functionality built into PHP. RedBean not only creates a database on the fly it also monitors performance, handles transactions and it automatically prevents race conditions. It scans your data and adjusts the column types to fit your object properties. If your models are stabilized you can freeze the database. This way RedBean is easy to develop with but is also extremely fast on production servers.
History
RedBeanPHP first appeared in 2009 [1]. The first publicly available version was 0.3.3. RedBeanPHP has been developed by Gabor de Mooij, a software developer from the Netherlands. Because RedBeanPHP is very accessible and it does not hide the SQL language it's often used by Universities to teach database programming [2].
See also
References
- ^ [1] First commit of RedBeanPHP on Github
- ^ http://www.cs.wcupa.edu/rkline/wp/mysql-php.html The West Chester University Computer Science Department RedBeanPHP course