サイボウズ・ラボ : CBL ActiveRecord CBL ActiveRecord はPHP5向けのO/Rマッピング・ライブラリです。 Active Record とは、 データベースのテーブルやビューの列をラップし、データベースアクセスをカプセル化し、ドメインロジックを追加するオブジェクトです。本ライブラリを使用することにより、データベースへのアクセスが容易に行えます。 サイボウズラボさんで配布されているPHP5向けのO/Rマッピング・ライブラリ。 次のようなコードで簡単にDB操作が可能。 <?php $pdo = new PDO( 'mysql:dbname=todo;host=localhost', 'root', '' ); CBL_ActiveRecord::setPDO( $pdo ); class ToDo extends CBL_ActiveRecord { } $t