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 […]

Simple JavaScript Timer: Part III

The remaining requirements from the last session are: Refactoring the two buttons to just one for starting/stopping the timer Being able to capture snapshots of the timer countdown on a button press. Clearing the snapshots and resetting the timer on another button press. Refactoring the two buttons to a single one which would handle the […]

JavaScript callback functions

Another primer, this time on callback functions.  Call back functions are basically a function that is passed as an argument, or included wholly as in the case of anonymous functions, in another function’s call. It hails from, wait for it… functional programming. One way of understanding how callbacks function *pardon the pun*, is based on […]

Handy little methods for Xrm.Page calls in browser for Dynamics CRM

Based on the last post about retrieving Microsoft Dynamics CRM record based information from the console ‘Dynamics CRM – Access GUID from the browser console‘, I thought I write up some other useful bits that can be used to get information in a pinch. Most of these have be run from the viewport where the […]