Database Reference
In-Depth Information
The concept is that a combination of XAML and a language of your choice
(C#, Visual Basic, C++, and even JavaScript) are used to develop Windows Store
applications (these were originally called Metro apps, but this name was
changed) that are aimed at being touch-enabled and using a different user
interface (UI) experience. A key feature of Windows Store application is the
tile UI, in which applications update their “live tiles.” The technology stack is
shown in Figure 9-3.
FIguRe 9-3 The Windows 8 development stack (note that Metro style has been
replaced with Windows Store)
ACCeSSIng DATA FRoM HTMl5
You can access data from HTML/JavaScript in many ways. The simplest, of
course, is to have server-side code generate the page with the data embed-
ded. This requires a page refresh for any data changes, but it can often be a
good method.
Alternative methods involve having a web service called from JavaScript, which
returns the data required. The earliest approaches used a technique called
AJAX, for Asynchronous JavaScript and XML. More recently, this has been
mostly replaced by using JSON (JavaScript Object Notation) instead of XML to
reduce the amount of data flowing from the server to the browser. Libraries
such as jQuery make this approach easy, with an object call: jQuery.getJSON .
Search WWH ::




Custom Search