Dario Greggio wrote: > Jake Anderson wrote: > > >> taking a 5 second look at the source i agree with your developer >> there is no ajax there >> >> personally i'd rather as a user you didn't use ajax where its not really >> needed >> just grab the data and send it out in straight HTML blocks >> > > Just my thought on this (I've done some sites here & there): > > Ajax would be needed to access data from another Web server, while a SQL > query or other method will be faster and "more safe" if data are > available differently. > > Of course, you can grab a HTML page from another site and parse/reformat > it also in C or ASP or else, but Ajax makes it in a standard fashion. > Which may or may not be good, especially for data safety. > > > There's no real standard that is "ajax", its just java and XML blended together. Its useful when your app will be hitting the server and changing bits and pieces of data. What Vitaly is doing is grabbing some data and squirting it at the client. In his shoes I'd write a little python script (php can do threading but its not as nice) that when a request comes in, fires off a bunch of threads to go and grab data, when they return you format them then pump them out to the client as they come in (rember to flush the buffers). If your keen and you want the order of suppliers constant, do a bunch of queries and benchmark the return times then when your in production have them come in to a storage location and only pass out the blocks in order. Super speedy, no need for java on the client side, everybody wins. My programming services are available ;-> -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist