Jump to content

Posting Class State via Notifier


Recommended Posts

I've been using notifiers lately to post the state of a class throughout the application. This has become a very easy and convenient way to create some basic user interfaces and share class data asynchronously.

Just wondering if anyone else uses this technique (or User Events)? Any pitfalls?

Link to comment

Used to do so back in 2006. Worked, but didn't scale well beyond two modules in one app, for various reasons. Learned a lot since then about scaling up dataflow. Generally dropped the technique entirely these days -- avoiding anything that even remotely smacks of sharing state data anywhere in strong favor of message passing systems that scale much better in my experience.

http://ni.com/actorframework

But the notifiers are a reasonable starting point for exploration.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.