No-polling 2-way interface
Posted: Mon Apr 06, 2009 9:28 pm
I'm currently working on the foundations for my homebrew Touch application. It's going to be written in VB.NET and will run on my ASUS TOP.
Now i'm considering a few options on how to supply this Touch application with data it has to show on the screen.
I could periodically query the database. Everything needed is in there.
Or i could query my HA application by means of XML-RPC.
I have both methods available and ready to run, but i'm not sure if this is the best way to do it.
I would prefer having a mechanism that pushes new information to the Touch app as soon as it becomes available; i just don't want to use polling on the Touch-side to get the info available to the Touch.
Now you could implement XML-RPC in 2-way:
1 for Touch -> HA for things like user activity on the Touch,
and another one for HA -> Touch meant for displaying changed data on the Touch screen.
Any suggestions on other ways to accomplish what i want, without polling?
Now i'm considering a few options on how to supply this Touch application with data it has to show on the screen.
I could periodically query the database. Everything needed is in there.
Or i could query my HA application by means of XML-RPC.
I have both methods available and ready to run, but i'm not sure if this is the best way to do it.
I would prefer having a mechanism that pushes new information to the Touch app as soon as it becomes available; i just don't want to use polling on the Touch-side to get the info available to the Touch.
Now you could implement XML-RPC in 2-way:
1 for Touch -> HA for things like user activity on the Touch,
and another one for HA -> Touch meant for displaying changed data on the Touch screen.
Any suggestions on other ways to accomplish what i want, without polling?