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