RT Forms

  • Thread starter Thread starter Trond
  • Start date Start date
T

Trond

I am wondering how i should develop a web application. The customer wants
some pages that contains controls like leds and graphs that is displaying
current status. The data is Near Real Time data. So the led will be turned
on and off.
I do not want to solve this using meta refresh and have a "flickering" page.
The web pages will be developed using c# and datasource is MsSQL 2000.
Should i "attach" this using ActiveX controls? Or is there a better way?
Best regards
Trond
 
Publish Subcribe architecture isn't great with HTTP. I recently updated an
existing implementation of this and it contained a page java applet, which
established a seperate connection to the server, then for each client
connection the server monitored, there was a subscription mechanism so the
server knew which data to send to which client. Overly complicated and
painful.

I'd use meta refresh, but then if you're fussy about the "flicker" for a
whole page refresh, move to having the data that needs to be refreshed in
iframe's. The pages contained in these iframes would contain the refresh,
and not the containing page. The result would be a page that has only the
relevant parts of it refreshing, rather than the entire page.
 
Would Smart Clients be an option? I know its new but i kind of hope someone
in here has tested it.
Best regards
Trond
 
I would use a Web Service to publish the data, and invoke it using a
client-side (javascript) timer. Display the results with DHTML (no flicker).
No activex, and you can hide the computations behind the web service, and
publish the data so that XSL can be used to render. Easy.
 
Yes i agree. The iframes approach is something i will look into. Sounds like
an good idea :-)
Best regards
Trond
 
Yes, we will develope it using a SOA (SO/A is more correct to say :-))
approach. Web services is part of that. Some of the views are using graphs,
leds, Gauges and so on. These "instruments" should run smoothly and not
"flicker". That is why i was considering ActiveX / class.

It is tempting to use a third party component like CSTSOFT's Instrumentation
Suite, offered as both native NET and ActiveX. There are many more available
out there so i am trying to figure out what the optimal solution would be in
this case.

I thank you and Mr. Bass for your post and will for sure try it out :-)
Best regards
Trond
 
Also learn about AJAX [A(synchronous) JA(vascript) X(ml)] which is supported
in all versions of the framework noting ASP.NET 2.0 beta 2 includes a
control that is distributed with the framework (very lightweight I am
hearing it said) where independent implementations are more robust.

Start here http://ajax.schwarz-interactive.de/csharpsample/default.aspx

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
 
Back
Top