maandag 29 oktober 2007

Use helpers in your application

It is advised to make use of helpers in your application. Your code becomes clean and more flexible because the helpers are short and clear, and they handle the paths to the file referenced. For example, to quickly show an image in your view, use:


< ?= $html->image('9.jpg') ?>

Geen opmerkingen:

Een reactie posten