Hello Gildas,

On 27-Mar-01 05:56:06, you wrote:

>What are the pros and cons to using PHP as a scripting language like Perl or
>Python?

PHP does not support multi-threading.  It's not important for serving Web
pages, but it is very important when you use it for executing tasks that
have to handle with many sources of input, like GUI apoplications, Network
applications, etc..


>Before going too far, I would like to know what other PHP users/gurus think
>about using PHP as a general scripting language, what should be avoided and
>what are the drawbacks I should take care of. Before someone ask me why not
>use Perl or Python: I don't like Perl, I prefer Python, I use it too but I'm
>not as easy with it as I am with PHP and I'd prefer put all my efforts in a
>single language if it can bring me all I expect...

Right, use it at will.  Most people is more confortable with programming
with only one language at a time.  I use only PHP to either setup or serve
my Web applications.  PHP can now be used to manage GUI applications.  I
have written a large meta-programming compiler in PHP.  All that requires
PHP to be run and standalone executable from the shell.  Despite the lack
of multi-threading, PHP is pretty capable and adequate for those purposes.


Regards,
Manuel Lemos

Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?[EMAIL PROTECTED]
--
E-mail: [EMAIL PROTECTED]
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to