News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
Sanisoft Blog:
Using CakePHP without a database
August 22, 2008 @ 10:29:28

On the Sanisoft blog today Tarique Sani has posted about a method for using the CakePHP framework without a database to back it up.

We recently programmed a CakePHP app which relies solely on remote server talking Saleforce API for all data operations. The first challenge that we faced was how to prevent CakePHP from insisting on a database connection. The solution was simple enough and I never gave it much thought till the same question was brought up by more than one person on the CakePHP list. The solution involves creating a minimal dbo source file.

It's a simple three step process to follow - making the dbo source file, set it up as the default driver and tell CakePHP to $useTable = false.

0 comments voice your opinion now!
use cakephp framework database sanisoft dbo source



Similar Posts

Graham Bird's Blog: Extra-pretty URLs with slugs

H3rald.com: Rails-inspired PHP frameworks

Alexander Netkachev's Blog: Zend_Cache review

PHPBuilder.com: Caching Web Page Output for Server Optimization

Atlanta PHP User Group: March 2006 Meeting - 2nd @ 7pm


Community Events









Don't see your event here?
Let us know!


framework releases PEAR conference zend developer mysql database application book code PHP5 package ajax example cakephp job security release zendframework

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework