Category Archives: Javascript

Javascript Garden – A well written & interesting read

You don’t often finds detailed articles like this that are well written and make for an interesting read but Javascript Garden makes for an interesting read, even if you think yourself a knowledgeable Javascripter. So if you’ve got some spare time, want to learn or simply up fo some productive procrastination, have a read. Javascript Garden: http://bonsaiden.github.com/JavaScript-Garden/

Read More

Do not initialise your subclass properties in backbone’s extend!

You definitely don’t want to do this, no no no! It’s one of those time when you’re looking at the console log going “what the’”.. Then you realise your mistake and see how obvious it is.. duh! Background – PHP I’m going start this javascript post with some php.. I think years of writing php code has influenced the mistake. Here’s a typical class definition in PHP. class Test { public $items = array(); public…

Read More