[thelist] php/ajax...

bruce bedouglas at earthlink.net
Mon Aug 7 14:54:25 CDT 2006


hi chris...

just playing around with it..

i was thinking of a test app, where a user has two inputs 'a', 'b' and the
app is able to automatically compute the sum and put the value into a 'c'
field, or the user is able to hit a 'sum' button that performs the sumation
without updating/modifying the rest of the form..

thanks


-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org]On Behalf Of Christian Heilmann
Sent: Monday, August 07, 2006 12:33 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] php/ajax...


> [snip]
> will php allow a user to enter field on a form, and compute aresult
> based on
> the field, without having to reload the entire form, or will i need
> ajax...
> [/snip]
>
> You will only need JavaScript.

That statement may not be true. For example the computation might have
to involve a database or web service lookup.

> Remember, JavaScript is client-side, PHP is server-side.

That is true, but to ensure accessibility, one should comply the
other, not replace it.

There are a lot of PHP/Ajax frameworks out there:
http://ajaxpatterns.org/PHP_Ajax_Frameworks

Without knowing what you want to do, all we can give you is guesswork.

--
Chris Heilmann
Book: http://www.beginningjavascript.com
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
--

* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !




More information about the thelist mailing list