Archive | HTML 5

requirejs

Building Modular Web Applications with Backbone.js and RequireJS — Sample App

In recent months, I have been sharing different versions of the Employee Directory sample application built with different technology stacks, different frameworks, and different back-end (REST services) implementations. A number of you have asked for a modular version of the application built using RequireJS. So here it is. RequireJS A complete discussion of the benefits […]

43 commentsContinue Reading
js

Building Pluggable and Mock Data Adapters for Web and PhoneGap Applications

This is not rocket science, but when planning your web or mobile architecture, it is important to make sure your client application is not tightly coupled to a specific data access strategy. The Problem In tightly coupled applications, the presentation logic is intertwined with data access logic (for example, $.ajax() calls), and it leads to […]

8 commentsContinue Reading
webplatform

Exploring and Contributing to Web Platform Docs

Every programming language, platform, or library has its go-to web site for documentation and API reference: You probably go here if you are a Java developer, here for PHP, here for Ruby, here for jQuery, here or here for your database documentation needs, etc. But where do you go for HTML, JavaScript, and CSS documentation? […]

2 commentsContinue Reading
nodejs

NodeCellar: Sample Application with Backbone.js, Twitter Bootstrap, Node.js, Express, and MongoDB

In my previous post, I shared my recent experience building a RESTful API with Node.js, MongoDB, and Express. In this post, I’m sharing the client application that uses that RESTful API. The Node Cellar application allows you to manage (retrieve, create, update, delete) the wines in a wine cellar database. (more…)

150 commentsContinue Reading
phonegap

Simple Offline Data Synchronization for Mobile Web and PhoneGap Applications

Being able to work offline is an expected feature of mobile applications. For data-driven applications, it means that you — the developer — will have to store (a subset of) your application data locally, and implement a data synchronization mechanism that keeps your local and server data in sync. In this article, I describe a […]

71 commentsContinue Reading

Using Backbone.js with jQuery Mobile

Backbone.js is an architectural framework that helps you write well-structured Web applications. It is not, however, a user interface framework and it therefore doesn’t help you with the way your application looks. Backbone’s confined scope is a good thing: it’s lightweight, non-intrusive, not coupled to things you don’t need, and it lets you use the […]

60 commentsContinue Reading

Sample App with Backbone.js and Twitter Bootstrap

Backbone.js is a lightweight JavaScript framework that provides the basic infrastructure (Model, Collection, View, and Router classes) to bring structure to your Web applications. Twitter Bootstrap is a UI toolkit that provides simple and flexible HTML, CSS, and Javascript to implement popular user interface components and interactions. In other words, Backbone.js and Twitter Bootstrap focus […]

133 commentsContinue Reading
phonegap

Sample Mobile App with Backbone.js, PhoneGap, and a Local Database

In my previous post, I shared a simple Wine Cellar application built with Backbone.js and packaged as a mobile app with PhoneGap. That version of the application gets its data from a set of RESTful services, which means that you can only use it while online. In this post, we explore an offline version of […]

75 commentsContinue Reading

css.php