Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:13Length:2.5 hours
Crs 85492
  • Overview
  • Transcript

2.3 Publish/Subscribe

The Publish/Subscribe pattern is very common in JavaScript because the language is evented in and of itself. You use it all the time with jQuery, didn’t you know? Its detached nature allows you to keep your logic clean and the remaining actors in your system in their place.

In this lesson you learn how the pattern works and how to implement it so you can separate concerns easily, as well as reach out to components in your system that you couldn’t otherwise.