Re: Best ajax library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/12/12 Floyd Resler <fresler@xxxxxxxxxxxxx>:
> I've always been a big fan of prototype which does AJAX plus a whole lot more.
>
> Take care,
> Floyd
>
> On Dec 12, 2009, at 7:00 AM, Ali Asghar Toraby Parizy wrote:
>
>> Hi friends.
>> What ajax library do you suggest for php developers?
>> Can i use gwt with php, or It is compatible only with java web applications?
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

I REALLY like prototype, but it does do a lot to the standard objects,
which does mean it often doesn't play well with others.

If you use Prototype and Scriptaculous (the GUI side of things for
effects and such), then you've got a winner.

Something that is missing though is the more GUI-like components that
come with toolkits like BlueShoes (php CMS server and client side with
separatable JS components - license required depending upon usage).


For just the AJAX communication, then prototype is perfectly adequate.
Though the 'X' is often easier to work with if it is J as in JSON.

Prototype can return JS objects from an AJAX call. PHP support for
JSON is fine in this regard (though I would make sure you set
JSON_FORCE_OBJECT for json_encode() to make sure empty arrays are
returned as objects rather than an empty array if you are building
your objects dynamically).

Richard.


-- 
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux