Results 1 to 10 of 21

Threaded View

  1. #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.

    1. An Angular app ('parent') with various modules all written by one group of developers.
    2. This parent app subscribes to ONE topic. here's psuedocode:
      1. const client = Lightstreamer.LightstreamerClient(lsServer, adapterSet)
      2. ....client.xxx = yyy, etc
      3. const item = 'json::: + strTopic + '::::${some string} + user + '\')
      4. const subscription = new Lighstreamer.Subscription('RAW', [item], '['Body']);
      5. ....

    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:
    1. 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
    2. 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 11:30 PM.

 

 

Similar Threads

  1. Replies: 27
    Last Post: October 21st, 2020, 11:30 AM
  2. Replies: 6
    Last Post: July 11th, 2016, 10:27 AM
  3. Replies: 3
    Last Post: August 16th, 2011, 11:39 AM
  4. J2EE app to push message via LS w/o JMS
    By atamel in forum General
    Replies: 3
    Last Post: August 9th, 2010, 03:09 PM
  5. Replies: 1
    Last Post: November 18th, 2009, 10:44 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 12:36 AM.