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 $$$.