An Example of Layers (cont)

The final result needed is to cast the selected data to the class required for model fitting (an S data frame, in this case). Where can the knowledge needed reside:

 o at the client application layer
the designer of the call-detail application could arrange to extract the data in an explicit way and create the object needed for model fitting.

 o at the client language layer
someone could design, for the S language, suitable coercion methods from the query result class to the classes needed. (Because S also has dynamic discovery of methods, the application could find the coercion automatically.)

 o at the server layer
if suitable standard class(es) exist, and the server includes methods to cast into those classes, the coercion can be fully automatic.

The first case requires re-coding for each client and server application; the second for each client language and each server application (e.g., again to import into a spread-sheet server); the third requires more work for many server applications but not for individual applications.

Back A Proposal Start
Last modified: Mon Jul 6 14:01:03 EDT 1998
© Lucent Technologies.