Re: synchronizing models
Re: synchronizing models
- Subject: Re: synchronizing models
- From: Kushnir Gennady <email@hidden>
- Date: Wed, 3 Aug 2005 17:22:49 +0400
Is it a good idea to install xCode on xServe where my app is going to
be deployed and to create deployment bundle on it?
Also i've bumped into problems trying to connect to MySQL database.
Something with permissions.
Is it possible to use OpenBase installed with WODeveloper for
deployment tasks?
What are the limitations of this developer version compared to full
featured OpenBase?
Gennady
On 03.08.2005, at 16:23, Guido Neitzer wrote:
On 03.08.2005, at 13:44 Uhr, Kushnir Gennady wrote:
When developing my applications i use OpenBase installed on my mac
along with WO Developer.
However when deployed my app should interact with MySQL installed
on XServe.
Why do you do this? MySQL is free and no hazzle to install on any
Mac OS X box. You definitely should consider using the same db in
development as in deployment for various reasons.
I had some headache
If you must switch, you can use prototypes. That's the best way to
handle this problem.
And I also have to perform schema synchronization in case I'd
altered database schema.
What do you expect? Magic? There is no need for synchronisation
(which doesn't work very well), if you alter your model, apply the
changes with standard sql on your dev box, write down everything
that is needed to alter the production database and apply this
changes when you deploy a new versin of your app.
You may have a look at:
<http://www.stepwise.com/Articles/2005/DBChanges/index.html>
Moreover when trying to deploy on non Mac OS environment there is
no woa bundle but single jar file how to alter model in it.
You should deploy with a correcct model file, and not alter the
file. There are other solutions, like changing the connection
dictionary and prototypes at runtime.
If you don't have it, you should give Chuck Hill's book a try.
cug
_______________________________________________
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