• posted 6 months ago

    Securing/validating cookie data: Weird that I never thought about this

    I was reading a blog post sometime ago about securing your web app, and one thing that surprised me (but sadly shouldn't have) was the idea of securing your cookie's content. In PHP, accessing a cookie is as simple as:
    $theme = $_COOKIE['theme'];
    read
    • posted 6 months ago

    URL Patterns: Underrated and tough to get right

    The recent Hacker News-discovered story Even a URL tells a story has shown light on something I've been thinking about for a while: how hard it is to generate a thoughtful, distinct and informative url architecture.
    read
    • posted 10 months ago

    readystate firing for dynamically loaded scripts

    I've gotten in the habit of loading external JS by booting it in dynamically/asynchronously after the page has loaded, however in doing so I stumbled upon an event difference between browsers that was news to me.
    read
    • posted 2 years ago
    • 5 comments

    jquery vs mootools: my initial thoughts

    mootools_logoI've been using jQuery regularly for my new job now for about 3 weeks or so. I've used the selectors, event handling, short cuts/handlers, animations, plugins etc. Nothing too fancy, but in general, a descent exposure. I'd like to compare it with Mootools. And while I do rock a Mootools skin on my phone, I'm going to try and remain as objective as subjectively possible. I'm going to try and stay positive about the differences and give use-cases for using either.
    read
    • posted 2 years ago

    grabbing an attribute in mootools: .[name] or .get or .retrieve or .getProperty?

    mootools_logoSomething I ran into just now was returning an anchor's attribute consistently across browsers. So I have an anchor with an address like '/users/delete/5/' which does what you'd think it does. But I ran into an inconsistent return response in (you guessed it) ie6. In all fairness, it might not be IE6's fault, but it speaks more to a problem with mootools. While it is a nearly perfect library/framework, this does bug me.
    read