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
![JavaScript Promise API]()
While synchronous code is easier to follow and debug, async is generally better for performance and flexibility. Why "hold up the show" when you can trigger numerous requests at once and then handle them when each is ready? Promises are becoming a big part of the JavaScript world...
![LightFace: Facebook Lightbox for MooTools]()
One of the web components I've always loved has been Facebook's modal dialog. This "lightbox" isn't like others: no dark overlay, no obnoxious animating to size, and it doesn't try to do "too much." With Facebook's dialog in mind, I've created LightFace: a Facebook lightbox...
![Web Notifications API]()
Every UI framework has the same set of widgets which have become almost essential to modern sites: modals, tooltips, button varieties, and notifications. One problem I find is each site having their own widget colors, styles, and more -- users don't get a consistent experience. Apparently the...
![Create a Sexy Persistent Header with Opacity Using MooTools or jQuery]()
I've been working with the Magento eCommerce solution a lot lately and I've taken a liking to a technique they use with the top bar within their administrative control panel. When the user scrolls below a specified threshold, the top bar becomes attached to the...