Enterprises are feeling the pressure of the need to develop applications that allow users to use their own devices to access enterprise applications. What options do enterprises have to solve this problem? If an organization has one homogenous device, then native, non-browser applications could be an option. But most enterprises would have to develop capabilities in multiple mobile platforms (for …
Tutorial – HTML5 Essentials for Enterprise SPA Development
Single Page Application architectures allow rich, responsive application user interfaces to be developed. Enterprises have the ability to expand applications to more devices by implementing browser-based SPAs with JavaScript and HTML5. But developers need a deep understanding of JavaScript and HTML5 features to fully take advantage of SPA. This tutorial will describe the new features of HTML5, making an attempt to …
Tutorial – JavaScript Essentials
If you’ve been developing enterprise web applications, it’s likely that you have applied JavaScript in some fashion – probably to validate user input with a JavaScript function that validates a form control, manipulate an HTML document object model (DOM) for a user interface effect, or even to use AJAX to access the server to eliminate a page refresh. Single Page …
Introducing Marionette-Require-Boilerplate for Your Single Page Application
Marionette-Require-Boilerplate (MRB) is a simple boilerplate I created to help get Single Page Applications off the ground with a small starter project. It incorporates a number of great tools and best practices to save time in the early stages of a project. MRB integrates such cutting edge libraries as Backbone, Marionette, Require, Grunt, Jasmine, Bootstrap, and jQuery Mobile, among others. These libraries work together to help you start your …
Trailing Commas in JavaScript
The Scenario You’re working on a JavaScript project, and your project includes the following object definition: You go to add another method to your object. You return to your test page and get mysteriously unexpected behavior. What happened? You’ve probably recognized the mistake in the above code, but then if you write much JavaScript, there’s a good chance you’ve made …