-
April 11th, 2022, 10:08 PM
#1
Angular Frondend app with multiple 'decoupled' modules
Hi, from the documentation I'm having difficulty understanding the relationships between subscriptions, topics, items, fields, etc. We have a typical scenario.
- An Angular app ('parent') with various modules all written by one group of developers.
- This parent app subscribes to ONE topic. here's psuedocode:
- const client = Lightstreamer.LightstreamerClient(lsServer, adapterSet)
- ....client.xxx = yyy, etc
- const item = 'json::: + strTopic + '::::${some string} + user + '\')
- const subscription = new Lighstreamer.Subscription('RAW', [item], '['Body']);
- ....
Now add a NEW LAZY LOADED module ('child') that is built by another group of developers which has it's own topic/subscription (which?requirement with a different data structure and subscription/topic(?)
Question: what are the minimum maximally decoupled lightstreamer steps, the child must carry out to get the resources to the get new topic info? please consider two possibilities:
- IDEAL: the child is not aware of the parent lighstreamer resources so needs access to them somehow to avoid duplication and then carry out getting new topic info OR
- OK: the parent and child share a minimal state service where the parent can share minimal info with the child while maintaining maximum decoupling and maximizing resource use (no new sockets, etc)
Thanks!
Last edited by Megabyzus; April 11th, 2022 at 10:30 PM.
Similar Threads
-
By mhasan in forum Client SDKs
Replies: 27
Last Post: October 21st, 2020, 10:30 AM
-
By mhasan in forum General
Replies: 6
Last Post: July 11th, 2016, 09:27 AM
-
By stephenallred in forum General
Replies: 3
Last Post: August 16th, 2011, 10:39 AM
-
By atamel in forum General
Replies: 3
Last Post: August 9th, 2010, 02:09 PM
-
By kirthin in forum General
Replies: 1
Last Post: November 18th, 2009, 09:44 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 02:04 AM.
Bookmarks