That's because he's now the Knight of the Axe! That changes everything! 

----- Mail original -----

De: "Philippe Rabier" <[email protected]> 
À: "David Avendasora" <[email protected]> 
Cc: "WebObjects-Dev Mailing List List" <[email protected]> 
Envoyé: Jeudi 17 Avril 2014 11:14:02 
Objet: Re: Mixing and matching prototypes 

I think there was a big lie at the last WOWODC: the first session was about how 
to write code clean in order to be read by a simple developer like David A. 

I trusted you but I'm not sure now you are what you said ;-) 

Philippe 
--------------------- 
http://twitter.com/prabier 

Sent from my iPhone 

On 16 Apr 2014, at 21:11, David Avendasora < [email protected] > wrote: 




Hey Ted, 

Create a new EOModel named anything you want, I suggest something with 
“Prototypes” in the name, but really it can be anything. 

The key is having one Entity named EOJDBCPrototypes that has default values 
that should work for any JDBC database. If you don’t have that, I don’t think 
EOF will recognize the Model as being a prototypes model - but I may be 
misremembering something I read in the EOModeler documentation 10+ years ago. 

Anyway, you now want to create one prototype “Entity" for each database 
platform you use - named just like they are in erprototypes: 

EOJDBCPostgresqlPrototypes 
EOJDBCOraclePrototypes 
EOJDBCFrontBasePrototypes 
etc. 

Then you can copy-paste any prototype “attributes" from the erprototypes model 
and modify them as you need (or to fix them). Make sure you create equivalent 
ones in each of your prototype “Entities”. 

Just keep in mind that if you do this, and you also use any other models that 
make use of erprototypes, you will run into the problem Hugi is having. You 
will need to use the properties in ERXModelGroup to tell EOF which prototypes 
to use with which EOModel, otherwise either your model or the wonder model will 
complain that it’s prototypes are missing. 

Good luck! I’l try to turn this into a Wiki entry in the next couple days, but 
this should get you there! 

Sir Dave 


On Apr 16, 2014, at 6:08 PM, Theodore Petrosky < [email protected] > wrote: 


<blockquote>
So, what file do I need to copy/edit to create my own prototypes? 




————————————————————————————— 
WebObjects - so easy that even Sir Dave Avendasora can do it!™ 
————————————————————————————— 
Sir David Avendasora 
Senior Software Abuser & Sock Chopper 
Nekesto, Inc. 







_______________________________________________ 
Do not post admin requests to the list. They will be ignored. 
Webobjects-dev mailing list ( [email protected] ) 
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/webobjects-dev/prabier%40me.com 

This email sent to [email protected] 

</blockquote>

_______________________________________________ 
Do not post admin requests to the list. They will be ignored. 
Webobjects-dev mailing list ([email protected]) 
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca 

This email sent to [email protected] 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to