Best Practices-Model

Version 22.1 by arroz on 2007/12/20 11:21

Warning
In construction

This chapter is under construction. Do not expect it to be useful... yet! emoticon_smile

Model

One of the greatest things about WebObjects is the Enterprise Objects Framework (EOF) that handles all your data management. More than 10 years old, it's still one of the most powerful OR mapping tools available, if not the most powerful. It even inspired Code Data, an EOF clone used in the Mac desktop for all the data handling an application needs, introduced in Mac OS X Tiger (10.4).

One great feature of EOF is data modeling. EOF allows you to define your data model in one or more Model files that are contain all the information needed by the application to, in run time, access the database to create, search and delete your data. Here we'll see some useful advices about data modeling and Model file creation.

prototypes

eogenerator

to-many relationships