Archive for the ‘2012 topics’ Category

Introduction Because web databases let you store data and assets in users’ browsers and provide you with rich query abilities, they enable you to create a new breed of web applications that can work online, offline, and states in between where the connection is flaky. Here are the main differences between the two databases.   […]

What is Sencha Touch? Sencha Touch enables you to quickly and easily create HTML-5 based mobile apps that work on Android, iOS, and Blackberry devices and produce a native-app-like experience inside a browser. Things you’ll need Here’s what you need to get started: The free Sencha Touch 2.0 SDK, currently in developer preview A web server […]

Today’s PhoneGap on Windows Phone 7 tip involves handling orientation changes. This means when a user rotates their phone from portrait to landscape, the content should rotate as well. Not only that, in some scenarios elements on the screen should reformat for readability and ease of interaction. As I mentioned in the introductory post,, you can […]

“So two applications walk into a bar…” One of the user interface constructs that’s unique to Windows Phone is the Application Bar. The App Bar (as we affectionately call it) gives users a standard place to find buttons for commonly used tasks within an application, and menus for lesser used but still necessary tasks. Here’s […]

In this tip, I’m going to show you how to send an SMS message from PhoneGap on Windows Phone using the SMSCompose member of the Microsoft.Phone.Tasks namespace. There are a lot of useful launchers and choosers in that namespace, and I’ll be writing about some in detail in a future blog post. I’m also using the SMSCompose task to […]

When you are creating integration points between your PhoneGap HTML5 application and the Silverlight hosting application, there are a few ways you can go about crossing the gap (pun intended). This tip is an example of one of those techniques. It’s very flexible, and is typically going to be used when you have one off types of […]

We are going to build a client side data layer for a note-taking web app: From a data model point of view, it’s about as simple as it can get. The app allows users to write text notes and tag them with specific key words. Each note will have a unique identifier that will serve as its […]

[This documentation is preliminary and is subject to change.] Windows Internet Explorer 10 and Metro style apps using JavaScript support the Indexed Database API (:IndexedDB”). IndexedDB enables you to store structured data. Unlike cookies and DOM Storage, IndexedDB provides features that enable you to group, iterate, search, and filter JavaScript objects. The IndexedDB API is defined by the World […]

IndexedDB is designed to cover most cases that need client-side storage. However, it is not designed for a few cases like the following: Internationalized sorting. Not all languages sort strings in the same way, so internationalized sorting is not supported. While the database can’t store data in a specific internationalized order, you can sort the […]