Wiki source code of Best Practices-Model

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

Hide last authors
Theodore Petrosky 14.1 1 {{warning title="In construction"}}
Theodore Petrosky 16.1 2
3 This chapter is under construction. Do not expect it to be useful... yet! :)
4
Theodore Petrosky 14.1 5 {{/warning}}
6
arroz 22.1 7 = Model =
8
9 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).
10
11 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.
12
arroz 20.1 13 prototypes
Theodore Petrosky 14.1 14
arroz 20.1 15 eogenerator
Theodore Petrosky 14.1 16
arroz 20.1 17 to-many relationships