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

2007-10-12 Thread tedd

At 5:02 PM +0200 10/11/07, Per Jessen wrote:

tedd wrote:


 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?


Correct, but it doesn't require any ajax either.  That was my main
point.


Yes, but I didn't say that my demo *required* ajax either -- so, I 
don't know why you want to make a point about something not claimed?


Here's my demo:

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

Where does it say that Ajax is required?!  The demo is self 
explanatory as to what it is showing.


I simply created the demo and presented it here for review. But for 
some, instead of understanding what the demo was doing, made 
statements that it was an overkill that could be done more simply by 
using javascript alone, which was absolutely not true and clearly 
demonstrated that they didn't understand the demo (my bad for not 
making it more clear).


If you have something constructive to say in relation to the demo, 
please do. But, I think it's misleading and confusing to point out 
something that was not claimed and then object to it. Why do that? 
That's just being argumentative for no reason.


I'll tell you what, why don't you create a demo to exhibit whatever 
points you want to make? I am sure that my comments will be more 
germane.


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



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

2007-10-11 Thread Per Jessen
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. 


/Per Jessen, Zürich

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



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

2007-10-11 Thread tedd

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



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

2007-10-11 Thread Per Jessen
tedd wrote:

 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? 

Correct, but it doesn't require any ajax either.  That was my main
point.  


/Per Jessen, Zürich

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



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

2007-10-10 Thread Per Jessen
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

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



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

2007-10-10 Thread tedd

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.


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



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

2007-10-09 Thread tedd

Jay Blanchard wrote:

 [snip]
 I saved it and it played in Winamp, but no audio
 [/snip]

 So, is it worth going to all of the trouble to see?



In a word, no.

I watched it fine in Firefox on Linux with mplayer pluing. It just
worked(tm) for me!

But overall I have to say I was somewhat disappointed. It was just your
standard Ajax stuff really, nothing PHP related at all and nothing that
isn't done slicker on Facebook and Flickr and other good Web 2.0 sites.

Sorry Mark but that's just the way it is. I'm sure it's useful in the
context but I wouldn't say it's rocket science or visually impressive.

Col


Col:

What do you think of this?

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

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

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



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

2007-10-09 Thread Colin Guthrie
tedd wrote:
 Col:
 
 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), but then that's not really the point of the
page... it's more to demonstrate the methods rather than the end
results... and just goes to show that there are multiple methods of
removing the epidermus from a feline. :p

Col

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



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

2007-10-09 Thread tedd

At 5:52 PM +0100 10/9/07, Colin Guthrie wrote:

tedd wrote:

 Col:

 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), but then that's not really the point of the
page... it's more to demonstrate the methods rather than the end
results... and just goes to show that there are multiple methods of
removing the epidermus from a feline. :p

Col



Well yes, it is an overkill to simply display a gif in different 
positions over time -- but as you said, that was not the point of the 
demo.


While I may be just discovering what's obvious to everyone else, this 
has been an awakening for me. The idea that I could have processes 
going on in the background (server-side) and also communicate in real 
time with the user (client-side) as to what was happening was 
significant for me. Thus, my preparation of the demo. I see all sorts 
of applications.


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



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

2007-10-08 Thread Colin Guthrie
Jay Blanchard wrote:
 [snip]
 I saved it and it played in Winamp, but no audio
 [/snip]
 
 So, is it worth going to all of the trouble to see? 
 

In a word, no.

I watched it fine in Firefox on Linux with mplayer pluing. It just
worked(tm) for me!

But overall I have to say I was somewhat disappointed. It was just your
standard Ajax stuff really, nothing PHP related at all and nothing that
isn't done slicker on Facebook and Flickr and other good Web 2.0 sites.

Sorry Mark but that's just the way it is. I'm sure it's useful in the
context but I wouldn't say it's rocket science or visually impressive.

Col

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