Weekend Links – PHP Regular Expressions, XMLHttpRequest, Internet Explorer, Mouse Tracker, MooTools Gallery, Endless Pageless

By  on  

Much belayed links...

8 Practical PHP Regular Expressions

Perfect title to a great article that provides very useful regular expressions to PHP programmers.

http://devolio.com/blog/archives/34-8-Practical-PHP-Regular-Expressions.html

Re-inventing XMLHttpRequest: Cross-browser Implementation With Sniffing Capabilities

Sergey Ilinksky reinvents XMLHttpRequest to be more cross-browser compatible, secure, and functional.

http://www.ilinsky.com/articles/XMLHttpRequest/

Internet Explorer is Most Likely Intentionally Broken

Interesting article providing points as to why Internet Explorer is likely intentionally flawed.

http://kaioa.com/node/28

Record Mouse Movement Using JavaScript & AJAX

A very impressive prototype-based script that records a user's mouse movement, and can then "play back" where the user put their mouse. Extremely useful for statistics and focus tracking.

http://pure.rednoize.com/2007/10/18/record-mouse-movement-using-javascript-and-ajax/

mooCircle JavaScript Gallery

A cool MooTools-based script that allows for a dynamic, animated photo gallery.

http://www.thedeveloperinside.com/blog/moocicle-sample-javascript-gallery/

Endless Pageless: No More Next Page

Article describing how more websites should auto-load more content when the user scrolls to the bottom of the screen. I don't agree with the article, mainly because most users wont know what's happening, but worth the read.

http://unspace.ca/discover/pageless/

Recent Features

  • By
    Create Namespaced Classes with MooTools

    MooTools has always gotten a bit of grief for not inherently using and standardizing namespaced-based JavaScript classes like the Dojo Toolkit does.  Many developers create their classes as globals which is generally frowned up.  I mostly disagree with that stance, but each to their own.  In any event...

  • By
    CSS Gradients

    With CSS border-radius, I showed you how CSS can bridge the gap between design and development by adding rounded corners to elements.  CSS gradients are another step in that direction.  Now that CSS gradients are supported in Internet Explorer 8+, Firefox, Safari, and Chrome...

Incredible Demos

  • By
    HTML5 download Attribute

    I tend to get caught up on the JavaScript side of the HTML5 revolution, and can you blame me?  HTML5 gives us awesome "big" stuff like WebSockets, Web Workers, History, Storage and little helpers like the Element classList collection.  There are, however, smaller features in...

  • By
    Using MooTools For Opacity

    Although it's possible to achieve opacity using CSS, the hacks involved aren't pretty. If you're using the MooTools JavaScript library, opacity is as easy as using an element's "set" method. The following MooTools snippet takes every image with the "opacity" class and sets...

Discussion

    Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!