Build Reliable SIlverlight Apps With Optimistic Locking(gen5.info)
submitted by
paul_houle(435) 4 years, 1 month ago
I’m in the middle of updating my Silverlight code to use asynchronous HTTP requests — fortunately, I spent last summer writing a GWT application, where HTTP requests have always been asynchronous, so I’ve got a library of patterns for solving common problems.
For instance, suppose that you’re doing a search, and then you’re displaying the result of the search. The most reliable way to do this is to use Pattern Zero, which is, do a single request to the server that retrieves all the information — in that case you don’t need to worry about what happens if, out of 20 HTTP requests, one fails.
Sometimes you can’t redesign the client-server protocol, or you’d like to take advantage of caching... read more...
|category: Silverlight
|Views: 11
tags:
Silverlight another
Everyones tags:
Your Tags: