The message-passing tag has no usage guidance.
14
votes
6answers
5k views
Merits of a “Message Passing” system vs. an “Event Based” system
My question is coming from an somewhat uneducated perspective.
What are the relative merits of a "message passing" system vs an "event based" system.
Why would one choose one over the other? What ...
4
votes
4answers
482 views
Design pattern for bidirectional signals/events
This problem feels rather basic, yet I've never known a great solution. I'm looking for a way for components in an application to notify each other while being as decoupled as possible (both at ...
3
votes
2answers
1k views
Entity-Component-System architecture: interaction between systems
I am studying the Entity-Component-System architecture philosophy. As I have read about it, a typical entity system has:
1) Entities - which are merely ID tags which have a number of components
2) ...
2
votes
1answer
91 views
Message Passing: How to detect and/or handle “dead ends”
I'm playing with a mental model for distributed actor system that communicates using messages. In this, it is possible for an actor to create another actor. I've encountered one specific situation ...
2
votes
1answer
271 views
Objective C - nested messages … confusion about
Wonder if anyone could shed some light on this messaging construct:
The documentation says that messages appear btwn brackets [] and
that the msg target/object is on the left, whilst the msg itself ...
2
votes
1answer
280 views
UI message passing programming paradigm [closed]
I recently (about two months ago) read an article that explained some user interface paradigm that I can't remember the name of and I also can't find the article anymore.
The paradigm allows for ...
1
vote
1answer
1k views
How to implement session state in a backend web application?
When using a non-MVC service-oriented/Interactor pattern approach to decoupled system architecture, how is session state implemented?
I've been thinking of building the frontend of an application ...
1
vote
1answer
261 views
how to decide when to use database replication vs. custom REST applications vs. message brokers (pub / sub)
We have a distributed solution that's currently under design. There are a few points of integration where some application needs data from someone else and vice versa. We could solve by either ...
1
vote
1answer
323 views
Alan Kay: “The Big Idea is Messaging” [duplicate]
Alan Kay said "OO" was about messaging, not objects and drew a parallel to biological cells.
His views are enticing, but vague. The way I understand it is something like a Cellular Automata.
In a ...
0
votes
4answers
672 views
Objective-C message passing related queries
I am learning objective-C after having good knowledge of C/C++. I have 2 questions:
Are Obj-C message passing and C++ vtable, two different ways of implementing polymorphism or Are they two very ...
0
votes
1answer
249 views
In objective C, where does the inheritance chain end? [closed]
In objective C, classes are objects, but what object owns the class objects?
I am trying to get as detailed an understanding of iOS programming as I can, and this question popped into my head, so I ...
0
votes
2answers
169 views
Is often using int constants as parameters in communication between objects considered bad design?
An app I'm working on is designed with MVC. The components often interacts with each other by passing int constants, which then have to be interpreted with if statements. I'm wondering if this is ...
0
votes
1answer
105 views
Implement RPC via SIP
Look at the following use case.
I have a client (Java) application, which wants to get/set the state of another, remote application (C). The communication between them is done via SIP, which is run ...
0
votes
0answers
59 views
A layer of abstraction too far?
Using an enterprise service bus, a message translator pulls a message off the queue ready to be consumed by a service.
The translator picks up the message in a canonical data model (CDM) form and ...