>check the book re useDbConfig; follow a tutorial
> demonstrating how to use the test suite. with that your question
> regarding db config should be resolved

I just checked on: 3.7.8.1 useDbConfig.

There isn't a tutorial on how to use the test suite.


On Dec 25, 4:32 pm, John Maxim <goog...@gmail.com> wrote:
> Hi euromark, thanks I'm going to abstain from judging which is better,
> but let me do with the more common one first..
>
> Hope that more veterans could rate this thread so we can know which
> may be the better way. Anyway, it's good enough to work on one method
> first.
>
> On Dec 25, 10:50 am, euromark <dereurom...@googlemail.com> wrote:
>
> > @john
>
> > its not a hack - not even closely
> > its a valid and in my opinion very well working strategy which worked
> > for several years
> > and several apps which repeatedly need updates and stuff.
>
> > in the end its sth you need to decide for yourself
> > it also depends on the way you are deploying your apps.
> > in my case this is the best approach.
> > in other cases it might (as the others suggested) be less appropriate.
>
> > so it was more like a suggestion than a "do it this way - its the only
> > way" :)
>
> > as a last word one example for the config and config_private settings
> > and why this is useful:
> > you always have a default set of configs in svn.
> > if you would work with a single config file you might lose the
> > information like
> > §config = array('x'=>.., 'y'=>..., 'z'=>...)
> > or at least you might forget about some keys
>
> > for example if your PC crashes
> > or you check out your rep on a different computer
>
> > if you use a default config with empty values you can simply copy it,
> > save it as config_private
> > and you can override the empty strings with the real stuff.
> > Nothing can be forgotten (and this can easily happen with larger
> > config files!).
>
> > Either way: Find your own style here :) I did it the hard way as well
>
> > On 24 Dez., 17:01, John Maxim <goog...@gmail.com> wrote:
>
> > > Hi AD, Thanks for commenting. It makes it clearer that now your
> > > suggestion seems to be same as Stephen's. I don't have to fret which
> > > other methods are better. But thanks too euromark, I'm just not good
> > > at hacking.
>
> > > >check the book re useDbConfig; follow a tutorial
> > > > demonstrating how to use the test suite.
>
> > > Is the book above the cookbook 1.3 or somewhere else ?
>
> > > On Dec 24, 9:39 pm, AD7six <andydawso...@gmail.com> wrote:
>
> > > > On Dec 24, 2:19 pm, euromark <dereurom...@googlemail.com> wrote:
>
> > > > > "but obviously you've already managed to mix your environment's data"
> > > > > that was before I wrote my little addons :)
>
> > > > > wrong! i do have different salts.
> > > > > i just use a specific config_private (as explained somewhere in this
> > > > > article) which
> > > > > overrides the defaults.
>
> > > > I do not think it better or easier to have database (all) + config
> > > > (all) + config_private (install specific) + bootstrap (all)
>
> > > > instead of database (install specific) + config (install specific) +
> > > > bootstrap (all)
>
> > > > I also don't see how your post is really relevant to John Maxim's
> > > > question.
>
> > > > in any event - if you're happy keep doing it, but I would bet over
> > > > time you conclude as I did it's not a good idea/technique.
>
> > > > John Maxim:
>
> > > > create sepearte apps which use seperate dbs, not one app where you
> > > > test everything; check the book re useDbConfig; follow a tutorial
> > > > demonstrating how to use the test suite. with that your question
> > > > regarding db config should be resolved.
>
> > > > hth,
>
> > > > AD

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to