Re: Baking without database

2007-05-04 Thread dasiel

Hi Macon I'm already working in a project and I need to consume some
web services. But I don't know how to use it in CakePHP, acording to
your post it seem that you has used some web services from Cake. Where
I can see something about this topic?
Excuse me for my english ;-).

Thanx.

Dasiel

On 25 abr, 12:04, Macon [EMAIL PROTECTED] wrote:
 Hi all,

 I'm writing a front-end app using Cake relying exclusively on web
 services to access various databases.
 So far I'm using a dummy local database which is totally empty and
 useless ;)
 I would like to know how to disable Cake's database connection check
 at startup since I don't need it.

 Thanx,

 Vince.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Baking without database

2007-04-27 Thread Macon

Unfortunately this forum is in French language only, and I think it is
more intended to beginners, but still I can drop that link:
http://www.cakephp-fr.org/forum


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Baking without database

2007-04-26 Thread Macon

Hi Stacey,

 you can use the following line in your models to stop them from
 looking for a database connection:

 $useTable = false;


I'm actually using this in every model using SOAP.

 i don't know if there is a way to globally disable the db.

That's what I'm looking for :)
Thanks anyway !


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Baking without database

2007-04-26 Thread Macon

Eventually I found a solution on another forum.

There it is, in config/database.php just type
code
class DATABASE_CONFIG
{
}
/code

Happy baking, folks !


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Baking without database

2007-04-26 Thread Dr. Tarique Sani

Do let us know which forum was this - if such cool CakePHP hacks are
discussed there I would like to hang out there

T

-- 
=
PHP for E-Biz: http://sanisoft.com
Cheesecake-Photoblog needs you!: http://cheesecake-photoblog.org
=


On 4/26/07, Macon [EMAIL PROTECTED] wrote:

 Eventually I found a solution on another forum.

 There it is, in config/database.php just type
 code
 class DATABASE_CONFIG
 {
 }
 /code

 Happy baking, folks !


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Baking without database

2007-04-25 Thread Macon

Hi all,

I'm writing a front-end app using Cake relying exclusively on web
services to access various databases.
So far I'm using a dummy local database which is totally empty and
useless ;)
I would like to know how to disable Cake's database connection check
at startup since I don't need it.

Thanx,

Vince.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Baking without database

2007-04-25 Thread Stacey

you can use the following line in your models to stop them from
looking for a database connection:

$useTable = false;

i don't know if there is a way to globally disable the db.

On Apr 25, 12:04 pm, Macon [EMAIL PROTECTED] wrote:
 Hi all,

 I'm writing a front-end app using Cake relying exclusively on web
 services to access various databases.
 So far I'm using a dummy local database which is totally empty and
 useless ;)
 I would like to know how to disable Cake's database connection check
 at startup since I don't need it.

 Thanx,

 Vince.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---