PHPカンファレンス関西2016 パネルディスカッション ORMユーザー対談 で使ったスライドです
ORMの構文を必ず使う必要なんてないのですよ。 <?php // なんでもいいのでConnectionとってくる $employeeTable = Doctrine_Core::getTable('Employee'); $con = $employeeTable->getConnection(); $sql = "SELECT * FROM employee where YEAR(employed_at) = :year"; $employees = $con->fetchAll($sql, array(':year' => 2009)); $sql = "SELECT * FROM employee ORDER BY employed_at DESC LIMIT 1"; $employee = $con->fetchRow($sql); $sql = "SELECT id FROM e
Solid Foundation. No Magic. Spot is a simple and efficient DataMapper built on Doctrine DBAL. PHP 5.4+ with support for MySQL, PostgreSQL, SQLite, and more... View on GitHub Read The Docs No AnnotationsAnnotations are not code. They are not extendible, there are no type hints or auto-completion. No Proxy ClassesThe Entities you define are the same entities that both you and Spot will be workin
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く