Hollywood principle

1,328 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,328
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Hollywood principle

  1. 1. Hollywood Principle Jun Hu 18-01-08
  2. 2. Don’t call us, we’ll call you
  3. 3. What’s the concept? <ul><li>Two step process: </li></ul><ul><ul><li>registration and callback </li></ul></ul>
  4. 4. So, what’s the concept? <ul><li>Registration </li></ul>
  5. 5. <ul><li>Callback </li></ul>So, what’s the concept?
  6. 6. <ul><li>Inversion of CONTROL </li></ul>What’s the big deal?
  7. 7. What’s the big deal?
  8. 8. What’s the big deal? <ul><li>Low coupling </li></ul>
  9. 9. Software engineer’s version <ul><li>Hollywood, Bollywood => Observable </li></ul><ul><li>Actors, actresses => Observers </li></ul>
  10. 10. Observer Pattern
  11. 11. Mathematician’s version
  12. 12. ?

×