Note that there are some explanatory texts on larger screens.

plurals
  1. POAccessing development , testing sites using different DB in Zend framework
    primarykey
    data
    text
    <p>Hi Zend framework guys, </p> <p>I have a question for you :</p> <p>There is production , development , testing etc that we can set . </p> <p>I assume we have 3 different db for these .</p> <p>But I have a doubt how do we access the url for testers and developers ?</p> <p>Do we need to pass as a GET value and set whether its development , or for testing ? Or is there any other way ?</p> <p><a href="http://localhost/" rel="nofollow noreferrer">http://localhost/</a> is the url and I am the developer who uses it, How do we give the url for testers ? I am not a server admin , so if you guys have some other techniques using the same code base ?</p> <p>Or do I want to have 3 code base itself for testing , development , production etc . For production its OK :) , but just an example .</p> <p>The question was asked by some of my friends when I introduced them #ZF , but I was not sure whether I am right when passing it as a GET value and setting it .</p> <p>ie like site/?version=dev or something like that :) . If you have an answer I love to hear . </p> <p>Edit : </p> <p>I was looking for a way like @David Weinraub says "Are you saying you want to use a single virtual host, a single location, but be able to force the execution context into dev, testing, production mode? That's kind of unusual."</p> <p>Answer by @Iznogood is also right . But I was looking for a way @David Weinraub says . So marking it as correct for its a kind of unusual.</p> <p>Thank you guys for your helps.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload