Re: Wonder prototypes docs ?
Re: Wonder prototypes docs ?
- Subject: Re: Wonder prototypes docs ?
- From: Don Lindsay <email@hidden>
- Date: Wed, 3 Dec 2008 13:59:14 -0500
Hello;
I had submitted a new ER prototypes with several new database types
about 6 months ago. I was just wondering, will the updates I sent be
included in an upcoming release?
Don
On Dec 2, 2008, at 8:31 PM, Mike Schrag wrote:
There's not anything particularly different or special about
Wonder's prototypes that I know of... they're just pre-configured
prototypes for several different databases. That makes them
incredibly convenient. How to use prototypes in general is
documented here:
There are two special things, really -- one is really a WOLips
"special" and the other is really more of just how Wonder TREATS
prototypes more than specifically something about ERPrototypes. In
WOLips, if you ERPrototypes, WOLips will do some things
automatically for you. For instance, it will automatically add your
PK with a prototype "id" (and I think there are a couple other
niceties inside of Entity Modeler, but I can't recall them
offhand). As far as how Wonder uses prototypes differently, Wonder
(and now 5.4) have vendor-specific prototypes, meaning you can
define EOJDBCFrontBasePrototypes (or is it
EOFrontBaseJDBCPrototypes ... I never remember) and Entity Modeler
and the runtime will automatically "do the right thing" with those.
Wonder also does load-time prototype flattening, meaning it takes
the attributes of the prototype and pushes them into your entities
at model load time, which allows you to use the same set of
prototypes for multiple databases in a single app. I actually don't
know how 5.4 behaves with this -- it's possible that they wire this
behavior in as well given that they are down inside of EOAttribute
(we weren't at the time and so it was difficult to resolve these
dynamically).
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@mac.com
This email sent to email@hidden
_______________________________________________
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