Re: One app, multiple databases?
Re: One app, multiple databases?
- Subject: Re: One app, multiple databases?
- From: Sacha Mallais <email@hidden>
- Date: Wed, 15 Jun 2005 13:24:14 -0700
On Jun 15, 2005, at 12:55 PM, Rams wrote:
Is it possible to create one WO app and have it access different
databases based on the client? For instance, I would like to
create a point of sale (POS) app. Different clients have different
inventory requirements and would obviously like their own
database. Someone selling stationary needs different inventory
information than someone selling pets, automobiles, clothing, or
whatever.
The difficulty is having multiple databases' tables map to the
entities in a single model. WO don't play dat.
Ideally, I'd like the client to be able to dictate what inventory
information they would like to store and then be assigned their own
database for inventory without much intervention on my part. Is
there any way to do this with WO?
The catch is "assigned their own database". The rest is easily
possible within a single application.
If you must force WO to dynamically create databases and EOModels
that models those databases, then you might look at dynamically
creating EOModels and EOEntities (perhaps subentities of existing,
abstract entities).
sacha
_______________________________________________
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