Tutorials Page 210

  • By
    Knowing Website State Using PHP

    When I create a website, I create an "app-top.php" file to place website settings in. It's just easier to place a bunch of variable is that file, include it at the top of pages, and know that you only need to change one file if...

  • By
    Assign Anchor IDs Using PHP

    Last week, I challenged my readers to create a PHP script that finds anchors in an HTML document and assigns an ID to the element IF the element doesn't have an ID already. Jeremy Parrish stepped up to the challenge. The PHP The...

  • By
    The wii and JavaScript

    Last week, AJAXian featured an awesome article about serving wii-friendly websites. Accompanied with the article was a snippet of JavaScript that detects if the user is browsing using the wii's Opera browser, taken from the Ext framework: At this time, as wii's are...

  • By
    Whitelisting:  You Set The Rules For Security

    We all know what blacklisting is when it comes to strings: removing specified "bad" characters. While this helps to secure user input, it isn't as secure as whitelisting. Whitelisting is the process of saying "Let me tell you what you can give me" whereas...

  • By
    Create HTML Elements Using PHP: html_element Class

    I love creating HTML elements using the MooTools JavaScript library. It's easy, fast, and the JavaScript code to create the element is beautiful. That got me thinking -- why don't I do this using PHP? When you build as many dynamic CMS-like websites...

  • By
    Weekend Links – MooTools Cheat Sheet, Google / Digg Acquisition, PHP Twitter API, Bot Detection, CSS Support In Email Clients

    MooTools 1.2 Cheat Sheet As you know, MooTools 1.2 was officially released this week. As great as the online documentation is, wouldn't you rather have an all-on-one-sheet reference card? Of course. If you're a Moo programmer, you must download this cheat sheet.

  • By
    Share Your Blog!

    I stand by my statements in the past where I clearly state that I learn more from you all that you learn from me. Fact. Period. I only have this one blog but most of you have your own. Whenever a user...

  • By
    This Moo’s For You!  MooTools 1.2 Has Arrived!

    U2's been singing this week because Monday was a beautiful day. Monday marked the release of MooTools 1.2, a landmark release. CNET's Aaron Newton (and MooTools developer) was so blown away by Valerio and Co's new ideas that he wanted to name this release...

  • Media Temple Hosting
  • By
    How I Format My CSS Files

    I've read about a dozen articles on CSS file formatting and management. I must say, I don't agree completely with any of them. Not to say that the way they do things is "wrong", but I don't subscribe to their way of CSS file...

  • By
    MooTools Gone Wild: Element Flashing

    If you're like me and lay awake in bed at night, you've flipped on the TV and seen the commercials: misguided, attention-starved college girls fueled by alcohol ruining their futures by flashing lame camera-men on Spring Break. Why do they do it? Attention...