← Prev in month ← Prev in thread
Next in thread → Next in month →

RE: [wsrp-wsia] [I#184] can performInteraction return new navigationalState?

From
Gil Tayar <>
Date
2002-12-15T07:05:04+00:00
ID
Thread
RE: [wsrp-wsia] [I#184] can performInteraction return new navigationalState?
I submit that it performInteraction shouldn't return new navState. It all 
comes back to the two things that differ between performBlockingInteraction and 
performInteraction:

 

1. In performBlockingInteraction, the Consumer cannot return anything to 
the client, as the Producer may request a redirect  - either directly using 
redirectURL or indirectly (for some Consumers) by changing the navigationalState 
or the window state.

2. In performBlockingInteraction, the Consumer cannot call other 
getMarkups until this call returns, as there may be 
side-effects.

 

In the F2F, I wanted two flags to separate these two "blocks" but it was 
felt (and I believe rightly so) that this would complicate things. It was 
believed (and rightly so) that the optimizations gotten by separating these two 
cases would not justify the complexity cost in understanding 
v1.0.

 

That is why I to make things simpler, v1.0 must not make the distinction 
between the two. This will make creating Producers simpler and more 
understandable (actually, this is the road I take in the 
Primer).

 

That is also why to make things simpler, v1.0 Producers must not try and 
understand the distinction between Consumers -

1. Those that use their URL to store the Producer's navigationalState, 
and those that don't.

2. Those that need to show a different page in response to a windowState 
change, and those that don't.

 

It should state clearly - the Producer must accomodate both by assuming 
that Consumers need redirects on response to a navigationalState/windowState 
change, and thus using performBlockingInteraction. The optimizations gotten by 
not doing this would, IMHO, bot justify the complexity cost in understanding 
(and implementing) v1.0 Producers.

 

Gil

  
-----Original Message-----
From: Gil Tayar 
  [mailto:]
Sent: Thu, December 12, 2002 
  19:41
To: 
Subject: 
  [wsrp-wsia] [I#184] can performInteraction return new 
  navigationalState?

Issue: 
  184
Status: Active
Topic: interface
Class: Technical
Raised by: 
  Gil Tayar
Title: can performInteraction return new 
  navigationalState?
Date Added: 12-Dec-2002
Document Section:   
  v0.85/5.3.1
Description:
-
← Prev in month ← Prev in thread
Next in thread → Next in month →