On Sep 4, 5:53 pm, DavidH <djhollingwo...@gmail.com> wrote:
> Hi All
>
> I'm currently prototyping an application that's going to use a
> document database rather than an RDBMS. Couch DB is currently the
> favourite.
>
> I'm building the prototype using CakePHP's Controller / View
> structures with a third party PHP library installed in Vendoirs to
> give me access to my document database. Therefore I don't have a
> database and no models. However CakepHP keeps insisting I have a
> database. First it complained there was no database.php file and when
> I created one it naturally complained it couldn't find the database.
> Even creating an empty class DATABASE_CONFIG { } didn't fix it as the
> " ConnectionManager requires a database connection"
>
> Is there a way of switching off the database requirement altogether?
> I'm sure I read this somewhere; but I can't find it now.
>
> Thanks
>
> David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
Friday, September 4, 2009
Re: How to completely disable database access?
http://www.sanisoft.com/blog/2008/08/22/using-cakephp-without-a-database/
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment