Browsing articles tagged with "javascript Archives - PHP Dev Tips"
Jul
8
2014

MagicMin Version 3 Available!

Minifying CSS and Javascript just got way more awesome with MagicMin 3.0.0! Along with better directory path support for windows machines, V3 includes the ability to output merged/minified files with unique hashed filenames for better caching support

Oct
13
2011

Using PHP to merge and minify CSS and Javascript

And yet another ‘bangin’ update!  Don’t use this (I’m going to leave it here for reference), use the magicmin javascript and css minification/caching class instead for performance, better javascript minification, caching, gzip, base64_encoded images, and more! One MAJOR factor in the usability of your website is site load time.  This is affected by a number of factors: the number of images, database queries, and the number of server requests to fetch your stylesheets and javascript […]

Sep
24
2011

Synchronous Input Population Using JavaScript

Synchronization for html input forms

Working with code can often be tedious, and frequently requires programmers to continually reference functions or other sets of code that exists on different pages.  For example: As a relative newbie to wordpress, when creating or modifying files I spend ~70% of my development time looking through files for correct/applicable function usage.  If I wish to display an option to edit a post in a template, I must use “edit_post_link(‘edit’, ‘<p>’, ‘</p>’);”, however, the chance […]