Friday, 21 March 2014

When to Use the AJAX Toolkit



The following are examples of appropriate uses:

• Display or modify a single record.
• Display two or three fields from many records.
• Perform one or more simple calculations, then update a record.


The following are examples of scenarios that require case-by-case analysis:

• Update more than 200 records.
• Update records that are unusually large. For example, what happens if the user clicks the browser stop button?
• Recalculate a complex value for more than 200 records.



Valid reasons behind:

  • The larger the data set returned, the more time it will take to construct and de-construct a SOAP message, and as the size of an individual record gets larger, the impact on performance becomes greater.
  • Also, as more HTML nodes are created from the data, the potential for poor performance increases. Because browsers are not efficient, careful consideration needs to be given to browser memory management if you intend to display a large amount of data.



Quick Link to parent document: Working with the AJAX Toolkit

No comments:

Post a Comment

Thank you for visiting. Your comments are highly appreciated.