11 May 2008
Perhaps we don’t need the movies. Perhaps the books come with the movie built in.
— Terry Pratchett, The Art of Discworld
Perhaps we don’t need the movies. Perhaps the books come with the movie built in.
— Terry Pratchett, The Art of Discworld
I’m still drinking the Ruby Kool Aid, but when I have to PHP in my own well:
class User extends AppModel
{
var $name = 'User';
var $primaryKey = 'user_id';
var $useDbConfig = 'alternate';
}
Cake: easy as pie. :)
class User extends ActiveRecord
{
function init ($attributes = array())
{
parent::init($attributes);
$this->setPrimaryKey('user_id');
}
function setConnection ($dsn = null, $connection_id = null)
{
$this->_db =& Ak::db('mysql://user:password@localhost/alternate', 'usersalt');
}
}
Akelos: more like a PITA.
Amor Meus Crucifixus Est.
— “My Love has been Crucified.” Motto of the The Order of the Most Holy Saviour (aka the Brigittines or Brigidines).
Americans have no reasonable expectation of privacy in the address information on their mail, and mail covers have a long and storied history in the annals of domestic surveillance.