Agile Staffordshire May 2013

It’s that time again! Agile Staffordshire initiated a project a while ago aimed to provide a fun collaborative project that it could really sink its teeth into. Numerous changes of venue have hindered the project getting off the ground but there is now opportunity to get back on track. The full details of the May session are available, along with previous sessions, on the Agile Staffordshire Blog. This month’s session Continue reading

JavaScript/HTML Synchronous and Asynchronous Loading

js_include_colour

To complement my previous article about implementing a JavaScript include facility, I’m taking a closer look at the default behaviour of JavaScript and HTML (including HTML5) with respect to synchronous and asynchronous loading of script files (among other things). If you’ve ever wanted to include script files within an HTML page in an asynchronous way, or you’ve wanted to load a file synchronously using JavaScript, this article may well be Continue reading

JavaScript Include

js_include_colour

Many languages offer a facility for allowing one source code file to gain access to other source files. Although JavaScript files can be included from within an HTML page (using the HTML ‘<script>’ element with an appropriate ‘src’ attribute), JavaScript itself has no capability for including one JavaScript source file from another. In this article, I’ll take a first look at developing such a feature, along with possible future developments Continue reading

Agile Staffordshire April 2013

Agile Staffordshire is running at Staffordshire University this month. It has been difficult finding a regular location recently, but Staffordshire University has some excellent facilities to host a good evening of software development topics. April’s meeting will be of particular interest to me as it is introducing Ruby, a language I have yet to use seriously. I am really looking forward to it. In summary, the meeting will be at Continue reading

Configuring LESS on Mac OS X and PhpStorm 6.0

LESS is a neat library that extends CSS with dynamic behaviour. It is not the only tool of its type but I like it as it is fairly quick to configure. I tend to build HTML projects as a quick front end to some code. LESS gives me a quick way of making changes to style. PhpStorm 6.0 provides file watchers that run LESS in the background and compiles CSS Continue reading

Models without Tables in CakePHP

CakePHP provides a lot of functionality. If you follow its naming conventions and practices as outlined in The Book, you get the functionality without having to write a lot of plumbing code. The worked examples walk you through the basics of creating a CRUD application. The problem I have with CRUD applications is I am not convinced that they exist. I have never been tasked with creating an application that merely Continue reading

PhpStorm and CakePHP Unit Tests

I am currently crafting a brief tutorial on testing using PhpStorm, CakePHP and my recent experiences in running a project with this setup. However, running CakePHP unit tests from within the PhpStorm IDE was driving me to despair until Maarten Balliauw came to my rescue. He has made a blog post explaining how to hook the PhpStorm and CakePHP unit tests together. I can verify that it works well and I Continue reading

Configure PHP on Mac OS X Mountain Lion

I have recently picked up a project to be created using PHP. It has been great to get back into PHP as I have not used it in a while (since PHP 4.3). For some reason, web sharing was removed from OS X Mountain Lion; removing the one click activation of Apache. PHP is still there and can be configured easily from the terminal. This post explains how to activate Continue reading