Hello,

on 02/13/2008 11:11 PM Ritesh Nadhani said the following:
> I though I could apply some funkiness to it by using some AJAX based
> progress bar for which the example showed some sort of hooking and all
> which I thought was too much for such a job. I will talk to my boss
> regarding this and do the necessary.
> 
> BTW, whats the issue with AJAX based approach? Any particular reason
> other then it seems to be a hack rather then an elegant solution
> (which is more then enough reason not to implement it...but I wonder
> if there is a technical reason to it too)?

If the user hits the browser stop button, it may abort the process in
the server if you have the PHP option ignore_user_abort option set to
off. Other than that I do not see any other problem.

AJAX can be a little complicated if you have to code all the Javascript
by hand.

You may want to try this forms class that comes with an AJAX form
submission plug-in.

http://www.phpclasses.org/formsgeneration

Even if you do not need to submit any forms, the AJAX plug-in can be
used to do what you need without having to learn Javascript to implement
a browser independent AJAX solution.

Take a look at this live example that shows how to give progress
feedback of a task running on the server:

http://www.meta-language.net/forms-examples.html?example=test_ajax_form


-- 

Regards,
Manuel Lemos

PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

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

Reply via email to