• 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 16:15:54 +1000

Hi there,

On 04/08/2005, at 2:44 PM, Chuck Hill wrote:


On Aug 3, 2005, at 9:20 PM, LD wrote:


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)?


Simple, you don't. :-) The framework is db agnostic. The application (or classpath at least) can't be. Loading prototypes and the connection dictionary at runtime will allow your framework and application to run with multiple databases. But at runtime you either have to ensure the correct plugin is on the classpath or load them all. Which amounts to the same thing, I guess. Frameworks can't control the application's classapath beyond the jar files contained in the framework. You could, I suppose, embed the jar files for all possible plugins in your framework. Imagine how much fun keeping that system updated will be!



The framework isn't db agnostic (currently) because the EOModels in the framework are currently tied to postgres specific column attribute types. Any tips on making the models db agnostic?


I'm utilising the postgres 'serial' type for auto-incrementing primary keys... then there's timestamp types and so on...

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>
    • Re: Framework EOModel Question
      • From: Kieran Kelleher <email@hidden>
References: 
 >Re: Framework EOModel Question (From: LD <email@hidden>)
 >Re: Framework EOModel Question (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Framework EOModel Question
  • Next by Date: Re: A Case For Wonder/D2W (was: How would you handle such situation?)
  • Previous by thread: Re: Framework EOModel Question
  • Next by thread: Re: Framework EOModel Question
  • Index(es):
    • Date
    • Thread