Re: Re: Something you can do with AJAX + PHP as well
| From: | tedd | Date: | Thu, 11 Oct 2007 13:47:09 +0000 |
| Subject: | Re: Re: Something you can do with AJAX + PHP as well | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263098@lists.php.net to get a copy of this message | ||
At 8:40 AM +0200 10/11/07, Per Jessen wrote:
tedd wrote: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.comAt 3:27 PM +0200 10/10/07, Per Jessen wrote: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.Colin Guthrie wrote:The rotation of a graphic could be done in javascript, that's true. But, the process demonstrated goes a bit deeper than that.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ürichWhat 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),