I have asked myself this question too and posed a similar point (is using Cake 
tags ultimately slower than straightforward html? to which the answer was 
'probably, yes'). However, I have adopted the Cake tag route throughout because 
(i) it provide consistency, (ii) it means I am not jumping in and out of PHP 
and (iii) it just feels 'safer' - pass in the right options and out pops the 
right html. I guess it's a matter of choice?

Jeremy Burns
[email protected]


On 22 Apr 2010, at 09:31, Ed Propsner wrote:

> Out of curiosity and perhaps a little boredom I re-scripted my default.ctp to 
> completely follow Cake conventions. 
> From the doctype to the closing html tag there is not a single conventional 
> html tag on the page. 
> 95% of my layout is structured with divs in lieu of tables so there is quite 
> a bit on the page as far as tags go. 
> 
> My question is this ... how much is too much? With the increase in file size 
> the pages will ultimately render slower,
> or is this of little significance assuming how much time is really being 
> lost? 
> 
> I don't really see any immediate advantages besides consistency which in 
> itself works for me because I never cared much
> for jumping in and out of php anyhow.
> 
> - Ed 
> 
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
>  
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to