I was recently introduced to a new library called Jolt (https://github.com/bazaarvoice/jolt). Jolt performs JSON transformations which allows a developer to convert from one JSON structure to another JSON structure using a transformation mapping (created using JSON) and not having to write code. This is pretty amazing for Java applications as it avoids having to call […]
JavaScript
Error: Node Sass does not yet support your current environment
So you just upgraded NodeJS and expect, like everything else out there, that you will restart your app and everything will be fine. When you restart the app though you run into this nasty error about Node Sass: Error: Node Sass does not yet support your current environment. You sigh, question yourself for thinking an […]
Facebook URL Sharing of AngularJS Application Hosted on Amazon S3
Building Single Page Applications (SPA) improves the user experience and increases performance of websites for customers. Unfortunately, these applications cause issues when those urls are rendered on social media sites such as Facebook. This article describes the steps necessary to enable Facebook URL sharing of an AngularJS application that is hosted on Amazon S3. Unfortunately, […]
Immediately-Invoked Function Expressions 101
Immediately-Invoked Function Expressions or IIFEs (pronounced like iffys) are one of the least understood core JavaScript concepts I’ve encountered when interviewing new candidates or engaging with new clients. 8 out of 10 have no idea what an IIFE is. 1 out of 10 can regurgitate the definition from Wikipedia. Only 1 out of 100 though actually […]
Cross Domain ExtJS File Uploading
Uploading forms is a basic operation for most applications along with other asynchronous requests, many which may go cross domain. While we now have CORS support for most operations, file uploading in ExtJS is behind. Ext.form.Basic.hasUpload describes the file uploading process Returns true if the form contains a file upload field. This is used to determine […]
DeftJS Dependency Injection with ExtJS or Sencha Touch
DeftJS provides functionality that allows you to create ExtJS and Sencha Touch applications that are robust and highly maintainable by reducing the spaghetti code created by complex application business logic. Out of box ExtJS and Sencha Touch give us access to Controllers, ViewContollers, Models, and Views. Business logic can be performed in the Controllers and […]
Magellan Sticky Side Nav Issue with Foundation
While using Foundation (https://foundation.zurb.com/) I came across the issue of using the Magellan stick navigation plugin (https://foundation.zurb.com/docs/components/magellan.html). For those not familiar, the plugin allows an element to stay on the screen no matter how far down you scroll. This is really nice for navigations and shopping carts. Unfortunately there is an issue with this plugin […]