An Example of Layers

Tne provider of user software has multiple layers to choose from in deciding what the end user "sees" as the data.

As an example, suppose we supply S users a function that extracts data from the call-detail database:

> calls("908 273")  # calls from 908-273 exchange
Transparently to the user, what's actually happening is the invocation of a Corba method providing access to the call-detail database. We may want to think of the object returned by the calls function in different ways:
 o a result set
i.e., the Corba object satisfying the query; this can happen automatically, via dynamic discovery. No work by the designer needed.

 o a data frame
the object the user expects, for example, if the result was an argument to a modelling function:
  lm(Duration ~ Type + Start, data = calls("908 273"))
    

What work has to be done, and by whom, so the user can transparently pass the object to other S functions?

Different Solutions A Proposal Start
Last modified: Mon Jul 6 13:39:36 EDT 1998
© Lucent Technologies.