RE: [PHP] Re: why is better?

2002-05-02 Thread Steve Bradwell

Hi,

Sorry to bud in on this, but I was thinking about writing my next php app
oop style to learn. Are you saying that It is going to be slower or 
poorer performance?

Thanks alot

-Steve the newbie.

-Original Message-
From: Julio Nobrega Trabalhando [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 6:41 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: why is better?


  Faster, and better interaction with the engine that runs php (and
therefore other parts of the system).
--

Julio Nobrega.

Franky [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Why is better to write module than class?
 ok is compiled code so is supose to be faster, but that all?

 Frank
 [EMAIL PROTECTED]





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

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




Re: [PHP] Re: why is better?

2002-05-02 Thread Hugh Bothwell


Steve Bradwell [EMAIL PROTECTED] wrote in message
57A1618E7109D311A97D0008C7EBB3A1CBB2EA@KITCHENER">news:57A1618E7109D311A97D0008C7EBB3A1CBB2EA@KITCHENER...
 Hi,

 Sorry to bud in on this, but I was thinking about writing my next php app
 oop style to learn. Are you saying that It is going to be slower or
 poorer performance?

It will be slightly (in most cases, unnoticeably) slower.

On the other hand, if properly designed, it should be
easier to maintain and much more easily reuseable in
other projects.

I think that's a reasonable tradeoff.



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




Re: [PHP] Re: why is better?

2002-05-02 Thread Julio Nobrega Trabalhando

  Slower, yes. But still faster than most of other web scripting languages,
at least from some benchmarks I've seen.

  But still, who wants to code with pointers and memory management and etc
when PHP do those kinds of difficult tasks, and the normal ones, while
taking less time to code? If you need critical speed, code a C module. But
that's not necessary, at least in some cases I have seen (the majority, I
must say ;-)

  Coding your whole web script in C or C++ will take weeks, months, if you
start from scratch. Php is designed for this enviroment, and you will get
less headcaches by using it (specially maintance and portability)

  As usual, use the best suited hammer :-)

--

Julio Nobrega.

Um dia eu chego lá:
http://sourceforge.net/projects/toca

Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884


Steve Bradwell [EMAIL PROTECTED] wrote in message
57A1618E7109D311A97D0008C7EBB3A1CBB2EA@KITCHENER">news:57A1618E7109D311A97D0008C7EBB3A1CBB2EA@KITCHENER...
 Hi,

 Sorry to bud in on this, but I was thinking about writing my next php app
 oop style to learn. Are you saying that It is going to be slower or
 poorer performance?

 Thanks alot

 -Steve the newbie.

 -Original Message-
 From: Julio Nobrega Trabalhando [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 01, 2002 6:41 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] Re: why is better?


   Faster, and better interaction with the engine that runs php (and
 therefore other parts of the system).
 --

 Julio Nobrega.

 Franky [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  Why is better to write module than class?
  ok is compiled code so is supose to be faster, but that all?
 
  Frank
  [EMAIL PROTECTED]
 
 



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



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