News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

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


blog comments powered by Disqus

Similar Posts

The Bakery: Six New Articles and Tutorials

EllisLabs Blog: EllisLab moves to Mercurial, Assembla, BitBucket; CodeIgniter 2.0 Baking

International PHP Magzine: Poll Question: Do you believe the following about PHP?

Ralph Schindler's Blog: Composite Rowsets For Many-To-Many Relationships Via Zend_Db_Table

The Bakery: Setting up Eclipse to work with Cake


Community Events





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


podcast laravel symfony introduction api developer interview tips opinion list library framework threedevsandamaybe release deployment community language series bugfix zendserver

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