Thread: PHP compiler
View Single Post
Old 12-12-2004, 07:03 PM  
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
Quote:
Originally posted by qw12er
Now that's info I can use. But if there were a PHP compilator I could use PHP for everything and compile the part that need optimization.

For the Javascript, that's what I'm afraid off ... but on the other hand I can't use a PHP script each and every time somebody click somewhere...
Why? That's how every second trade script works. On my sites there are actually two scripts running per load, and two scripts running per click. My TGP script is inefficient - it dynamically generates the TGP - but I'm still within the boundaries of acceptable server load. For now.

If you run into load issues with plain PHP then you can upgrade to Zend, which compiles the script to pseudocode so it doesn't need to be parsed for each load. I believe it also does some other funky tricks like caching. The catch is that it will cost $$$.
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote