Tekforums

Chat => Entertainment & Technology => Topic started by: Mardoni on April 04, 2007, 14:46:29 PM

Title: Anyone used/using AJAX for client/server comms ?
Post by: Mardoni on April 04, 2007, 14:46:29 PM
I have a question but Im not sure of the best way to word it atm. So Ill only try and write it down if anyone here might have a clue !!

/cryptic

:)
Title: Anyone used/using AJAX for client/server comms ?
Post by: Sweenster on April 04, 2007, 17:02:57 PM
Have used a bit of AJAX before, linked in with php script

not sure this is exactly what you mean
Title: Anyone used/using AJAX for client/server comms ?
Post by: Mardoni on April 04, 2007, 17:23:07 PM
Yeah thats the ticket.

Do you know if the XMLHTTPRequest objects ever timeout/close the connection themselves ? I am hoping that the only timeouts/closures are driven by the server and not the client.

I know I should just knock up a prototype but tbh I am hoping that someone will know the answer :)


news just in:

http://ajaxpatterns.org/Timeout

I got an email from a friend that suggests that the client will never terminate the connection :) *YAY*
Title: Anyone used/using AJAX for client/server comms ?
Post by: Sweenster on April 04, 2007, 18:16:34 PM
:D

tis a very powerful tool, though it seems it is also a very vulnerable target as well
Title: Anyone used/using AJAX for client/server comms ?
Post by: Mardoni on April 04, 2007, 18:52:44 PM
As vulnerable as any web service really, its down to design and implementation of each application :)
Title: Anyone used/using AJAX for client/server comms ?
Post by: bear on April 04, 2007, 18:59:41 PM
I guess it is as good as any other detergent (http://img116.exs.cx/img116/6469/g5cgrin.gif)

(http://www.ajax.de/_img/img_home_visual_3.jpg)
Title: Re:Anyone used/using AJAX for client/server comms ?
Post by: Rivkid on April 04, 2007, 20:04:26 PM
lmao @ Bear! :rofl:
Title: Anyone used/using AJAX for client/server comms ?
Post by: Mardoni on April 04, 2007, 20:32:42 PM
Quote from: bearI guess it is as good as any other detergent (Image removed from quote.)

(Image removed from quote.)

You tool :p

You have no idea how many shopping sites I have visted today for that one reason :P
Title: Re:Anyone used/using AJAX for client/server comms ?
Post by: madmax on April 04, 2007, 21:09:30 PM
lol!!!

planning to use ajax more on my second build of the company site at work.

using asp.net though, tis all i know  :lol:
Title: Re:Anyone used/using AJAX for client/server comms ?
Post by: Clock'd 0Ne on April 04, 2007, 21:31:31 PM
Sam has been doing some next level sh*t on his software with Ajax. Website searches that auto update and refresh the results without changing browser pages and the like  :shock: Groovy stuff, it seems very powerful.
Title: Re:Anyone used/using AJAX for client/server comms ?
Post by: Walrusbonzo on April 04, 2007, 22:23:18 PM
Think I may try out some AJAX stuff on my next project at work :D

Real-time (Insert bank product) performance dashboard..... OoOooOOOo  :mrgreen:

Just completed my first real-time reporting suite and everyone seems to love it.  Need to go to the next level as well.

"Wow, is this real-time as well?"

"Err, yeah, it sure is."

"You are a star."

"Thanks"
Title: Anyone used/using AJAX for client/server comms ?
Post by: M3ta7h3ad on April 04, 2007, 23:02:54 PM
lol @ the real-time tagging there.

"real-time horsesh*t monitoring system!"

"Wow... were a company that deals with aircraft parts... WE WANT THAT!"

Say anything is "real-time" and management of any company seem to love it.
Title: Anyone used/using AJAX for client/server comms ?
Post by: Mardoni on April 05, 2007, 00:10:02 AM
Its the RT stuff that I am looking into atm. It looks like whilst it can be done using the AJAX approach, it might not be the best approach; after all HTTP is not designed for continous data streams.

I plan on sticking together a proof over the weekend but I have a feeling that for the amount of data and concurrent browser connections I will need to scale to, a more standard message-queue/data-publishing model will be needed.