You are here: Re: [PHP] AJAX & PHP « PHP « IT news, forums, messages
Re: [PHP] AJAX & PHP

Posted by Brent Baisley on 07/21/05 15:41

Started playing with it about two months and have now integrated it
into my project. Makes things a lot easier and much more dynamic. No
more round trips to the server just to mark an action as completed or
other simple things that normally required a refresh. You can do
dynamic lookups based on what's entered in a field, without having to
download all the information in javascript variables. A big bonus is
that communication with the server can be done asynchronously, so the
user still has complete control while you're doing lookups or whatever.

I found it extremely simple to implement, although I'm returning text
strings at the moment instead of XML. Not completely up to speed on
parsing XML in javascript.

You just pass a URL to the server, which would be a PHP file along
with parameters. The only thing PHP is doing is 'echo'ing some data
back to the client. A javascript function can then do something with
that data. So you do need to have some javascript skills.

The xmlHttpPost function I use I found on O'Reilly:
http://www.onlamp.com/pub/a/onlamp/2005/05/19/xmlhttprequest.html



On Jul 21, 2005, at 1:52 AM, balwant singh wrote:

> Have anybody tried PHP & AJAX, may please share your experience.
> also pls. suggest good link of tutorial on this.
>
> With Best Wishes
>
> Balwant Singh
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация