devopera icon indicating copy to clipboard operation
devopera copied to clipboard

Article about the observer - pub/sub design pattern using Javascript

Open gosukiwi opened this issue 11 years ago • 5 comments

Hello! I can't seem to find an article talking about this particular topic, and I'd like to talk about it. It's one of the most used design patterns in Javascript yet surprisingly not many people use it.

Cheers!

gosukiwi avatar Jun 14 '14 16:06 gosukiwi

Sorry for the late reply!

Can you provide us with a suggested outline of the article, so we can further discuss? Thanks :)

andreasbovens avatar Jul 02 '14 15:07 andreasbovens

Sure! You can see the outline in this gist. :smile:

gosukiwi avatar Jul 03 '14 20:07 gosukiwi

Sounds good. It would be interesting to have an article on PubSub, how to recognize it, and show how the same thing can be achieved with Promises as an intro to them. Would you be up for that?

mathiasbynens avatar Jul 14 '14 14:07 mathiasbynens

Sure :smile:! I'll do my best to cover those topics as clear as possible. Cheers!

gosukiwi avatar Jul 14 '14 15:07 gosukiwi

Closing as per https://github.com/operasoftware/devopera/pull/145#issuecomment-52461092

andreasbovens avatar Oct 01 '14 09:10 andreasbovens