| 
	
 | 
 Posted by Jerry Stuckle on 06/20/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   <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 
==================
 
[Back to original message] 
 |