473,324 Members | 2,511 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Binding XML-RPC data to tables

I've created an XML-RPC server, and would like to somehow bind the XML
server responses to a table for users to view. Here's the catch, that data
changes frequently (every few seconds), so I'm using setInterval to
periodically get updated XML content from the server.

Currently, the setInterval function requests the entire dataset, then
rewrites the entire table. I'm concerned that it's a waste of bandwidth,
and disrupts the user scrolling through the data whenever it rewrites.
Ideally, I'll have the XML-RPC server generate only data changed since the
last request, then somehow update the table with the changes.

Anyone do anything like this before? Thoughts on how to accomplish it?

Thanks!
Jul 23 '05 #1
3 1518
BMR
FunGuySF a écrit :
I've created an XML-RPC server, and would like to somehow bind the XML
server responses to a table for users to view. Here's the catch, that data
changes frequently (every few seconds), so I'm using setInterval to
periodically get updated XML content from the server.

Currently, the setInterval function requests the entire dataset, then
rewrites the entire table. I'm concerned that it's a waste of bandwidth,
and disrupts the user scrolling through the data whenever it rewrites.
Ideally, I'll have the XML-RPC server generate only data changed since the
last request, then somehow update the table with the changes.

Anyone do anything like this before? Thoughts on how to accomplish it?

Thanks!


Why not use setInterval along with DOM functions that would just change
necessary cells content in the table ?

BMR
Jul 23 '05 #2
"BMR" wrote in message
Why not use setInterval along with DOM functions that would just change
necessary cells content in the table ?


That sounds like a winner... I'm just not sure how to go about it.

I imagine that I'd have to send, for example, some key data to the server,
so it knows what I have, then have it return any changes (adds, removes,
changes).

Then, I'm assuming I can use DOM features to search my own table to see what
should be updated? Where can I find specifics on methods I could use?

Thanks!


Jul 23 '05 #3
Just off the top of my head you could have the client send back the
date and time of the last time it received a table update, and then
have the server compare this against the the date and time some data
changed, and if it was newer to send the data up to the client.

As for the DOM you could either iterate through the rows and cells of
the table replacing as needed, or ad id's to each cell and replace
directly.

That ought to get you started anyway.

Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Do | last post by:
Hi, I tried to bind an XML similar to the following to a datagrid. <Idontwant> <Iwant> <Yes></Yes> <Yes></Yes> <Yes></Yes> <Yes></Yes>
1
by: Raed Sawalha | last post by:
the first thing I searched the internet is what is the XML Binding? also while I;m reading the eSCORTE4js for SCORM i noticed the following comment // these functions handle the conversion to/from...
0
by: 455 | last post by:
Hello all. Sorry if this question gets a little long. I've been having real trouble with this problem mostly because I can't get a solid piece to start from. I'm new to C# (was previously a...
1
by: Sacha | last post by:
I'm having trouble serializing some of my classes when using late binding. When I don't use late binding, it works fine. MyClass inherit from an abstract class called AbsMyClass. If I do the...
2
by: Dave | last post by:
Hi I'm returning XML from a Web Service with the format of <companylist><rowcount>55</rowcount><company><companyid>383823</companyid><companyname>ABC...
2
by: Mullin Yu | last post by:
hi, i want to know a better way to build a xml tree at .net, especially vb.net. yes, i can make by string or dom. but, is there any faster way like XML Java Binding or something else? ...
2
by: Carmit | last post by:
Hi, I'm trying to build a proxy for this webservice: http://webservices.sabre.com/wsdl/sabreXML1.0.00/tpf/EndTransactionLLSRQ.wsdl I'm getting the following error: Error: Unable to import...
4
by: RJ | last post by:
Folks, I need some help. I have a webservice that needs to be consumed by a Java app in Websphere(our customer's partner). Unfortunately, we don't know much on the Java side. The question...
0
by: Steven Bolard | last post by:
Hello, I am trying to port my .net 1.1 application to 2.0. I am using vs2005. I am trying to get my webservices to run and although i can compile them and and get wsdl and service descriptions...
1
by: Rotsey | last post by:
Has anyone had any success binding a XML doc to a Gridview tha includes a Delete and Edit columns.???????????? Emphasis on the Delete and Edit columns as I found this very difficult It is easy...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.