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
![Interview with a Pornhub Web Developer]()
Regardless of your stance on pornography, it would be impossible to deny the massive impact the adult website industry has had on pushing the web forward. From pushing the browser's video limits to pushing ads through WebSocket so ad blockers don't detect them, you have...
![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.
![Implement jQuery’s hover() Method in MooTools]()
jQuery offers a quick event shortcut method called hover that accepts two functions that represent mouseover and mouseout actions. Here's how to implement that for MooTools Elements.
The MooTools JavaScript
We implement hover() which accepts to functions; one will be called on mouseenter and the other...
![MooTools-Like Element Creation in jQuery]()
I really dislike jQuery's element creation syntax. It's basically the same as typing out HTML but within a JavaScript string...ugly! Luckily Basil Goldman has created a jQuery plugin that allows you to create elements using MooTools-like syntax.
Standard jQuery Element Creation
Looks exactly like writing out...