3:07pm March 19, 2008
Updated CakePHP Clob Behavior
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.

[Read More]
Views  239 Comments  0
Filed under: CakePHP, Oracle, Clob, Behavior
12:00am March 18, 2008
Code Snippet: Blog Archive Element
This code snippet is a simple example of how I build the "Blog Archive " Element. // 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
10:41am February 06, 2008
CakePHP Clob Behavior
Updated: I've made some changes to the CakePHP Clob Behavior
Bobby 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]
Views  488 Comments  3
Filed under: CakePHP, Oracle
11:32pm January 23, 2008
TorRed Gets Dropped
For my birthday, my wife got the family together and everyone helped by another major mod for the TorRed Daytona. She did a ton of leg work to figure out all the pieces I would need to lower the Charger.

One of the major negatives of the Daytona's is that their rear shocks are "Auto Load Leveling." This means that if you are hauling 500lbs. of dog food in the trunk, the [Read More]
Views  347 Comments  0
5:05pm December 20, 2007
Blockbuster's Trend of Bait and Switch
Having been a long time member of Blockbuster Total Access, think NetFlix with the added bonus of free in store rentals, I was unhappy to receive an email notifying me of the second price increase this year. When we initially signed up for Total Access, we were only paying $15.99/month for three movies at a time, with unlimited rentals per month. We also got a number of free rental coupons that we could use in the local Blockbuster.

Then Blockbuster added the ability to return the movies to the [Read More]
Views  300 Comments  1
Filed under: Daily Complaint
During our Thanksgiving trip to Missouri, our trusty Canon A80 died. This camera was a wedding gift to us back in 2004 and has seen more miles than most shoes. After doing our research, we settled on the new Canon A650 IS. This camera is fairly new to the market and comes with the same flipout screen as the A80, but obviously with 3 years of technology [Read More]
Views  259 Comments  0
Filed under: Daily Complaint
12:34pm December 04, 2007
Oracle Powered CakePHP
I've started heavily developing some stuff for work using CakePHP 1.2. We decided to go with the beta version as it currently is because of a number of changes. One of the major changes that we needed was better integration with Oracle.

The only issue with getting Oracle and CakePHP working nicely together is that in the default appconfigdatabase.php file, there is a missing value from the $default and $test arrays. var $default = array( 'driver' => 'oracle', 'persistent' => false, 'host' => '', 'port' => '', 'login' => '', 'password' [Read More]
Views  692 Comments  3
Filed under: CakePHP, Oracle
10:36am November 30, 2007
Inform's API
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.

The second piece we [Read More]
Views  346 Comments  0
Filed under: API
2:49am November 29, 2007
The TorRed Gets Some Go
I found a group-buy from T Byrne Motorsports on chargerforums.com for a DiabloSport Predator Tuner and aFe Stage II CAI. The total price was $500 which is what most stores are asking for only the Predator. After waiting an extra week and a half due to back ordered parts, I finally received the tuner and CAI.

[Read More]
Views  247 Comments  0
12:52pm October 15, 2007
PHP gets upgraded OCI8 Driver
Seeing as how I have started working solely with Oracle 10g at work, I have moved away from monitoring changes to the MySQL database and now watch changes coming from the Oracle camp. One of the biggest issues that the developers and my company face is moving all our code from an antiquated scripting language over to PHP. PHP and Oracle has a decent agreement when it comes to handling database transacations, but it's nothing to write home about. The PHP lacks any form of good database connection pooling when it comes to Oracle.

For sites that get a couple dozen thousand hits a day, [Read More]
Views  224 Comments  0
Filed under: Oracle, PHP
Loading...