Need help?

I'm available for remote short term contracting or consultancy work. Please check out my LinkedIn profile for more details on my experience.

Please feel free to use the form below to contact me.



Javascript

You’re probably wondering what I mean by a ‘Tin Can Approach’. Well, the major concept of the new Tin Can standard, is direct communication to an API; removing the dependancy of JavaScript. I'm going to be focusing more on the API aspect, and not so much the way the data is packaged....
jon | April 28, 2010 | Comments (0)

Are you looking to find out how to include/require files on the fly using JavaScript? That's what we're going to go through in this article. The same functionality used in PHP to require/include other PHP files can just as easily be done in JS.

Before we can start, we have to download a JS library called RequireJS - this allows us to load files and modules asynchronously using JavaScript.

jon | April 28, 2010 | Comments (0)

Have you been thinking of making a game, but are stuck on the server part? This is understandable, as servers can be quite daunting. Back in the old days, you'd have to worry about writing C code with sockets - scary stuff if you're not familiar with it.

Luckily, we now have something called Node.js - it allows us to create a simple server in a matter of minutes. In this article, I'll be showing you the very basics of creating a socket server.

jon | April 28, 2010 | Comments (0)

If you've found this article, you probably know what APE is; but for a quick recap, it means AJAX Push Engine. It's great if you want less overhead when transferring a lot of data back and forth - most likely for games, chat or any other interactive applications.

For more information, please check out http://www.ape-project.org/docs/.

jon | April 28, 2010 | Comments (0)

If you’ve had the pleasure of building large applications with Backbone.js, then you probably stumbled into this problem. What happens to Views that are no longer being used? That’s the main question.

Let me give you a test scenario - what if you have your main container (a div), and that container will be populated by View content. Every time the user navigates to a new section, that main container’s content will be swapped with a new View. What happens to the old view? Well, it will be sitting there still. Can’t we just hide it, you say? Well, yeah, but then it’s still rendering all the events, based on Model changes (if it has Models bound to it).

jon | April 28, 2010 | Comments (0)

In this quick tutorial I'm going to go through a simple example of how you can extend an object in JavaScript. The first thing you'll need to do is get jQuery, which you can get here: http://docs.jquery.com/Downloading_jQuery.

Once you have that included in your project, you can go ahead and extend an object by doing the following:

jon | April 28, 2010 | Comments (0)

This article will take you through the process of creating a simple tag cloud using a jquery plugin, which was written by Adam Groves (https://github.com/addywaddy/jquery.tagcloud.js) - thanks Adam!

Why even bother with a tag cloud? Well, it looks pretty cool if positioned properly, and it's something that people are used to seeing.

jon | April 28, 2010 | Comments (7)

The concept of organising your JavaScript to this level may seem alien to some, but the advantages are limitless. This greatly improves maintainability and scalability, and as JS gets more and more advanced, so will the structure (from an architectural point of view).

Some of the best browsers to date have improved their JS rendering engine so much that you can basically build a full fledged application and wouldn't be able to tell the difference between a stand-alone app and the one running in your browser - amazing huh? Have you ever heard of OpenGL? Well, they're also coming out with WebGL, which will obviously be powered by JavaScript - say bye bye to flash and hello JS. If this alone doesn't convince you that it's growing extremely rapidly, then I don't know what will.

jon | April 28, 2010 | Comments (2)

If you're maintaining a blog and want a way to highlight code within your articles (for ease of reading), then this article may interest you.

I can't even begin to say how annoying it is to read a large chunk of code that has no color highlighting - this will improve readability and traffic to your blog (or whatever you decide to use it on).

jon | April 28, 2010 | Comments (2)