Re[2]: [PHP] PHP editor

From: Date: Thu, 15 Apr 2004 17:06:09 +0000
Subject: Re[2]: [PHP] PHP editor
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-183494@lists.php.net to get a copy of this message
Hi, Friday, April 16, 2004, 2:48:03 AM, you wrote: CWP> Arthur Radulescu <mailto:art@asesoft.ro> CWP> on Thursday, April 15, 2004 4:48 AM said: >> Not exactly... I was not reffering to PHP files... The white spaces >> from a template file will make double the size of certain files when >> they are sent to the browser... So a page of 50 k might have 100 K >> because of those white spaces instead of tabs... For a dial up >> connection this means a lot even if you are not google... CWP> can someone confirm this? this sounds totally wrong. but the again i CWP> don't work with templates (yet) so i have no idea! CWP> ON THE OTHER HAND CWP> if you're referring to the html that is sent to the browser don't use CWP> the tab key use the space bar. imho tab indented html is very ugly! This bit of code <table> <tr> <td> Hello world </td> </tr> </table> has about 44 chars, 7 line feeds and 9 tabs = 60 bytes with 4 spaces/tab thats 54 spaces = 100 bytes and the default of 8 (what clown came up with that one I wonder..maybe they had very small spaces) thats 72 spaces for a total of 123 bytes - over double. So Arthur is probably correct. -- regards, Tom

« previous php.general (#183494) next »