Features

From RedBean

Jump to: navigation, search

Contents

RedBeanPHP 2.0 RC

  • Added fetchAs() alias function
  • Removed CompatManager because PDO drivers dont give right version number anyway

Download RC1

RedBeanPHP 2.0 Beta 13 Available

  • Alias now works the other way around as well: $book->ownCover (refers to page)
  • Further clean up, really tidy right now
  • Entire code base (without comments) now under 100KB !

Download Beta13

RedBeanPHP 2.0 Beta 12 Available

  • Kicked out a lot of old code...
  • ABeanFormatter is now DefaultBeanFormatter

Download Beta12

RedBeanPHP 2.0 Beta 11 Available

  • Important change: no OCI8 support
  • Removed frozen-only drivers
  • Fixed a bug in the optimizer; now formatted tables get optimized as well
  • Comments have been removed in All-in-one pack to reduce file size

I removed support for OCI8 as well as frozen-only drivers. The reason behind this and other 'cleanups' is that RedBeanPHP is taking up too much time lately so I am reducing the codebase to a manageable project.

Download Beta11


RedBeanPHP 2.0 Beta 10 Available

  • Fixed interface API for Query Writers
  • Improved documentation in source code
  • FacadeHelper now in its own file
  • try-catch blocks for non-critical queries like auto-index
  • and auto-foreignkey
  • some additional cleanup

Download Beta10

RedBeanPHP 2.0 Beta 9 Available

  • Added shortcut function R::addDatabase()
  • Added BeanHelper for architectural tidyness
  • Added convenience class ABeanFormatter
  • More tests

Download Beta9

For details... see the NEW MANUAL !


RedBeanPHP 2.0 Beta 8 Available

RedBeanPHP just got lightweight again, removed a lot of components (check for backward compatibility):

  • LinkManager (no longer needed because of N:1 relations)
  • BeanMachine (does not seem to be very popular, will remain available on github)
  • Finder (moved code to OODB)
  • Constraint (built-in now)
  • Cache (does not work properly with N:1, nested beans)

Download Beta8

RedBeanPHP 2.0 Beta 7 Available

  • fixed an issue with tainted bean nested in freshly dispensed beans
  • big clean up: removed TreeManager, NullWriter and DomainObject
  • Lots of new tests
  • Fixed issue with interface method signature QueryWriter updateRecord

Download Beta7

RedBeanPHP 2.0 Beta 6 Available

Busy weekend, yet another update, fixes PostgreSQL duplicate constraints. Download Beta6

RedBeanPHP 2.0 Beta 5 Available

Using unset($book->ownPage[2]); now causes the book_id field to be set to NULL instead of 0, this makes it easier to add foreign keys later on.

Download Beta5

RedBeanPHP 2.0 Beta 4 Available

This version contains support for N:1 relations:

$book->ownPage[] = $page -- adds book_id in page
$book->sharedPage[] = $page -- adds many-to-many book_page
$book->page = $page  -- adds page_id

Download Beta4

RedBeanPHP 2.0 Beta 3 Available

New in this beta: R::view() can now join multiple types with the same type just by repeating an earlier type. For instance: R::view( 'customers', 'order,customer,address' ) will join addresses properly to customers. After that, you will be able to join to address again. Also fixed a bug in association manager that caused build command created not be reset (while this was a bug, I am not sure someone would have ever noticed because build commands are often only used internally). Download Beta3

RedBeanPHP 2.0 Beta 2 Available

New in this beta: automatic indexes and foreign key constraints for link tables. Download Beta2 or see SneakPreview!

RedBeanPHP 2.0 Beta 1 Available

Yes, it's here right now. RedBeanPHP 2.0 Beta 1 is available for download. Enjoy even more RedBeanPHP power!

Download Beta1 and discover the new features as described in the SneakPreview!

Updated Roadmap

Release schedule for 2011 and (part of) 2012. Take a look into the future of RedBeanPHP, visit the new Roadmap!

Already 6 frameworks using RedBeanPHP!

Already 6 frameworks are currently using RedBeanPHP; learn more about these wonderful frameworks that ship with RedBeanPHP for out-of-the box bean power!

Frameworks

Name Space Conversion Tool

Use RedBeanPHP in whatever namespace you like using this experimental php script.

Example:

php space.php RedBeanPHP

Puts RedBeanPHP in namespace 'RedBeanPHP'. It's still an experiment, feel free to test!

A Form Builder in 12 lines

Check out this new demo. See how you can build a form builder with RedBeanPHP in just 12 (reasonable) lines of code.

RedBeanPHP has a mission

Read the RedBeanPHP Mission.

New: RedBeanPHP 1.3

It's here finally; RedBeanPHP 1.3! New features include:

  • Improved performance (faster meta-data,optimized finder)
  • Cooker: turn your HTML forms into beans and associations!
  • Bean Machine Query Builder
  • Query Logger
  • R::wipe() and R::count()
  • Various fixes and minor features

see all changes in changelog

Easiest ORM layer

Start developing using the easiest ORM layer ever made! With RedBean, ORM (Object Relational Mapping) in PHP becomes a breeze. RedBeanPHP is a simple straightfoward, lightweight ORM solution; with a 'fire and forget' philosophy! Download RedBean now and boost your PHP productivity right away!

RedBeanPHP

RedBeanPHP is an open source (License) ORM (object relational mapping) tool for PHP. It focuses on simplicity and ease of use. What makes RedBean unique is that it creates your database schema on-the-fly. 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. With RedBean, ORM becomes fun! Learn RedBean in just a couple of minutes... visit the manual!

Easy to Install

RedBean is extremely easy to install. Just Download the PHP file on this website and drag it to the folder of your PHP Application. Done. RedBean requires zero configuration. No INI, YAML, XML or other config files. Just include the file in your code and you are done. Installing an ORM tool has never been this easy!

On the Fly

RedBean works with Beans. Beans are simple objects that only have public properties. The idea behind RedBean is simple, you fill the bean with the properties you need and then you give it to RedBean and it will be stored in the database. No matter what. RedBean creates tables, columns and column types on the fly. No need to switch back-and-forth to phpmyadmin anymore! Just write your code and RedBean takes care of the database.

Storage Server

You can also use RedBeanPHP as a stand-alone ORM server, middleware ORM storage solution or for pure JS (Javascript) Applications, in combination with frameworks like Cappuccino or EXT. The RedBean BeanCan_Server is a JSON-RPC 2 compliant ORM Server.

Compatible

RedBeanPHP is compatible with the best open source databases around; MySQL, SQLite and PostgreSQL. We are working hard to provide support for even more databases! RedBean is not only compatible with lots of databases, it also integrates well with frameworks like Shozu, Code Igniter, Kohana and Zend (see Frameworks). The RedBean database adapter is compatible with ADODB.

Quality Code

RedBeanPHP has been developed with passion and care. The source code contains extensive documentation, there is a comfortable API browser and a convenient facade class. Furthermore, 800+ Unit Tests ( Test Pack 1, Test Pack 2, Test Pack 3, Test Pack 4 ) show that RedBeanPHP works according to specifications.

Powerful Debugging Features

Unlike most ORM layers, RedBean gives you the opportunity to watch all SQL generated by the Query Writers. Just turn on the debugger with one simple method call and you see all the SQL that happens under the hood. Logging and Debugging (see CRUD) have never been this easy!

Legacy version 1.3 Test it now!

Not using PHP 5.3 yet? Try the Legacy Edition. The L-edition works with older PHP versions (PHP5). RedBean13L

Personal tools