Maybe because it's easier to plug a GUI to store data in database than having an editor and an FTP (depends of the user of course) ?:-) ;)
On Jun 27, 4:42 pm, Martin Siniawski <[EMAIL PROTECTED]> wrote: > Hey Lecter, > > Why would you do it that way instead of using constants? Your method > involves only 1 query, so it isn't very expensive, but I don't see the > benefit in doing it that way. > > Cheers, > Martin > > On Jun 27, 4:28 am, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote: > > > This might be helpful to you: > > >http://dsi.vozibrale.com/articles/view/simple-db-based-configuration-... > > > I'll need to update the article though, I have a new version ready, > > with caching. > > > On Jun 27, 9:20 am, "Turnquist, Jonah" <[EMAIL PROTECTED]> wrote: > > > > Hey guys, do you think it would be better to use a php constant to > > > store my website name? Over using the config stuff? > > > > Because a constant would be way faster right? I would use it on EVERY > > > page. > > > > But where would should I define it? > > > > Thanks, > > > Jonah --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
