13
2011
Using PHP to merge and minify CSS and Javascript
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 files (which is what we’ll be talking about today!). The following example is for javascript files, however I’ve included a JS and CSS version in the download at the bottom of the page. The defining difference [...]
24
2011
Synchronous Input Population Using JavaScript
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 [...]
Subscribe to PHPDevTips!
Loading...Categories
- .Htaccess (1)
- Classes and functions (2)
- Content Management Systems (2)
- CSS (1)
- Database Security (2)
- HTML (1)
- Javascript (3)
- Miscellaneous (3)
- MySQL (5)
- PHP (12)
- Resources (2)
- SEO (1)
- Tricks (7)
- Tutorials (5)
- Usability (1)


