Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

What You Have Learned

In this lesson, you have:

  • Learned the benefits of loosely coupled architecture (pages 258259)

  • Dispatched events (pages 259263)

  • Declared events for a component (pages 263265)

  • Identified the need for your own event classes (pages 265266)

  • Created and used an event subclass (pages 266270)

  • Learned about event bubbling (pages 270275)

  • Created the ProductEvent class (pages 276281)

  • Used ProductEvent to add and remove a product from the cart (pages 281283)

  • Used CollectionEvent to update the cart total (pages 283285)


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial