Re: [PHP] Compiler? (Was Re: [PHP] PHP site on CD-ROM)

2001-01-25 Thread Adam Wright

The compiler has become the encoder, because it's rather hard to meet the
expectations of a 'compiler' (many would expect it to produce binaries and
heavily optimised code). Encoder makes more sense, based on what the product
does.

adamw

- Original Message -
From: "Angus Mann" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 25, 2001 11:41 AM
Subject: [PHP] Compiler? (Was Re: [PHP] PHP site on CD-ROM)


 At 22:35 18/01/01 -0800, Rasmus Lerdorf wrote:

 You would need to go through a web server for it to work.

 I seem to recall seeing something on the Zend site a while back about a
 "compiler" for PHP that was in the pipeline. After the store was launched
I
 can't find anything. Am I imagining things, or does it look like Zend
 pulled the plug? Did anyone else in here see it? :)

 Thanks,

 Angus.



 On Fri, 19 Jan 2001, Philip Apostol wrote:
 
   Can I run a PHP/Apache/MySQL services on a CD-ROM.  We have PHP
scripts
  that
   handle queries on a large database.  We would like to distribute it on
a
   CD-ROM so they could access the database offline.  Is it possible? Or
are
   there any similar solutions for this?  Im thinking of a text-file
database
   and access it via javascript but have no much time to study on
  this.  If php
   can be run on the cd-rom, that would be a better solution.   But any
   solution you posted here will be highly appreciated.  Thanks in
advance.
  
   Philip


 --
 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]




-- 
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]




Re: [PHP] Compiler? (Was Re: [PHP] PHP site on CD-ROM)

2001-01-25 Thread Zeev Suraski

The Encoder does in fact all of the optimizations of the Zend Optimizer 
(including ones that aren't enabled in the plug-in Zend Optimizer, because 
performing them every time may take more than what they would save, 
something that is not an issue in a one time compilation.
The reason it's not named 'Compiler' is indeed because people usually (and 
erroneously) expect all compilers to produce machine language code.

Zeev

At 13:41 25/1/2001, Adam Wright wrote:
The compiler has become the encoder, because it's rather hard to meet the
expectations of a 'compiler' (many would expect it to produce binaries and
heavily optimised code). Encoder makes more sense, based on what the product
does.

adamw

- Original Message -
From: "Angus Mann" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 25, 2001 11:41 AM
Subject: [PHP] Compiler? (Was Re: [PHP] PHP site on CD-ROM)


  At 22:35 18/01/01 -0800, Rasmus Lerdorf wrote:
 
  You would need to go through a web server for it to work.
 
  I seem to recall seeing something on the Zend site a while back about a
  "compiler" for PHP that was in the pipeline. After the store was launched
I
  can't find anything. Am I imagining things, or does it look like Zend
  pulled the plug? Did anyone else in here see it? :)
 
  Thanks,
 
  Angus.
 
 
 
  On Fri, 19 Jan 2001, Philip Apostol wrote:
  
Can I run a PHP/Apache/MySQL services on a CD-ROM.  We have PHP
scripts
   that
handle queries on a large database.  We would like to distribute it on
a
CD-ROM so they could access the database offline.  Is it possible? Or
are
there any similar solutions for this?  Im thinking of a text-file
database
and access it via javascript but have no much time to study on
   this.  If php
can be run on the cd-rom, that would be a better solution.   But any
solution you posted here will be highly appreciated.  Thanks in
advance.
   
Philip
 
 
  --
  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]
 
 


--
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]

--
Zeev Suraski [EMAIL PROTECTED]
CTO   co-founder, Zend Technologies Ltd. http://www.zend.com/


-- 
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]




Re: [PHP] Compiler? (Was Re: [PHP] PHP site on CD-ROM)

2001-01-25 Thread Jim Jagielski

Angus Mann wrote:
 
 At 22:35 18/01/01 -0800, Rasmus Lerdorf wrote:
 
 You would need to go through a web server for it to work.
 
 I seem to recall seeing something on the Zend site a while back about a 
 "compiler" for PHP that was in the pipeline. After the store was launched I 
 can't find anything. Am I imagining things, or does it look like Zend 
 pulled the plug? Did anyone else in here see it? :)
 
The Compiler underwent a name change only... It's now called the
Encoder. The reason is because, well, a compiler implies a
translation from source text to machine code as well as
a required process to allow that source text to be executable.
So the Encoder is not a compiler per se... Even when it
was called the Compiler it wasn't one, because you don't need
one for PHP. People thought that you did, and so to avoid
confusion and misconceptions the name was changed.

PS: I'm also [EMAIL PROTECTED]
-- 
===
   Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
  "Casanova will have many weapons; To beat him you will
  have to have more than forks and flatulence."

-- 
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]