• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Connecting to deployment database for development/testing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Connecting to deployment database for development/testing


  • Subject: Re: Connecting to deployment database for development/testing
  • From: Paul Lynch <email@hidden>
  • Date: Tue, 28 Mar 2006 16:36:44 +0100


On 28 Mar 2006, at 16:23, John Huss wrote:

I was curious how most of you specify the URL of your database in
EOModeler.  Do you use localhost, etc, or the actual address of the
server?  What I mean is, do you connect to the production database
while developing and/or testing, or do you just use a local version?

I use the test database URL in the EOModeler (usually localhost, but not necessarily), and pass an argument to the app that I can read from Properties to set the connection dictionary for any different configuration; I'll merge dictionaries rather than replace them, but that is personal taste. I keep various connection dictionaries in plist format in Resources, which makes them easy to edit for deployment.


Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Connecting to deployment database for development/testing (From: "John Huss" <email@hidden>)

  • Prev by Date: Connecting to deployment database for development/testing
  • Next by Date: Re: Connecting to deployment database for development/testing
  • Previous by thread: Connecting to deployment database for development/testing
  • Next by thread: Re: Connecting to deployment database for development/testing
  • Index(es):
    • Date
    • Thread