Weekend Links – PHP Techniques, Regular Expressions, AJAX PageRank, PHP Downloads, Color Mathematics
PHP Techniques I Use All The Time
Article discussing PHP techniques that can save you time and keep your code fast and effective.
http://www.christianmontoya.com/2007/11/09/php-techniques-i-use-all-the-time/
PHP Regular Expression Tutorial
Regular expressions can be extremely cryptic, even to the best programmer. This article demystifies regular expressions and is PHP-focused.
http://www.phpf1.com/tutorial/php-regular-expression.html
Google PageRank Using AJAX
Looking to grab your PageRank? Use this AJAX script.
http://joeabiraad.com/ajax/google-pagerank-using-ajax/104
Limit File Download Speed with PHP
If your website's main functionality is providing file downloads, you should use this script.
http://www.findmotive.com/2007/11/01/limit-file-download-speed-with-php/
EasyRGB - Color Mathematics and Conversion Formulas
This article provides the mathematics formulas used to convert colors.
http://www.easyrgb.com/math.php
![Serving Fonts from CDN]()
For maximum performance, we all know we must put our assets on CDN (another domain). Along with those assets are custom web fonts. Unfortunately custom web fonts via CDN (or any cross-domain font request) don't work in Firefox or Internet Explorer (correctly so, by spec) though...
![Detect DOM Node Insertions with JavaScript and CSS Animations]()
I work with an awesome cast of developers at Mozilla, and one of them in Daniel Buchner. Daniel's shared with me an awesome strategy for detecting when nodes have been injected into a parent node without using the deprecated DOM Events API.
![CSS Kwicks]()
One of the effects that made me excited about client side and JavaScript was the Kwicks effect. Take a list of items and react to them accordingly when hovered. Simple, sweet. The effect was originally created with JavaScript but come five years later, our...
![Modal-Style Text Selection with Fokus]()
Every once in a while I find a tiny JavaScript library that does something very specific, very well. My latest find, Fokus, is a utility that listens for text selection within the page, and when such an event occurs, shows a beautiful modal dialog in...