|
|
1.1 root 1: {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;\f1\fmodern Ohlfs;}
2: \paperw11440
3: \paperh11780
4: \margl120
5: \margr120
6: {\colortbl;\red0\green0\blue0;}
7: \pard\tx1600\tx3200\tx4800\tx6400\tx8000\tx9600\tx11200\tx12800\tx14400\tx16000\f0\b0\i0\ulnone\fs72\fc0\cf0 DataSource.app\
8:
9: \fs24 SHL Object Technology Center\
10: e-mail: [email protected]\
11: \
12: \
13: \
14:
15: \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\b\fs36\fc0\cf0 Overview
16: \b0\fs24 \
17: \
18:
19: \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\fc1\cf1 This example demonstrates how you can implement a custom data source by creating an object that conforms to the EODataSources protocol. From an EOController perspective (UI layer), a persistent store (ie. a database) is not required, just an object that conforms to the EODataSources protocol. Thus you can take advantage of the features found in EOController (buffering, undo, etc) without having a real database by implementing a custom data source.\
20: \
21:
22: \fc0\cf0 NEXTSTEP 3.2 and EOF Release 1.0\
23:
24: \fc1\cf1
25: \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc1\cf1 \
26: \
27: \
28:
29: \b\fs36 Program Organization
30: \b0\fs24 \
31: \
32:
33: \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\i\fc1\cf1 Important Files
34: \i0 \
35: \
36: DataSource.[hm] conforms to the EODataSources protocol.\
37: Motorcycle.[hm] is the class of objects provided by the data source.\
38: Images (folder) contains some motorcycle images you can use for inserts / updates.
39: \pard\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-1900\li1900\fc1\cf1 \
40:
41: \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\fc1\cf1 \
42:
43: \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc1\cf1 \
44:
45: \b\fs36 Revision History
46: \b0\fs24 \
47: \
48: June 94 Version 1.0.\
49:
50: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.