Understanding the Principles of Algorithm Design
This article will dive into the principles of algorithm design. If you haven’t a clue what I’m referring to, read on!When you hear the word “algorithm,” you probably respond in one of three ways:You...
View ArticleBest of Tuts+ in September 2012
Each month, we bring together a selection of the best tutorials and articles from across the whole Tuts+ network. Whether you’d like to read the top posts from your favourite site, or would like to...
View ArticleChatting With The Grumpy PHP Programmer
I recently had the chance to catch up with Chris Hartjes, or, as some of you may know him, ““The Grumpy Programmer.” Because he recently released a new ebook on test-driven development in PHP, I wanted...
View ArticleDeciphering Testing Jargon
Lately, we’ve been hearing and reading more and more about test-driven development. This domain, however, comes with a series of expressions and specific jargon that can be confusing to newcomers. This...
View Article10 Great Prestashop 1.5 Themes
Prestashop is a powerful open source e-commerce platform. In September Prestashop released version 1.5 and the Prestashop 1.5 themes over at ThemeForest have been growing steadily ever since. Here’s a...
View ArticleFully Understanding the this Keyword
Today’s tutorial comes courtesy of the talented Cody Lindley, from his free ebook: JavaScript Enlightenment. He discusses the confusing this keyword, and the various ways to determine and set its...
View ArticleHow to Use Selenium 2 With PHPUnit
In this lesson, we will learn how to work with Selenium 2 directly within PHPUnit. For those unfamiliar, Selenium gives us an easy way to automate the browser. This makes it perfect for writing user...
View ArticleBase What? A Practical Introduction to Base Encoding
At a young age, we learn to count on our fingers – starting out with 1-5, then 1-10, and maybe, if you’re particularly enterprising as a toddler, you will learn to count to 20, 30, and beyond. No one...
View ArticleHow to Use Git With FTP
If you’re not using a PaaS, like Heroku or Pagoda Box, it’s possible that you’re still manually copying files to your server, via FTP. We don’t recommend this, but, understandably, there are smaller...
View ArticleA Simple Parallax Scrolling Technique
Parallax scrolling is an interesting technique, where, as you scroll, the background images translate slower than the content in the foreground, creating the illusion of 3D depth. As I planned to...
View ArticleLessons Learned from Building Shopify Themes
I first used Shopify not long after it launched in 2006. I loved that it was a simple to use and competitively priced hosted e-commerce platform. But above all, its theming feature is what I liked...
View ArticleBuilding a Scalable App With Backbone.js
Backbone.js is a small library (~5kb minified) that allows you to build single page web applications. Unlike many of its peers, Backbone is not very opinionated about the way you use it. Aside from...
View ArticleGetting Started with Web Workers
One of the many design goals of the JavaScript language was to keep it single-threaded and, by extension, simple. Though I must admit that, given the idiosyncrasies of the language constructs, it is...
View ArticleMake JavaScript Testing Fun With Testem
JavaScript testing is a sensitive subject. Some developers are huge advocates of it (including myself), while others don’t see the need or benefit. One huge barrier is the simple fact that it can...
View ArticleWebGL Essentials: Part III
This entry is part 3 of 3 in the series WebGL EssentialsWelcome back to this third and final installment in our WebGL Essentials mini-series. In this lesson, we’ll take a look at lighting and adding 2D...
View ArticleMeet Bower: A Package Manager For The Web
As the web platform has matured, the tools for managing our projects, too, have matured. In this tutorial, I’ll introduce you to one of these tools that makes managing the dependencies of your project...
View ArticleQuick Tip: Deploy PHP to Heroku in Seconds
We’ve raved about the brilliance of Heroku before, mostly around the fact that it makes launching a Rails or Node app rather simple without having to configure your own server. But what if you want the...
View ArticleAppFog vs. Heroku
Choosing a platform as a service (PAAS) for your new web application can be a difficult and confusing task. There are countless platforms to choose from, each having their own strengths and weaknesses....
View ArticleAn Introduction to Handlebars
If your site’s data regularly changes, then you might want to take a look at Handlebars. Handlebars is a template processor that dynamically generates your HTML page, saving you time from performing...
View ArticleBetter CoffeeScript Testing With Mocha
Recently, I’ve been doing a considerable amount of CoffeeScript work. One problem I ran into early-on was testing: I didn’t want to manually convert my CoffeeScript to JavaScript before I could test...
View Article