On Thursday 15 April 2004 12:21 pm, Jorge Oliveira wrote:
I use spaces for php code and tabs for html.
And the point of doing that is?
--
Greg Donald
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - By using spaces on php code, I assure that I (or others) can edit
the script in any editor easily
2 - I use tabs(or no tabs at all) for html because size of output sent
to browser is smaller this way.
Greg Donald wrote:
On Thursday 15 April 2004 12:21 pm, Jorge Oliveira wrote:
I use
[snip]
1 - By using spaces on php code, I assure that I (or others) can edit
the script in any editor easily
2 - I use tabs(or no tabs at all) for html because size of output sent
to browser is smaller this way.
[/snip]
That is not correct. Since PHP and HTML engines all ignore white space
and
PHP is one thing and HTML is another thing.. Check the google source code
and you'll that this is how they have it... I assume the reason is to reduce
the size of the page...
---
That is not correct. Since PHP and HTML engines all ignore white space
and comments it does not
[snip]
PHP is one thing and HTML is another thing.. Check the google source
code
and you'll that this is how they have it... I assume the reason is to
reduce
the size of the page...
[snip]
Your assumption about Google would be incorrect, it has nothing to do
with page size as most of their pages
What I meant was that it is obiously that eliminating the spaces but not by
a blind replacement, the new lines characters and even the tabs will reduce
the size of the page which will result in a faster loading and less
bandwidth consumed... And the example was google... Am I wrong with anything
You are correct, but I believe the bandwidth savings is small.
What I usually do for my apps is allow the admin to configure whitespace
trimming. If configured, I only remove whitespace from the beginning of the
line to the first non-whitespace character. This reduces the code size
somewhat,
You are correct, but I believe the bandwidth savings is small.
What I usually do for my apps is allow the admin to configure whitespace
trimming. If configured, I only remove whitespace from the beginning of
the
line to the first non-whitespace character. This reduces the code size
* Thus wrote Arthur Radulescu ([EMAIL PROTECTED]):
PHP is one thing and HTML is another thing.. Check the google source code
and you'll that this is how they have it... I assume the reason is to reduce
the size of the page...
I very much doubt that, if they were so concerned about WS then
they
you can create so-called assistants...
You can create a loop that asks in a table how many rows and
columns do you
want in that table.
Then you can have it create the table with all your favorite
default table
settings, but while it is generating it, you could have it
prompt you for
Jim Lucas mailto:[EMAIL PROTECTED]
on Thursday, September 25, 2003 11:52 AM said:
I already answered that question two days ago.
I didn't ask you to answer it twice so I don't what you're talking
about.
c,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
if you will..
Jim Lucas
- Original Message -
From: Roger B.A. Klorese [EMAIL PROTECTED]
To: 'Jim Lucas' [EMAIL PROTECTED]; 'Chris W. Parker'
[EMAIL PROTECTED]; 'jeffrey pearson' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 12:00 PM
Subject: RE: RE: [PHP] PHP Editor
Sorry, someone else responded to your email with the request.
Jim Lucas
- Original Message -
From: Chris W. Parker [EMAIL PROTECTED]
To: Jim Lucas [EMAIL PROTECTED]; jeffrey pearson
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 12:01 PM
Subject: RE: RE: [PHP
I guess you could call them helper scripts libraries.
Example would be: You can program a script to create a switch
statement and
then have it prompt you for the number of case statements to
add in and if
you want them to break; or not.
Things like that. Short cuts if you will..
AEdiX
- Original Message -
From: jeffrey pearson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 11:59 PM
Subject: Re: RE: [PHP] PHP Editor - which to use?
I like to use Edit Plus. www.editplus.com
It has the syntax highlighting for php, perl, java
It doesn't do syntax highlighting, but if you need
that, then you need to learn to code better.
Ha,ha. too funny.
-Original Message-
From: Jim Lucas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 9:56 AM
To: jeffrey pearson; [EMAIL PROTECTED]
Subject: Re: RE: [PHP] PHP
I like to use Edit Plus. www.editplus.com
It has the syntax highlighting for php, perl, java, and many others through modules
that are downloadable from their web site, DOESNT change code like dreamweaver does
and its cheap ($25).
Jeff Pearson
- Original Message -
From: Ruessel, Jan
scripting.
Jim Lucas
- Original Message -
From: jeffrey pearson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 8:59 AM
Subject: Re: RE: [PHP] PHP Editor - which to use?
I like to use Edit Plus. www.editplus.com
It has the syntax highlighting for php, perl
Jim Lucas mailto:[EMAIL PROTECTED]
on Tuesday, September 23, 2003 9:56 AM said:
Plus, one added feature is, is that it will allow you to do internal
scripting.
What are you able to do with internal scripting?
chris.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
additional settings that you would like to have in the new table.
Jim Lucas
- Original Message -
From: Chris W. Parker [EMAIL PROTECTED]
To: Jim Lucas [EMAIL PROTECTED]; jeffrey pearson
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 10:06 AM
Subject: RE: RE: [PHP] PHP
etc (TM) is able to follow up the syntax coloring operation by
making
changes to the code to correct syntax errors, puts brackets in
exactly
the right place to indicate block structure within the code, imposes
data type prefixes in strict convention, chooses better variable
names
than
21 matches
Mail list logo