| 
 Posted by Colin McKinnon on 09/06/05 16:51 
Smitro wrote: 
 
> Hi, I'm in the middle of building a Content 
> Management System to be used by out school. It has 
> gotten to the stage where I'm going to have to 
> start building admin pages so that others can be 
> admins, So I'm going to have to rewrite several 
> pages to cater for this. What I'm wondering is, 
> what is the best way to store admin variables? 
> Should I put them in a table in MySQL or in a flat 
> file? Do you think that it would slow my server 
> down conciderably if I added another 3 sql querys 
> to every page and had 100 users on using the site 
> at once? 
>  
 
I'm wondering why you need 3 queries to read in the config. Tried joins? 
Polymorphism? 
 
I'd really have to try to make this go slow, even on a Microsoft platform. 
If it is a problem write some cacheing code in PHP. 
 
C.
 
[Back to original message] 
 |