publisher/subscriber pattern


Author
Message
Larry Caylor
Larry Caylor
StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K
Have you considered implementing a publisher/subscriber pattern in the framework? For example, in your sample application I would like the Order Entry form to be able to subscribe to a customer change on the Customer Maintenance form that would allow the Order Entry form to update itself to reflect that change.
Reply
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
The framework doesn't have that pre-plumbed, but we engineered all of the hooks to be event-based rather than method overloads, so you can attach to them from anywhere rather than only within the business objects. So, your OrderEntry business object could attach to an event on the CustomerMaintenance form or to a business object on the CustomerMaintenance form and should be able to achieve exactly what you're after.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search