• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Returning results from HTTPConnection request...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Returning results from HTTPConnection request...


  • Subject: Re: Returning results from HTTPConnection request...
  • From: wojingo <email@hidden>
  • Date: Thu, 15 Dec 2005 10:26:56 +1030

Chuck Hill wrote:
Hi,

On Dec 12, 2005, at 12:24 PM, Nathan Walker wrote:

I guess I was looking to see if anybody had any innovative ideas on this concept. I guess I could have the Flash constantly looping through posting requests to the server and checking things, (Maybe have a DirectAction that returned an XML response telling the Flash animation how much cash had been inserted. That way, there is no MetaRefresh and the app seems to be sitting there and active without having to Refresh every 3 seconds or so to check variables and such.

But it is still cycling back to the server.


That seems bloated though, because essentially the Flash animation would be posting a request every 3 seconds checking for the response value avoiding the metarefresh. Maybe this is where AJAX should be used ?

Then AJAX would be doing the same sort of  server polling, no?


It seems to me this sort of thing is needed a lot. Surely not everybody out there is using WOMetaRefresh for this are they ??


I don't see there is much of an option. Something has to check unless your app has a direct connection to each client.



FWIW, you can open a socket in flash and connect to a server socket. I played around with this a few years ago but my lack of of flash skills (I didnt know what I was doing) didnt help. Maybe its a option you could look into?


cheerio,

 - shaun
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Returning results from HTTPConnection request... (From: Nathan Walker <email@hidden>)
 >Re: Returning results from HTTPConnection request... (From: Chuck Hill <email@hidden>)
 >Re: Returning results from HTTPConnection request... (From: Nathan Walker <email@hidden>)
 >Re: Returning results from HTTPConnection request... (From: Chuck Hill <email@hidden>)
 >Re: Returning results from HTTPConnection request... (From: Nathan Walker <email@hidden>)
 >Re: Returning results from HTTPConnection request... (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: WO development philosophy
  • Next by Date: Fwd: How do I update a relationship in a WODisplayGroup?
  • Previous by thread: Re: Returning results from HTTPConnection request...
  • Next by thread: Don't understand mixing Static and dynamic client components
  • Index(es):
    • Date
    • Thread