Featured Post

Unit testing in Zend Framework 2

Overview Today I would like to focus on the unit testing in applications made with Zend Framework 2 and Doctrine 2 ORM. Sample unit tests were included with Zend Framework 1.x and they are also attached to Zend Framework 2 Tutorial. Important is, that we have two approaches of testing controllers for...

Read More

CSS and JavaScript files order in Zend Framework templates

Posted by evolic | Posted in Programming, Web development | Posted on 07-06-2013

Tags: , , , , , , , , , , ,

0

Today I would like to focus on one thing in Zend Framework (no matter if I talk about version 1.x or 2.x).

There is a problem with positioning CSS and JavaScript files in templates (using headLink() and headScript() helpers). I will demonstrate it in below samples and give the solution for that situation.

So let’s begin!