Updated: I've released a working version of the oracle connection class that does not need behaviors to utilize bind variables.We ran into some more issues using the CakePHP Clob behavior that Bobby Borisov and Nedko Penev wrote. Basically, the issue was that the original file used a reference variable to the model that was supposed to be using the behavior. However, it seemed to always doing something very by expanding the model array everytime the behavior was called.
// get list of blog entries
// ------------------------
$archive = $this->Blog->BlogEntry->findAll(
null,
array(
'BlogEntry.id',
'BlogEntry.created'
),
'BlogEntry.created DESC',
null,
[Read More]
Views 335
Comments 0
Filed under:
CakePHP
Updated: I've made some changes to the CakePHP Clob BehaviorBobby Borisov and Nedko Penev over at chankov.net wrote a great CakePHP behavior to help with handling Oracle clob fields in CakePHP 1.2. For those of you unfamiliar with Oracle, it will only let you insert or update a clob field with less than 4000 characters without using a bind variable. If you need to place a value [Read More]
var $default = array(
'driver' => 'oracle',
'persistent' => false,
'host' => '',
'port' => '',
'login' => '',
'password' [Read More]
Views 692
Comments 3
I've been testing out the content aggregation API provided by inform.com at the office. It's an extremely powerful API that can be using in a number of ways. The first piece that we are testing is passing over our blogs and articles via a SOAP connection and receiving enriched text along with tags and topics to the content. This has greatly improved our tagging of blogs which is easily spammable by our users.