Re: Re: Something you can do with AJAX + PHP as well

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

 



At 8:40 AM +0200 10/11/07, Per Jessen wrote:
tedd wrote:

 At 3:27 PM +0200 10/10/07, Per Jessen wrote:
Colin Guthrie wrote:

  What do you think of this?

  http://webbytedd.com/b/timed-php/

  It's a combination of using both ajax and php together.

  I'd say overkill for the end result (could be done in plain
  Javascript without any "Ajax" calls),

That was my reaction too.  I've used iframe/rpc for about three years
- ajax doesn't improve on the basic functionality.

/Per Jessen, Zürich

 The rotation of a graphic could be done in javascript, that's true.
 But, the process demonstrated goes a bit deeper than that.

Hi Tedd,

OK, what exactly have you demonstrated that could not have been done
using javascript/iframe-rpc ?

ajax is nothing but javascript, and in principle it is exactly the same
as using iframe-rpc.

I dunno -- I've never used iframe-rpc and I'm not commenting pro/con about it.

I was just saying that my demo is a combination of using php and ajax to produce something.

Now, maybe some people want to call it an overkill and say that *everything* could be done in javascript alone. That's fine, but they are missing the point I'm failing to make. My demo is just another (not unique) way to use both javascript and php to solve a problem.

For example: If you have a process that is taking time server-side and want to let the user know in real time what the progress is, this is one way to do it. That's not something (by definition) you can do with javascript alone, right?

There are other applications, but if you fail to see the basic concept, then you also fail to see the opportunity.

Cheers,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
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