Comparison between data processing and Event Processing

Source: Internet
Author: User

Comparison between data processing and Event Processing

Process the returned data Capture (process) Send back events
Time First After
Implementation Interface Iposbbackdatahandler Ipostbackeventhandler
Uniqueid name feature Yes Yes
Update Status Loadpostdata () None
Page framework Call Notification Method Raisepostdatachangedevent Raisepostbackevent

page framework
1. Sending Back
2. The page framework searches for the uniqueid value of the server control that implements ipostbackdatahandler in the sent content.
3. the page Framework calls loadpostdata on the control that implements this interface in sequence.
4. loadpostdata updates the control status and determines the changes
5. the page framework traces all controls that return true and calls raisepostdatachangedevent on these controls to trigger a change notification.
6. the page framework searches for the sending name corresponding to the uniqueid of the server control implementing ipostbackeventhandler in the sent content. (This step may be executed together with step 1. I am not quite clear about the detailed process. If you know, I would like to thank you very much for replying below :))
7. the page Framework calls the raisepostbackevent method of the control corresponding to the name (Note: This step is executed after Step 1 is completed)
8. the raisepostbackevent method triggers an event ( On eventname )

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.