Re: Framework EOModel Question
Re: Framework EOModel Question
- Subject: Re: Framework EOModel Question
- From: LD <email@hidden>
- Date: Thu, 4 Aug 2005 14:20:57 +1000
Hi there,
On 03/07/2004, at 6:11 AM, Hunter Hillegas wrote:
On Jul 2, 2004, at 1:01 PM, Chuck Hill wrote:
On Jul 2, 2004, at 12:52 PM, Hunter Hillegas wrote:
I have a question regarding EOModels in reusable frameworks...
So, if you plan to write a framework that contains EOs and you
plan to re-use it in many applications... How do you usually
manage the EOModel? Since the database will be different for each
application... What is the best practice here?
Keep the DB connection information in a properties file at the app
level. Update the models automatically on load. See code on
www.wocode.com or in Project WONDER for this.
Right on. For anyone else looking, here is the URL:
http://wocode.com/cgi-bin/WebObjects/WOCode.woa/wa/ShareCodeItem?
itemId=216
That's helpful... but how do you create a framework that will make
sure a specific db plugin framework, for example, is utilised when
included in a project (that should be agnostic about the underlying db)?
I've built a framework that has the EOModels and the
EOEnterpriseObjects for these. I'm currently using a
PostgreSQLPlugin.framework but aren't sure about how make sure this
framework is referenced when my model framework is included in a
project. Any ideas?
Thanks.
with regards,
--
LD
_______________________________________________
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