You are here: Re: hitting the limits « PHP Programming Language « IT news, forums, messages
Re: hitting the limits

Posted by Jerry Stuckle on 11/12/73 11:46

windandwaves wrote:
> Jerry Stuckle wrote:
> ....
>
>>Why even us it? I find very seldom do I need it. And it does add
>>overhead.
>
>
> I use it on all my sites because in that way, I can perfectly indent my code
> but take out the 100s or even 1000s of spaces/tabs.
>
> For all my sites, I make a login and when the person is logged in (i.e. me
> the administrator), the page is produced with spaces so that I can analyse
> the code.
>
> I like writing xhtml strict with real simple xhtml that is compressed (i.e.
> without spaces) so that the actual pages are super small. I do this to
> protest against the dreamweavers out there, who create html that is often
> over 100kb and just pollutes the superhighway with endless &nbsp; <td><img
> src="spacer.gif">etc......
>
> HTMS
>
>
>>Nicolaas
>
>
>

You can write perfectly good xml or html without obstart(). The two have
nothing to do with each other.

But compressing a page then expanding it just to make the code more readable
doesn't make sense. Just expand it in the file and serve it statically.
There's much less overhead.

I think the only time I've really needed obstart() is when I wanted to wrap
phpinfo() in another page. In that case I needed to get the output, parse it,
getting rid of the extra tags, then print it.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация