This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Client callback or polling should be done in processing layer or interaction layer or both layers?  RSS feed

 
Himai Minh
Ranch Hand
Posts: 1563
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Ivan's notes, p.403, session title "Design an asynchronous document style web service", there is a flow chart diagram showing that the processing layer delegates the interaction layer, which determines if a client call back or polling is necessary. So, from this diagram, the interaction layer does the client callback or polling.

But on p.404, Ivan's notes says "Another way of showing the same thing...." (a sequential diagram), the diagram shows that the client polls response from the interaction layer. Or, the processing layer callback the client.

So, which diagram should I follow?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!