On 6/27/07, MikeK <[EMAIL PROTECTED]> wrote: > > I am working on a CMS that also uses phpBB. I punted on Rails after > their awful deployment issues and inability to get along with other > apps without rearchitecting them. I was happy with CakePHP until I > wrote the piece to integrate phpBB's session code with my pages. Turns > out both phpBB and CakePHP have a global var named $db. So collision > city and major breakage. > > No way am I going to go and change the name of such a key var > throughout phpBB -- it is used less in CakePHP but I am not tempted to > change it there either. I'd love to be able to get updates without > having to run a script to rename a high use global like $db. I have a > kludgy workaround for the moment but couldn't someone pick some decent > var names and anticipate that their code might be integrated into > something down the road? Geesh -- how about $cake_db? > > Flame OFF >
Riiiiiiiiiiiiiiiiiiiiiiiight. CakePHP should've known that people would integrate their project with others. Why didn't phpBB call it $phpbb_db instead of $db? Edge case, move on. -- Chris Hartjes Senior Developer Cake Development Corporation My motto for 2007: "Just build it, damnit!" @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
