Rambles of JavaScript Developer

CSS Flexbox

Posted on Sep 6, 2015 in CSS | No Comments

Flexbox is a CSS property that aims to provide a better method to page layout that the currently popular methods using floats. I recently came across Flexbox when working on CSS bug. I preformed the usual Stackoverflow search and blindly copied and pasted the answer into my code. As expected everything work, but why? What […]

JavaScript Developers Toolkit

Posted on Aug 23, 2015 in development | No Comments

  My tool kit has grown over the years and even more so since I became a focused and dedicated JavaScript developer. From development environments, online resources and third party tools.   ## IDE As JavaScript does not require compiling you could write it all in notepad or any basic text editor as the browser […]

Never use Window.event

Posted on Aug 9, 2015 in JavaScript | No Comments

I had recently fixed bugs in different applications each with the same mistake. In both instances the developer had used the Window.event object inside a browser event. Something like below: buttonClicked: function() { if(Window.event.currentTarget) { ….. } } The main issue here is we are using the browser created global event object, this is specific […]

SMACSS: Scalable and Modular Architecture for CSS

Posted on Jul 19, 2015 in CSS | No Comments

I have been working a lot recently with CSS and updating application styles. I have always followed the simple pattern of placing all CSS in one file (stlye.css). However when I started started working with SASS I started to break up the styles into logical files, each file folding the styles for a page or […]

UnderscoreJS Compose

Posted on May 31, 2015 in JavaScript | No Comments

After watching a video about UnderscoreJS I saw the use of the compose function, I have never noticed this when skimming through the underscore docs. The compose function: > Returns the composition of a list of functions, where each function consumes the return value of the function that follows. In math terms, composing the functions […]

BelTech 2015 The internet of Things

Posted on May 5, 2015 in Uncategorized | No Comments

The main theme of the discussion was that IoT (Internet of Things) was everywhere. Michael Crossey (Intel) discussed the changes in IoT and how it is related to the dropping cost of tech. This is related to Moore’s law “The observation made in 1965 by Gordon Moore, co-founder of Intel, that the number of transistors […]

BelTech 2015

Posted on May 5, 2015 in Uncategorized | No Comments

I had the pleasure of attending this years BelTech conference hosted in the amazingly designed Titanic building. The conferences was based on a few topics including smart cities, startups and practitioners. I focused on the smart cities and practitioners. Opening Keynote The opening keynote was presented by Kate Atkinson the co founder of Datasnap.io a […]

Backbone Forms

Posted on Apr 22, 2015 in JavaScript | No Comments

I was thinking out loud today about Backbone views and how to manage user inputted data. When I has searched for how to manage forms and handle user data the few examples I saw all used jQuery to pull the values out of the DOM. Which we all know can cause issues with performance and […]

Chrome Dev Tools – IDE Replacement

Posted on Feb 26, 2015 in development | No Comments

I recently talked at locally JavaScript meetup I talked about the top 5 features of the Chrome developer tools. I have given a simular talk at my old company which talked through the dev tools and how they can be used to improve the development process. After the first talk it started to dawn on […]

JetBrains Intellij Workshop

Posted on Feb 16, 2015 in development | No Comments

Today I attended a workshop from the team at Jetbrains, the workshop gave a detailed look into the Intellij IDE. The workshop was presented by Hadi Hariri, with his anti mouse philosophy in mind we dug into the ways to using Intellij to work efficiently. I will outline some of the take away points that […]