…me to depend upon. Luckily, Brackets ships with a powerful extension API that lets you add any number of new features. In this article, I’m going to discuss this API and demonstrate how you can build your own extensions.It is crucial that you remember that Brackets is in active development.…
…mes when you simply want to throw some JavaScript code up and see how it works. Sure, you could go through the hassle of:Setting up a dedicated directoryCreate a file with markupFinding the latest version of your favorite libraries, downloading them and including them in your codeCreating your stylesheetConfiguring your…
…me to continue where we left off by testing our Game class. Now, when you start with such a big chunk of code like we have here, it is tempting to start to test in a top-down manner, method by method. This is, most of the time, impossible. It is…
…media query prevalence, fixed width sites are decidedly less effective than responsive layouts.In this document I will describe how to take your fixed width 960gs site and move it to ZURB's Foundation framework. Without digressing too much, I want to be fair to 960gs and mention adapt.js, that framework's response to responsive web…
…ments of refactoring a totally legacy code is when we start extracting small pieces from it and we start writing targeted unit tests for those small pieces. But this can be quite difficult, especially when you have code that is written so that it would be hard to compile or…
…me code examples and I'll explain everything as we proceed. If you're ready to begin, you can press play on the video below:I hope this video has shown you how easy and fun controllers are to work with in Symfony 2. We can use the console to generate them and…
…mething you constantly hear developers talking about but rarely actually see people using in practice - is getting a kick in the pants with the new ECMAScript Internationalization API. Currently supported in Chrome 24, Chrome for Android, Firefox 29, IE 11, and Opera 15 (sadly no Safari support), the new…
…ment (BDD) with phpspec. Mostly, it will be an introduction to the phpspec tool, but as we go, we'll touch on different BDD concepts. BDD is a hot topic these days and phpspec has gained a lot of attention in the PHP community recently.SpecBDD & PhpspecBDD is all about describing the…
…metrics about the test coverage, as well as analyze the complexity of it. Why Test at All? First of all, unit testing in general is a way to reduce bugs by ensuring that your application functions as it's supposed to. Beyond that though, are the notions of Test Driven Development…
…messages Popping up JavaScript-based alert dialogs Adding inline error messages to form fields And so many other messaging experiences. Even at the operating system level, browsers like Chrome and Firefox now include notification services that can be tapped into and applications like Growl allow native applications to alert users via…