Tutorials Page 130

  • By
    Add META Tags, Scripts, and Stylesheets to the WordPress Header and Footer

    There are times where you may want to conditionally inject stylesheets or scripts into your header or footer, or you'd simply prefer to inject those resources via PHP instead of place the HTML in template files directly.  WordPress' ever-powerful add_filter function provides the a method for...

  • By
    The World Beyond MVC

    There's no shortage of JavaScript MVC (Model-View-Controller) architectures out there. The best-known is Backbone, but there are others: Spine, Agility, Knockback, etc. And in addition to the range of MVC frameworks, there are MV-whatever variants. This stuff, anecdotally...

  • By
    Force SSL with WordPress

    WordPress, the popular blogging CMS platform, is used as an all-purpose site software these days.  The difficulty in using all-purposes solutions is that they are often difficult to customize when edge cases pop up;  one of those edge cases can be forcing SSL.  Many form pages...

  • By
    A CodePen Interview with Chris Coyier

    One of my favorite sites has recently become CodePen. CodePen is an incredible showcase of what developers can do with CSS, JavaScript, and HTML; thousands of developers have shown pride in their work with each pen. I wanted to interview...

  • By
    Review:  Media Temple Site Mover

    This blog has changed my life.  I have an incredible job at Mozilla, I've been a member of the MooTools team for years, and I've learned an incredible amount of front-end development techniques, all thanks to this blog.  Needless to say, this blog means...

  • By
    JavaScript DocumentFragment

    One of the lessor known but incredibly useful gems within JavaScript is the DocumentFragment.  DocumentFragments allow developers to place child elements onto an arbitrary node-like parent, allowing for node-like interactions without a true root node.  Doing so allows developers to produce structure without doing so within...

  • By
    Defer ALL The Things

    JavaScript was one of the first languages I ever learned, but as I drifted more toward Python development, I got increasingly out-of-touch with the best ways of doing things. Then a friend asked me to help on a project. The server was in Node.js and...

  • By
    Twitter META Tags

    Facebook implemented Open Graph META tags to allow developers more customization of how their site's content is represented on the Facebook website when shared.  Adding these META tags, which take all of five minutes, can have an incredible impact when it comes to marketing.

  • Media Temple Hosting
  • By
    Remove Plugin Stylesheets and Scripts in WordPress

    Many WordPress plugins implicitly inject stylesheets and JavaScript files into the page on each page load.  If you don't plan on custom-styling for elements created by the plugin, that's no problem...but you can get caught in a CSS specificity battle if you do intend custom styling.

  • By
    5 More HTML5 APIs You Didn’t Know Existed

    The HTML5 revolution has provided us some awesome JavaScript and HTML APIs.  Some are APIs we knew we've needed for years, others are cutting edge mobile and desktop helpers.  Regardless of API strength or purpose, anything to help us better do our job is a...