Skip to content

IBM developerWorks : XML : Technical library
Syndicate content developerWorks
The latest content from IBM developerWorks
Updated: 1 day 4 hours ago

Creating mobile Web applications with HTML 5, Part 3: Make mobile Web applications work offline with HTML 5

Tue, 06/29/2010 - 05:00
Part of the appeal of mobile applications is that you can take your application and its data with you wherever you go. One reality of mobile is, at times, a mobile device does not have a working connection to the Internet. This might seem to be an insurmountable problem for mobile Web applications. However, Web applications have evolved and become capable of working offline. In this article, you will learn how to offline-enable your mobile Web application and learn to detect when your application goes from offline to online and vice versa.
Categories: XML

Creating mobile Web applications with HTML 5, Part 2: Unlock local storage for mobile Web applications with HTML 5

Tue, 06/29/2010 - 05:00
One of the most useful new features in HTML 5 is the standardization of local storage. Finally, Web developers can stop trying to fit all client-side data into 4 KB Cookies. Now you can store large amounts of data on the client with a simple API. This is a perfect mechanism for caching, so you can dramatically improve the speed of your application -- a critical factor for mobile Web applications that rely on much slower connections than their desktop brothers. In this second article in this series on HTML 5, you will see how to use local storage, how to debug it, and you will see a variety of ways to use it to improve mobile Web applications.
Categories: XML

Creating mobile Web applications with HTML 5, Part 1: Combine HTML 5, geolocation APIs, and Web services to create mobile mashups

Tue, 06/29/2010 - 05:00
In the first part of this five part series, you will tap into one of the most popular new technologies available to mobile Web applications: geolocation. High-end smartphones all have GPS built-in to them, and now you will learn how it can be used by a Web application. In this article you will learn how to use the various aspects of the geolocation standard and how to use it with some popular Web services to create an interesting mobile mashup.
Categories: XML

Build a web-based notification tool with XMPP

Tue, 06/22/2010 - 05:00
Real-time web applications are networked applications, with web-based user interfaces, that display Internet information as soon as it's published. Examples include social news aggregators and monitoring tools that continually update themselves with data from an external source. In this tutorial, you will create Pingstream, a small notification tool that uses PHP and JavaScript to communicate over the Extensible Messaging and Presence Protocol (XMPP), a set of XML technologies designed to support presence and real-time-communications functionality.
Categories: XML

Express social objects in Atom format

Tue, 06/15/2010 - 05:00
The popularity of social networking sites has given rise to an emerging standard for web feeds that express what people are doing online. With Activity Streams, an extension to the Atom format, your websites can syndicate social activity. Explore how the Activity Streams format expresses social objects, learn how to build an activity-feed encoder in PHP, and discover some uses Activity Streams might serve in the enterprise.
Categories: XML

Produce 60-second radio theatre with XML, PHP and Festival

Tue, 06/15/2010 - 05:00
Produce and record a 60-second theatre sound play using XML, PHP, and Festival, and provide stage directions, inject sound effects, and control dialogue flow, with a cast of dynamically allocated Festival voices.
Categories: XML

Testing SOA services using Rational Service Tester for SOA Quality

Tue, 06/15/2010 - 05:00
This article shows you how to use IBM Rational Service Tester for SOA Quality testing. You can use this tool to perform functional regression testing. Its unique, code-free design supports testers of all experience levels.
Categories: XML

Writing XQuery and SQL/XML queries for DB2 pureXML

Thu, 06/03/2010 - 05:00
This article provides a reference to syntax and examples for common types of queries for working with XML data in DB2(R). This reference is short and simple, and it can be used as a resource as you develop your XML-based applications.
Categories: XML

Build a digital book with EPUB

Thu, 06/03/2010 - 05:00
Need to distribute documentation, create an eBook, or just archive your favorite blog posts? EPUB is an open specification for digital books based on familiar technologies like XML, CSS, and XHTML, and EPUB files can be read on portable e-ink devices, mobile phones, and desktop computers. This tutorial explains the EPUB format in detail, demonstrates EPUB validation using Java technology, and moves step-by-step through automating EPUB creation using DocBook and Python.
Categories: XML

Thinking XML: Use XML pattern tools for systems analysis

Wed, 06/02/2010 - 05:00
Systems optimization is a growing field, especially in adaptive, autonomic systems, but also in traditional information workflows. Much of the material accumulated in the monitor phase is available in some form of XML. Rather than apply complicated, monolithic analysis tools, you can benefit when you apply the pattern dispatch mechanisms inherent in XML. This saves effort and increases flexibility as it supports a library of analysis primitives that you can redeploy for high-level reports as well as fine-tuning. Learn to apply the likes of XPath and XSLT patterns much more broadly in order to support analysis and drive systems optimizations.
Categories: XML

Using the developerWorks XML validation tools

Thu, 05/27/2010 - 05:00
If you can't find a validating XML editor you like, or prefer not to take the time now to learn how to use one, you can edit the XML for your developerWorks articles and tutorials using your preferred text editor. Ian Shields has created some great tools to help you validate, transform, and preview your article or tutorial. This article shows you how easy it is to use those tools on Microsoft Windows or Linux.
Categories: XML

Simple server-side 2G phone apps

Tue, 05/25/2010 - 05:00
Mobile phones are transforming economies and societies all over the world, but often with phones that might be considered out-of-date by gadget geeks in more developed nations. The good news is that applications that work with these phones can be very simple to write, and they give your application a huge potential user base. In this article, learn how to write programs that respond to specialized requests for information from 2G phones.
Categories: XML

Creating a NIEM IEPD, Part 4: Assemble the IEPD

Tue, 05/18/2010 - 05:00
In the first three articles of this series, you learned to model a NIEM exchange and define subset and extension schemas that implement that model. Now you take the final step and assemble the schemas, documentation, and all the other artifacts of an exchange into a complete NIEM-conformant IEPD. This article also describes the process of validating and publishing your IEPD.
Categories: XML

Creating a NIEM IEPD, Part 3: Extend NIEM

Tue, 05/18/2010 - 05:00
In the first two articles of this series, you learned to model a NIEM exchange, map it to the NIEM base model, and create a subset of the NIEM model for use in your IEPD. Now explore what to do about the parts of your model that do not map directly to NIEM, as you create extension and exchange schemas to define your custom types and properties.
Categories: XML

Creating a NIEM IEPD, Part 2: Map and subset NIEM

Tue, 05/18/2010 - 05:00
Part 1 of this series described the process of creating a UML model of an XML information exchange to be implemented in the National Information Exchange Model (NIEM). In this article, take the next step -- map the model to NIEM to determine what parts of NIEM the exchange can reuse. Also learn how to create a subset of the NIEM model to include in an IEPD.
Categories: XML

Creating a NIEM IEPD, Part 1: Model your NIEM exchange

Mon, 05/17/2010 - 05:00
The National Information Exchange Model (NIEM) is rapidly becoming the most important XML exchange standard for the U.S. government and its information partners. This article, the first in a four-part series, provides an overview of the process for defining a NIEM information exchange. It then takes you through the first step -- modeling your exchange using UML -- with special considerations for NIEM modeling concepts. A simple case study is used to illustrate the process.
Categories: XML