Re: Any truth to charge of 'thousands of db queries' ?

2008-10-05 Thread teknoid
As Adam said, it is an unrealistic claim to say cake makes thousands of queries to do something routine. In addition, you always have full control over the generated queries either by enforcing JOINs with on-the-fly model binding, or by using Containable to limit the amount of returned data. On O

Re: Any truth to charge of 'thousands of db queries' ?

2008-10-05 Thread Adam Royle
Yes, by default cakephp does make a lot of database queries if you have a lot of model associations. Thousands? Hmm... not really that I've seen.. but still more than one would hope for (for me sometimes between 40 and 120 per page, although all of them would take "0 ms" each). Having said that,

Any truth to charge of 'thousands of db queries' ?

2008-10-05 Thread EastGhostCom
Some months ago I read an anti-cake / fear mongering message, something about how cakephp routinely makes thousands of database queries to accomplish typical, regular actions. Guess what? Fear was mongered. Not trying to monger more fear, just wondering (1) was there any truth to that, and (2)