-general@lists.php.net
Sent: Friday, December 01, 2006 1:47 AM
Subject: Re: [PHP] Tidy HTML source?
On Thursday 30 November 2006 18:51, Paul Novitski wrote:
With respect to separating code and markup, you said sometimes there
are reasons not to do so, for example, web services. What are some
Dear Paul,
Many thanks for replaying my message, It was very helpful and now I really
understood why I so negative for templating systems...
I haven't got programer background or education. I'm self learner.
Many of php programmers have other programming experiences, and if I
understand
On Thu, November 30, 2006 6:47 pm, Paul Novitski wrote:
A templating system requires the processor to merge content with
template. An inline markup assembly system requires the processor to
build the markup from function calls. Where is the technique that
doesn't take machine cycles?
You
At 12/1/2006 02:22 PM, Richard Lynch wrote:
On Thu, November 30, 2006 6:47 pm, Paul Novitski wrote:
A templating system requires the processor to merge content with
template. An inline markup assembly system requires the processor to
build the markup from function calls. Where is the
On Fri, 2006-12-01 at 17:51 -0800, Paul Novitski wrote:
At 12/1/2006 02:22 PM, Richard Lynch wrote:
Try 10 X as many for most templating solutions.
Ten times as many templates as there are pages on the site? Wow,
that's a lot. Fortunately I don't use any of those templating
- Original Message -
From: Paul Novitski [EMAIL PROTECTED]
At 11/29/2006 05:13 AM, Satyam wrote:
- Original Message - From: Paul Novitski
[EMAIL PROTECTED]
What I find to be a much greater problem is the human readability of
logic code when HTML is mixed throughout. Your
Mark Kelly wrote:
Am I crazy to make an extra effort in my code to make the generated HTML
pretty? By this I mean linebreaks, indentation etc. - stuff that is aimed
at readability rather than correctness. This is obviously above and beyond
simply making sure it validates. It's not a huge
At 11/30/2006 01:52 AM, Satyam wrote:
And, stepping back, you're perpetuating the embedding of markup
with logic so that it will still take a PHP programmer to modify
the markup of one of your pages. Do you not see the advantage in
separating the two layers?
Yes, I do, and I would recommend
On Thursday 30 November 2006 18:51, Paul Novitski wrote:
At 11/30/2006 01:52 AM, Satyam wrote:
And, stepping back, you're perpetuating the embedding of markup
with logic so that it will still take a PHP programmer to modify
the markup of one of your pages. Do you not see the advantage in
On Thursday 30 November 2006 18:51, Paul Novitski wrote:
With respect to separating code and markup, you said sometimes there
are reasons not to do so, for example, web services. What are some
of those reasons?
At 11/30/2006 10:57 AM, Sancar Saran wrote:
What about performance ?
Web
- Original Message -
From: Fredrik Thuresson [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Wednesday, November 29, 2006 5:45 AM
Subject: Re: [PHP] Tidy HTML source?
At one point or another plain HTML has to be generated.
Care to give me an example? I never generate any
At 11/28/2006 05:05 AM, Satyam wrote:
May I invite you to check http://satyam.com.ar/pht/? This is a
project I started some time ago to help me produced HTML in a more
clean and efficient way. Usually, producing good HTML involves
running a sample output through some HTML validator or
- Original Message -
From: Paul Novitski [EMAIL PROTECTED]
At 11/28/2006 05:05 AM, Satyam wrote:
May I invite you to check http://satyam.com.ar/pht/? This is a project I
started some time ago to help me produced HTML in a more clean and
efficient way. Usually, producing good HTML
: [PHP] Tidy HTML source?
At one point or another plain HTML has to be generated.
Care to give me an example? I never generate any html in my php code
anymore.
You are entitled not to, but stretching it to the point of denying that
HTML
is ever generated by anyone at anytime? Most pre
- Original Message -
From: Mark Kelly [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Tuesday, November 28, 2006 4:13 AM
Subject: Re: [PHP] Tidy HTML source?
On Monday 27 November 2006 17:10, Mark Kelly wrote:
Am I crazy to make an extra effort in my code to make the generated
At 11/29/2006 05:13 AM, Satyam wrote:
- Original Message - From: Paul Novitski [EMAIL PROTECTED]
What I find to be a much greater problem is the
human readability of logic code when HTML is
mixed throughout. Your innovation is helpful
here, as you're nearly making HTML tags into
PHP
As Richard already pointed out, ugly code can be a real problem
occasionally. Besides that, I assume that you have some kind of
coding standrad for your PHP code already, right? Basically, why do
someone would make a difference between pretty styled PHP code and
pretty styled html/CSS? Be
-
From: Mark Kelly [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Tuesday, November 28, 2006 4:13 AM
Subject: Re: [PHP] Tidy HTML source?
On Monday 27 November 2006 17:10, Mark Kelly wrote:
Am I crazy to make an extra effort in my code to make the generated HTML
pretty?
Thanks
Message - From: Mark Kelly [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Tuesday, November 28, 2006 4:13 AM
Subject: Re: [PHP] Tidy HTML source?
On Monday 27 November 2006 17:10, Mark Kelly wrote:
Am I crazy to make an extra effort in my code to make the generated
HTML
pretty?
Thanks
Hi.
In the stuff I do almost all the HTML is generated with PHP as basically
none of it is static (lots of tabular data, state-sensitive links, stuff
like that).
Am I crazy to make an extra effort in my code to make the generated HTML
pretty? By this I mean linebreaks, indentation etc. -
On Mon, November 27, 2006 11:10 am, Mark Kelly wrote:
In the stuff I do almost all the HTML is generated with PHP as
basically
none of it is static (lots of tabular data, state-sensitive links,
stuff
like that).
Am I crazy to make an extra effort in my code to make the generated
HTML
At 5:10 PM + 11/27/06, Mark Kelly wrote:
Hi.
In the stuff I do almost all the HTML is generated with PHP as basically
none of it is static (lots of tabular data, state-sensitive links, stuff
like that).
Am I crazy to make an extra effort in my code to make the generated HTML
pretty? By
On Monday 27 November 2006 17:10, Mark Kelly wrote:
Am I crazy to make an extra effort in my code to make the generated HTML
pretty?
Thanks everyone for your thoughts on this - I'm quite relieved that I'm not
the only one who sits and tweaks so that the HTML is nice and readable.
It just
23 matches
Mail list logo