I found a tehnology called Xaja. What do you think of it and is there
any other libraries?
On Jun 22, 12:17 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Is reverse AJAX possible with CakePHP (prototype and script.aculo.us)?
> I have been searching for some help on reverse AJAX for a week, but no
> success, so I dropped this idea.
>
> On Jun 22, 11:17 am, simonb <[EMAIL PROTECTED]> wrote:
>
> > Sound like an ideal candidate for reverse AJAX.
>
> > I have used JSON for a couple of projects. You need to just google for
> > JSON
>
> > On Jun 22, 2:18 am, "[EMAIL PROTECTED]"
>
> > <[EMAIL PROTECTED]> wrote:
> > > That's a really good idea, but I have never done this. Can you tell me
> > > a bit more about the "{ move:[4, 1], to: [4, 3] } "? How do I use it?
>
> > > On Jun 22, 3:58 am, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
>
> > > > Why don't you poll for coordinates in JSON and update the board with
> > > > javascript?
>
> > > > ie: advance the fifth pawn two positions:
>
> > > > { move:[4, 1], to: [4, 3] }
>
> > > > 0 1 2
> > > > +---+-----+----
> > > > 0 |___|___|___
> > > > 1 | | |
> > > > 2
>
> > > > On Sat, Jun 21, 2008 at 9:09 PM, [EMAIL PROTECTED]
>
> > > > <[EMAIL PROTECTED]> wrote:
>
> > > > > I made a chess game using Ajax. It updates the table every 5 seconds.
> > > > > The problem is that the HTML code for the table is huge and causes a
> > > > > lot of bandwidth. Now I am thinking of a new method: polling server
> > > > > for new moves in the game and update only if a move was done. But I
> > > > > can't imagine any easy way for doing this.
> > > > > What I want to do is: poll the server every 5 seconds and update
> > > > > contents of a div tag only if any move has been done. Any help will be
> > > > > appreciated.
> > > > > Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---