Wednesday, January 18, 2006

Abstract Platforms & Interaction Design

I'm busy reviewing some journal papers, and (without pre-empting the contents) it's got me thinking.

There always seems to be a tension in MDD/MDA when designing abstract interactions. Some approaches assume that it's best to expose only the kinds of interactions available in a class of platforms in the PIM modelling language: e.g. "sychronous call" in the modelling langauge represents "method call" and "operation invocation", and other kinds of synchronous calls that behave much the same. Similarly, "async message send" can represent "oneway operation", "queued message", etc.

Other approaches like to have more abstract interactions in the PIM modelling language, and then map or refine these into more complex interactions in a lower level model, until finally the constructs in the implementation language can be used directly. It allows for an abstract design to be implemented in more diverse ways, on more classes of platforms. e.g. an interaction can be designed that results in values being shared by two or more components in the system without specifying who initiated the interaction, or how many messages are passed, or whether they are synchronous or asynchronous. This seems to me to be a better approach as it frees the designer from the fairly rigid paradigms imposed by platforms such as Java remote method calls, MOM, etc, while still allowing any of these platforms to be used for implementation (within limits - hopefully well specified or easily discoverable).

BUT, the drawback of this approach is that when one of the established platform paradigms (like transactional method call with user-defined and systems exceptions) is actually exactly what the designer wants. I'm talking about when its properties are what's needed by the application domain, not because the style of interaction is necessarily available in the target platform. In this case the abstract interaction paradigm is usually a pain in the butt, as a complex arrangement of messages and constraints on those messages is needed to "simulate" the required interaction.

The solution seems to be to allow patterns of simple abstract interactions which are equivalent to the common platform interaction constructs to be available as templates in the abstract language, so that (a) the designer who knows what they need can call it by name, and use it without construction from primitives, and (b) easy, reusable, perhaps formally proven, mappings can be made available to platforms that support this construct natively. And that (c) more complex, reusable, perhaps formally proven, mappings are available to platforms which do not support it natively. (And perhaps additional well-formedness rules that must apply to the abstract design need to be applied when the non-native mappings are used).

In short, let's not throw out the well-understood interactions styles that are directly implemented in some concrete platforms when we introduce abstract platforms, because sometimes they are an exact match for the semantics of the application.

1 Comments:

At 10:17 am, Anonymous Anonymous said...

You're von ver gran http://startso11.info/.cda.pl.html rascal to swindle me out of de l'argent.. But what occurrence http://startso11.info/tanie.html has given rise to this dream? I ask.. Then he looked around for his hat, discovered it in time, took it into his hands, turned it around two or three times, then, bidding good-bye without http://startso11.info/paroksetyna.html shaking hands, took himself off.. As he turned into the brilliantly lighted street from the somber alleyway of the http://startso11.info/gierk+idla+dziewczynek.html stage entrance, he paused for a moment to glance at his own name, in three-foot letters of red, before the doors of the theater.. The widow was mad all over that Squire Hopkins should take such http://startso11.info/ogrody+publiczne+w+19+wieku.html a mean advantage of his rival.. I have a lurking suspicion that Leonidas http://startso11.info/PowerArchiver+10.0.html W.. It seems that my http://startso11.info/szkolenia+wyst%C4%85pienia+publiczne.html book didn't lie, after all.. But he had not forgotten his compact with his friend, and in the course of a week he http://startso11.info/dvd+player.html wrote to Podington, inviting him to spend some days with him.. On approaching the plaintiff, however, he himself slipped a love-token upon the plate and pushed it towards http://startso11.info/Joanna+J%C4%99dryka.html her.. They tell me he used sometimes to sit there for the whole day, his great, soft, brown eyes fastened upon the sea, watching the specks of sails that flashed upon the horizon, while the evanescent expressions chased each other over his placid face, as if it reflected http://startso11.info/www.spolszczeniagier.orge.pl.html the calm and changing sea before him.. The bigness of the bed reminded Miss Little-Would-be-Big only too forcibly of her http://storyah44.info/pkp-wroc%C5%82aw.html smallness.. It was obviously financial considerations which had moved the lady to refuse the proposal of the directress, and which were answerable for the triviality of the amount in the http://startso11.info/tele+tv.html dream.. Her daughter having completed her education at the best boarding-school in Philadelphia, and her son being about to graduate at Princeton, the mother had planned with her children http://startso11.info/terminator.html a tour to Niagara and the lakes, returning by way of Boston.. Let me stop an instant http://startso11.info/kramik+oglosze%C5%84.html more, however, to recall, were it only to myself, that charming year while all was yet well.. Hotchkiss, he suggested, http://startso11.info/tahograf.html politely.. The two women were walking off toward our view, http://startso11.info/HYDROIZOLACJE+BITUMICZNE.html each with an arm about the other's waist--touched by a sudden sisterhood of sympathy.. All the peculiarities of dream life are explicable as the incoherent effort, due to http://startso11.info/klima+polska.html some physiological stimulus, of certain organs, or of the cortical elements of a brain otherwise asleep.. Oh, you poor, http://startso11.info/nikt+nic+nie+wie.html dear, silly children! my wife cried, as Mrs.. Nobody knows what people will do in http://startso11.info/moje+prezentacje.html Harlem.. The adult has learnt this differentiation; he has also learnt the futility of desire, and by continuous practice manages to postpone his aspirations, until they can be granted in some roundabout method by a change in http://startso11.info/www+martam802.fotka+pl.html the external world...

 

Post a Comment

<< Home