Colon Class § 3.4: event-driven

Source: Internet
Author: User
Tags sleep

General paradigm of the third lesson (4)

3.4 Event Driver--I'll call you, okay, leave me alone.

The man who Tengwen, the laborer governs the man--on Mencius '

Keywords: programming paradigm, event-driven, callback function, FRAMEWORK,IOC,DIP, observer mode

Absrtact: A brief talk on event-driven programming

? Questions

What is an event? What are the different types of events?

What is a callback function? What is asynchronous homology? What's the use of them?

What is the purpose of control reversal? How is it implemented? What is the role of the framework design?

What are the common features of the control reversal, the dependency reversal principle and the dependency injection?

What are the key steps in event-driven programming?

What are the characteristics and functions of asynchronous processes?

What are the most important features of event-driven programming? How are they implemented?

What is the relationship between event-driven and observer mode, MVC model?

: Explain

The comma gradually felt the sleeping worm on the brain and began to nod his eyes. On the occasion of the journey, suddenly feel a vaporizing waist between. Asleep eyes are slightly open, the original is to be stabbed with the elbow of the quotation mark, immediately alert. Looking up at the platform of the old confusedly staring at himself, can not help cheeks slightly hot, said: "Sorry, last night to sleep too late." ”

The colon does not think: "is anxious to find a new topic, you pour inspired me." There are probably three ways of sleeping in class--"

The voice has not fallen, someone has not been laughing.

"The first is the alert type: Want to sleep but also worry about being found by the teacher, and constantly open eyes to see the changes around." At the same time the two ears remain alert, a different movement immediately upright body. "The colon is rhythmic," the second is soothing: to sleep at the table, as in unhindered. The realm to the high may be shine, or may be pigs. ”

"It's very shocking anyway." "The Internet new language of the exclamation mark again triggers laughter.

The colon continues to analyze: "The third is the entrusted type: Please stand sentry, not anxious don't disturb." Then no scruples, big can seal eyes down ears, sleep at ease. Which way would you be willing to take? ”

"The first way to sleep is not practical, the last resort." People who dare to use the second method are mostly heartless, and it is estimated that the IT people can not reach that realm. As long as there are companions around, I think everyone will choose a third way. The answer to the full stop was unanimously agreed.

The colon continued: "OK, put aside the second way, why is the third one superior to the first?" ”

The full stop replied: "Sleepy people have to nap and vigilance, must be miserable." If the task of the vigilance entrusted to the partners, two people division of work, natural happy much. ”

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.