PHP, MySQL, JavaScript, Windows 7, Linux
Posts tagged JavaScript dependencies
Simple handling of jQuery dependencies with Zend Framework 1.9.x
Sep 25th
I have a lot of experience with WordPress development, and I’ve grown to love the way JavaScript dependencies are handled in that particular application. In WordPress, all JavaScript dependencies are defined in /wp-includes/script-loader.php. To ensure jQuery loads before any jQuery-dependent scripts, you just use $script->add() and reference the jQuery library ID. Easy as pie. Read the rest of this entry »