• 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: Framework EOModel Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Framework EOModel Question
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: EOModeler Problem
  • Next by Date: Re: Too many open files killed xServe from the net
  • Previous by thread: Re: EOModeler Problem
  • Next by thread: Re: Framework EOModel Question
  • Index(es):
    • Date
    • Thread