• 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: Wonder prototypes docs ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wonder prototypes docs ?


  • Subject: Re: Wonder prototypes docs ?
  • From: Mike Schrag <email@hidden>
  • Date: Tue, 2 Dec 2008 20:31:31 -0500

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Wonder prototypes docs ?
      • From: Don Lindsay <email@hidden>
References: 
 >Wonder prototypes docs ? (From: Simon McLean <email@hidden>)
 >Re: Wonder prototypes docs ? (From: Ramsey Lee Gurley <email@hidden>)

  • Prev by Date: Re: captcha ???
  • Next by Date: Adding a ID Attribute to a (ER)D2W Component
  • Previous by thread: Re: Wonder prototypes docs ?
  • Next by thread: Re: Wonder prototypes docs ?
  • Index(es):
    • Date
    • Thread