I recently published the code behind the event-driven reactive programming examples on the Composed System Bitbucket page under the project name Stream. Stream is open source and if you are interested in collaborating on it let me know. Because the source code is now being hosted in a public repository I am going to remove the VIP from the Tools page on this blog, that VIP is already out of date so go to the Bitbucket page and get the latest version.
The version of Stream that you have access to on the Bitbucket page is two major revisions ahead of the original VIP that was downloadable on the Tools page of this blog. The first major revision fixed bugs in the original and also added supporting libraries for synchronous and asynchronous actor implementations, error handling, and logging. The second major revision added the ability to register as publishers and subscribers to streams by data type.
This video shows the mechanics of setting up a publisher and a subscriber using named topics with Stream. This is the method that all of my blog posts and example code has used up until now. This method relies on both the publisher and the subscriber knowing the name of the topic they want to register with and it also relies on both the publisher and the subscriber using the same data type, which is a form of semantic coupling.
This video shows how Stream now allows for publishers and subscribers to register using data type instead of topic name. I added this ability in an effort to loosen the semantic coupling between the producer and the consumer. This change is completely backwards compatible and you can upgrade to the latest version without breaking any existing code.
That's all I have for this post, just a quick update on registering by data type and an announcement that the code base has been open sourced and is being hosted on the Composed System Bitbucket page. If you are interested in collaborating please contact me; you can get in touch with me through the Contact page on this blog site, or through the Composed Systems website, or any of the many social media outlets we both have access to, get creative.
Jon McBee is the Founder and Managing Partner at Composed Systems and is a Certified LabVIEW Architect, Certified LabVIEW Embedded Developer, Certified TestStand Developer, an NI Certified Professional Instructor, a LabVIEW Champion, and a Certified ScrumMaster