It is normal. PHP encourage share nothing architecture that is a very good thing on shared environment.
However, you can cache the result set by using memcache, sharedance or any caching system that is exposed to PHP. Regards, Dinh On 6/22/07, TheTorst <[EMAIL PROTECTED]> wrote: > > > I've just built my first small application with Cake. This is a really > small application using the following tables: groups, users, items, > groups_users, and items_users. My problem is that Cake generates way > to many queries when its processing my code. The debugger shown in the > bottom of the page tells me "33 queries took 67 ms" when a relatively > simple page have been rendered. > > Is this normal? I thought developers wanted to avoid unnecessary > queries. > > I know that ASP.NET developers uses dataset. The dataset makes it > possible to reuse unchanged data, which have already been queried. > Does PHP or Cake offer a alternative function to this dataset? > > What is the best way to minimize the number of queries for a Cake > project? > > /Dan > > > > > -- Nobody in nowhere --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
