what is advantage of using headlink() to insert javascript and css in zend framework?

Posted by Andy on Stack Overflow See other posts from Stack Overflow or by Andy
Published on 2010-05-23T22:50:28Z Indexed on 2010/05/23 22:50 UTC
Read the original article Hit count: 185

Filed under:
|

Documentation says to use headlink()->prependstylesheet() to insert css in the layout file. Also says to use to load the javascript files this way also. Why is this any better than just hard coding the link and script tag right in the header? I would think this is slower performance since its using the framework methods to do it. Using zend framework 1.10

© Stack Overflow or respective owner

Related posts about framework

Related posts about zend