Meet Crockford’s JSCheck

May 16, 2012  |  Wordpress  |  , ,  |  No Comments

There are dozens of JavaScript testing frameworks, but most of them function in, more or less, the same way. However, Douglas Crockford’s JSCheck is considerably different from most. In this tutorial, I’ll show you how it’s different and why you should consider using it! Crockford describes JSCheck as a “specification-driven testing tool. Crockford describes JSCheck as a “specification-driven testing tool.” When using the frameworks you’re used to, you would write a test for a given piece of functionality, and, if that test passes, declare that the given functionality is working correctly. However, it’s possible that you might miss some of edge cases...

Read More

How to Super-Scale Magento in the Cloud

May 15, 2012  |  Wordpress  |  , ,  |  No Comments

This tutorial will help you prepare a Magento install for high traffic, better load times, and simpler ongoing site management. Ready? Requirements You can download the finished code for this tutorial, or launch the “magento-basic” Quickstart from your Pagoda Box account to test a working site. A Pagoda Box Account (free) A functional local Magento Install Local Development Software (MAMP or WAMP) Git Installed (Can use SFTP) The Pagoda Terminal Client Installed Fair Warning: This tutorial may change your life. Pagoda Box is not traditional hosting. The teachings in this article will not only help scale Magento, but it alos lays the groundwork for a progressive development-to-production workflow....

Read More

Lots Of New Premium Content!

May 14, 2012  |  Wordpress  |  , ,  |  No Comments

As Tuts+ Premium continues to sky-rocket, our ability to post better, more frequent, content has improved dramatically as well. This week, we have a variety of fun new things available to members! Course – How To Be A Terminal Pro In this fifteen-episode course, you’ll learn how to take advantage of that scary app you never touch: Terminal! We’ll begin with the obligatory “hello world” command, and work our way up to advanced usage. Course – JavaScript Testing With Jasmine Admit it: you say that you test your JavaScript, but, in reality, you…don’t. That’s okay; the idea of testing JavaScript is a relatively...

Read More

How to Convert a Widget into a Joomla Module

May 11, 2012  |  PHP  |  , , , ,  |  No Comments

This tutorial will cover the process of creating a basic Joomla module from an existing widget. We’re going to take a widget from Mixcloud, learn how to convert it into a Joomla module and, finally, distribute the extension to JED (Joomla Extension Directory). If you’ve never created a Joomla module before, this article is the best place to start! Step 1: Setting up Our Files Basic Files For every module created for Joomla, there are two files that absolutely need to be present. One file is a configuration XML file that will hold the module details and parameters and a PHP...

Read More

Aspect-Oriented Programming in PHP

May 10, 2012  |  PHP  |  ,  |  No Comments

There’s a new player in town, and he brought new toys: The PHP World welcomes FLOW3, an enterprise application framework written and backed by the community of the TYPO3 CMS. FLOW3 can be used as standalone full-stack framework for your applications. It’s interesting, because it introduces some concepts of software development that haven’t been adapted to PHP before. Among these new concepts is “Aspect Oriented Programming”. We will have a look on the theory of the pattern, and will set up a basic FLOW3 Application and weave in our own aspect! Why Should I Care? If a new framework hits stable, an...

Read More