Micheal,
>Thanks for the great feedback. See below:
Thanks for the topic.
[ca-chunk]
>This brings up another question of mine. Does anyone have experience with
>the Zend Optimizer? What kind of speed improvements can be expected? Any
>downsides?
My only experience here is on the win9x platform, unfortunately. I'm sure there are
hosting companies using it by now, right? Anyone?
>> using double-quotes ONLY where necessary will actually be a
>This is a great tip. It is not even mentioned on the PHP site (that I could
>find).
>In fact, both the print and echo examples in the PHP net manual all use
>double-quotes. Weird.
I guess we'll see what Leon's research comes up with on this matter. It's been a
while since I looked (isn't PHP great?), but there was significant code in the string
parsing looking for variable substitution at the time.
>Any idea why echo would be quicker than print? It is not due to the fact
>that you are using single-quotes?
Statement vs. Function - I would imagine that this probably changed in PHP4, along
with the rest of the benefits of the Zend engine.
>The switch idea was just a quick thought. I'll give this some more thought.
>
>I agree that any improvements should be made to FT 2 and not 1.
>
>> >7) CSS - I think we should keep the Stylesheet file but we should not
>> >include it in everypage. We should use it as an external
>> stylesheet. We can
>>
>> If external it is cached. Why not include it in every page
>> then? The few bytes for the line to be read? OS's are quite
>> good at reading files. I think having one place to change the
>> look is another GoodThing.
>>
>Not sure I understand your point. I agree that we should have only one place
>for style elements.
>I just think that instead of doing an INCLUDE, we should change the HEAD
>section to use something like:
>
><LINK REL="stylesheet" HREF="/ourstyle.css" TYPE="text/css">
>
>There's really no point in sending the same info over and over to the client
>if we don't have to, IMHO.
Sorry, mis-read what you were saying. External style-sheet +1, include -1.
Hope that cleared up some things,
John
--
/* SteeleSoft Consulting John Steele - Systems Analyst/Programmer
* We also walk dogs... [EMAIL PROTECTED] - PHP/MySQL/Linux/Hosting
* http://www.gamecomputer.com/ssc/
*/
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]