HI,
I m trying to get trained on the first HelloWorld and see differences (that i don t understand) with :
colosseo 5 and duomo 4.1
Status : Data adapters are the same but front page is not equivalent from JS point of view
WIth colosseo
<script language="JavaScript" src ="
http://cdnjs.cloudflare.com/ajax/libs/require.js/1.0.7/require.min.js"></script>
<script language="JavaScript" src ="lightstreamer.js"></script>
<script> require(["LightstreamerClient", "Subscription", "StaticGrid"], function(LightstreamerClient, Subscription, StaticGrid) { var client = new LightstreamerClient(null, "HELLOWORLD"); client.connect(); var grid = new StaticGrid("hellogrid", true); var subscription = new Subscription("MERGE", grid.extractItemList(), grid.extractFieldList()); subscription.addListener(grid); client.subscribe(subscription); }); </script>
WIth Duomo
<script language="JavaScript" src="LS/lscommons.js"></script>
<script language="JavaScript" src="LS/lspushpage.js"></script><script>
var page = new PushPage();
page.onEngineCreation = function(engine) {
engine.connection.setAdapterName("HELLOWORLD");
engine.changeStatus("STREAMING");
}
page.bind();
page.createEngine("HelloWorldApp", "LS", "SHARE_SESSION");
var pushtable = new OverwriteTable(null, null, "MERGE");
page.addTable(pushtable, "hellotable");
</script>
Can somebody light me on these differences? Because i see 2 ways for the same result