php menu generated from a db

Posted by Duncan Benoit on Stack Overflow See other posts from Stack Overflow or by Duncan Benoit
Published on 2010-04-27T10:52:45Z Indexed on 2010/04/27 10:53 UTC
Read the original article Hit count: 219

Filed under:

Hi there,

I have a database with products organized by categories and subcategories. The thing is that I generate a menu by querying the categories table. Because categories are almost the same(they can change/add once a month or something), I don't think I have to query the database for each access of the web-page. Do you have a better idea for me?

Many thanks!

ps: i'm using the cakephp framework

© Stack Overflow or respective owner

Related posts about cakephp