Does WebORB use sockets?  I thought it was an http connection, but I could
be mistaken. If there's a better way, I'd be happy to switch, but I couldn't
find anything. The current system is VERY lightweight, and it's quite
unlikely that WebORB is faster, but it might be a lot more stable -- I
definitely want to look into it.

Our needs are
1) Messaging between clients (Push to client)
2) Speed (for lightweight messages)

Does WebORB do #1?

I looked at the example you posted -- Yes, it is very easy to send JSON to
PHP and get a JSON response -- we are doing this elsewhere.  But HTTPService
is, well, HTTP -- the server can't push data back to the client.

Thanks!
~sean

On Wed, Jul 2, 2008 at 7:42 AM, valdhor <[EMAIL PROTECTED]> wrote:

>   I can't help you with your problem but do wonder why you felt the need
> to create your own socket system to implement JSON to PHP.
>
> AFAIK there are a number of solutions for this (eg.
>
> http://blog.paranoidferret.com/index.php/2007/08/24/flex-php-json-mysql-advanced-updating/
> ).
>
> Also, WebORB with AMF3 is a much simpler (And probably faster)
> solution for getting data to and from Flex/PHP.
>
>
> --- In [email protected] <flexcoders%40yahoogroups.com>, "Sean
> Clark Hess" <[EMAIL PROTECTED]> wrote:
> >
> > Hello coders!
> >
> > This is my first question to the list, so go easy on me, alright? :)
> >
> > I spent quite a while developing a good socket system that
> communicated with
> > PHP via JSON. It uses the Socket class (since that's the only way
> you can
> > do it, as far as I'm aware). It works perfectly now, with one small
> > caveat.
> >
> > When testing it on machines with r45 of FP9 installed, it didn't
> connect.
> > I'm not sure which version started working, but I think it works on
> r115
> > and r124. As far as I can tell, the connect event just never fires.
> The
> > policy file request goes through fine, but the socket server never hears
> > from the connection request.
> >
> > Thanks!
> > ~sean
> >
>
>  
>

Reply via email to