AngularJS Single Page Application (SPA)

So for my next quest, I’ve decided to go with a Single Page Application for the following reasons: To start exploring JavaScript frameworks Get some much needed interactivity on screen Increase the complexity of the projects I am going after to move out of my comfort zone I’ve decided to test the water with AngularJS. […]

What’s this? Second Anniversary for JavaScript: ‘Unscripted’

It seems the the world has gone around the sun completely once again. And this happens to be the two year mark for JavaScript: ‘Unscripted’. A lot has happened since last year. The last few months were pretty hectic in more ways than one, which meant not a lot of work could be done on […]

Hoisting in JavaScript

Everyone’s heard the all too familiar, JavaScript is an interpreted language spiel. That’s only partly true. Certain instances  can catch unwary developers out about this idiosyncratic run-time behaviour. When a JavaScript engine parses a code file, a global execution environment called the execution context is created. This occurs before the file is executed where functions, […]

JSON and JavaScript Objects

JavaScript Object Notation (JSON) is the lightweight alternative to tag laden XML used as data exchange format. What it is, precisely, is a method of data transmission based on JavaScript’s object literal syntax. JavaScript objects are containers which store key value pairs of attributes, functions and other objects of the following appearance: var anObject = […]

HTML5 enhancements

Now it’s been some time since HTML5 came on the scene. It’s shiny new glean has been replaced with a well worn veneration and stability. Although it’s made some marked improvements over its predecessors in terms of not requiring laboured attributes or overly strict syntax, one of its tenets means a certain level of backward […]

Get started using web API’s – Luas Forecasting API Part Three

After much struggles, see the previous entry for the history up til now, the responseText message was successfully parsed and the information populated on the page: Some of the pitfalls: Response message was a string which wouldn’t yield to any XML extraction methods. That was sorted once parsed to XML. (Response methods for XML didn’t […]

Get started using web API’s – Luas Forecasting API Part Two

Continuing on from the last post – Get started using web API’s – Luas Forecasting API Part One , there was a slight issue I ran into. This was resolved after several commits where I’d tried to see if I could print out the response regardless of the response status. However those failed and can […]

Get started using web API’s – Luas Forecasting API

My JavaScript excursions have taken a damper as of late. Without much digression, the next mini project I want to tackle is how to consume an api and present it on a page. I’ve been having a bit of internal conflict if I should conduct this on GitHub or codepen and came to the conclusion […]

Javascript functions

JavaScript allows numerous ways in which functions can be created and invoked. Named functions These have a name associated with them function nameOfFuction(){ // code goes here; } Assigned functions These are usually named or anonymous functions which are assigned to a variable var someName = function someFunction() { // code; }; // invoking the […]