 |
 |
 |
 |
 |
 |
Use XStream to serialize Java objects into XML XML serialization has a myriad of uses, including object persistence and data transport. However, some XML-serialization technologies can be complex to implement. XStream is a lightweight and easy-to-use open source Java library for serializing Java objects to XML and back again. Learn how to set up XStream, and discover how to use it to serialize and deserialize objects as well as to read configuration properties from an XML configuration file. |
|
Articles |
|
23 Jul 2008 |
|
| |
Introducing OpenDocument The OASIS Open Document Format for Office Applications (ODF) is an XML standard that lets you store and exchange office application documents, including word-processor, spreadsheet, and presentation files. Whether you try to perform special tasks on files saved from such applications or work on applications to process such files, you should become familiar with this important format. Learn about the two possible forms of OpenDocument files, as multipart packages and as single XML documents, and learn how to structure text and tabular information in OpenDocument. |
|
Tutorial |
|
22 Jul 2008 |
|
| |
Deal with errors in XML parsing XML parsing is a part of nearly every enterprise application. Error handling, though, is absent from most of those same applications. Learn how to use the Simple API for XML (SAX) to deal with errors in your XML parsing -- even if your applications are using the DOM, JAXP, or another API to deal with XML. |
|
Articles |
|
22 Jul 2008 |
|
| |
Authoring with the developerWorks XML templates Welcome, authors! This article shows you how to prepare English-language
technical articles and tutorials for publication on the worldwide developerWorks
site. The steps are simple. You download our XML-based template for articles or for
tutorials, fill in the template using any validating XML editor or your preferred
Microsoft Windows or Linux text editor, check it to ensure it follows the tagging
structure as defined in the developerWorks schema, and preview your article or
tutorial. Tips for composing your content and submitting it to the developerWorks
staff are also included. |
|
Articles |
|
15 Jul 2008 |
|
| |
E4X: JavaScript on steroids Learn to use ECMAScript (aka JavaScript) for XML (E4X),
and discover the capabilities of the E4X enhancement, which was designed to facilitate
simple and easy parsing, calculating, editing, and related activities on XML data. |
|
Articles |
|
15 Jul 2008 |
|
| |
IBM Mashup Center and the InfoSphere MashupHub, Part 2: In-depth look at Feed Mashup Editor within IBM Mashup Center's InfoSphere MashupHub
In Part 2 of this series, explore the InfoSphere MashupHub more deeply and extend the
use-case scenario to showcase the different components and illustrate the advantages of using Web 2.0 concepts, such as data feeds and feed mashups in an enterprise.
|
|
Articles |
|
10 Jul 2008 |
|
| |
Evaluating XPaths from the Java platform XPath makes selecting elements, attributes, and text in an XML document easy.
Learn how to evaluate XPaths from Java programming, and work with the returned nodes. |
|
Articles |
|
08 Jul 2008 |
|
| |
Integrate your PHP application with Google Calendar Google Calendar allows Web application developers to access user-generated
content and event information through its REST-based Developer API. PHP's SimpleXML
extension and Zend's GData Library are ideal for processing the XML feeds generated
by this API and using them to build customized PHP applications. This article
introduces the Google Calendar Data API, demonstrates how you can use it to browse user-generated calendars; add and update calendar events; and perform keyword searches. |
|
Articles |
|
08 Jul 2008 |
|
| |
Ajax overhaul, Part 3: Retrofit existing sites with jQuery, Ajax tabs, and photo carousels Ajax techniques have changed the face of large, commercial Web applications,
but many smaller Web sites don't have the resources to rebuild their entire user interface overnight. New features
should justify their costs by solving real-world interface problems and improving user
experience. This series is teaching you to modernize your user interface incrementally using open source, client-side libraries. In this installment, you learn to turn slow, messy, annoying product-details pages into fast, elegant ones using DHTML and Ajax. You do so using the principle of progressive enhancement, ensuring that your site remains accessible to all sorts of user-agents.
|
|
Articles |
|
08 Jul 2008 |
|
| |
Ten XML Schemas you should know In this article, look at some top XML schemas that provide solutions for all sorts of problems, from the basics of Web services to data description. You'll also cover database-like solutions that involve contacts and invoices. The schemas in this article were chosen for their usefulness and utility, plus their impact on the XML community in how information is shared and exchanged using the XML format. |
|
Articles |
|
01 Jul 2008 |
|
| |
IBM Mashup Center and the InfoSphere MashupHub, Part 1: Get started with InfoSphere MashupHub Learn about the architecture, tools, and utilities of InfoSphere MashupHub, part of the IBM
Mashup Center product. Then, explore a simple use case scenario that showcases the
different components and illustrates the advantages of using Web 2.0 concepts. This
article is the first in a two-part series.
|
|
Articles |
|
26 Jun 2008 |
|
| |
Discovering XProc Since October 2005, the W3C XML Processing Model Working Group (WG) has collaborated on a Working Draft (WD) specification titled "XProc: An XML Pipeline Language." As early implementations start to appear on the horizon and the anticipation of a second Last Call by the W3C WG (paving the way to a W3C draft recommendation), it has become clear that over the past 12 months, the XProc specification effort has picked up pace. Discover what XProc is today and its future, get the back story on some of the more contentious issues, and even run through a few examples. |
|
Articles |
|
24 Jun 2008 |
|
| |
WebSphere DataPower and DB2 pureXML, Part 2: DB2 pureXML as an audit log for WebSphere DataPower An important aspect of structure and content validation of XML document
instances is the ability to track validation failures. Part 1 of this series
illustrated structure and content validation of XML document instances through XML
schema and Schematron. The validation was performed through the IBM WebSphere
DataPower SOA appliance. In this article, see how IBM DB2 pureXML can further
complement the WebSphere DataPower SOA appliance by providing an easily accessed and
queried audit log. The scenario illustrated in this article is applicable to any
situation where XML document instances are being exchanged. |
|
Articles |
|
19 Jun 2008 |
|
| |
Locate specific sections of your XML documents with XPath, Part 2 Part 1 of this tutorial gave you a foundational understanding of XPath. Using slash notation, wildcards, unions, and simple text, you learned how to locate elements and attributes anywhere within an XML document. However, sometimes you need more than just matching based on the name of a node. Predicates give you advanced and refined searching capabilities, allowing you to evaluate the values of attributes and the parent and child nodes of a targeted element. Rather than find a wider node set and refine or filter that set programmatically, you can add predicates to your XPaths to find exactly the nodes you want. |
|
Tutorial |
|
17 Jun 2008 |
|
| |
Using the developerWorks XML validation tools 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. |
|
Articles |
|
13 Jun 2008 |
|
| |
Configure aliasing for transactions in WebSphere Customer Center Explore how to use customer terminology in WebSphere Customer Center using the transaction aliasing feature. |
|
Articles |
|
12 Jun 2008 |
|
| |
Locate specific sections of your XML documents with XPath, Part 1 XML is a data format concerned primarily with compatibility and flexibility. But
as useful as XML is, it's limited without the abilities to find specific portions of a
document quickly and to filter and selectively locate data within a document. XPath
provides the ability to easily reference specific text, elements, and attributes within
a document -- and with a fairly low learning curve. Additionally, XPath is key to many other XML vocabularies and technologies, such as XSL and XQuery. This tutorial will teach you the fundamentals of XPath, including all of its various selectors and semantics, in an example-driven and hands-on manner. |
|
Tutorial |
|
10 Jun 2008 |
|
| |
XForms and Ruby on Rails at the doctor's office, Part 4: Implementing the doctor and patient lookup XForms This is the fourth article in a four-part series about using XForms, DB2
pureXML, and Ruby together to more easily create Web applications. In this series
you will develop a hypothetical application for managing patient information at a
doctor's office. You will get a taste of the individual strengths of each
technology, but you will also see how to integrate them together. In Part 4 of the
series, you continue to develop XForms for the doctor's office including an all new form to look up patients by last name. |
|
Articles |
|
10 Jun 2008 |
|
| |
XForms and Ruby on Rails at the doctor's office, Part 2: Implementing the patient information XForm This is the second article in a four-part series about using XForms, DB2 pureXML, and Ruby together to more easily create Web applications. In this series you will develop a hypothetical application for managing patient information at a doctor's office. You will get a taste of the individual strengths of each technology, but you will also see how to integrate them together. In Part 2 of the series, you will begin implementing the application. |
|
Articles |
|
04 Jun 2008 |
|
| |
XForms and Ruby on Rails at the doctor's office, Part 1: Setting up IBM DB2 9 pureXML This is the first article in a four-part series about using XForms, DB2 pureXML, and Ruby together to more easily create Web applications. In this series you will develop a hypothetical application for managing patient information at a doctor's office. You will get a taste of the individual strengths of each technology, but you will also see how to integrate them together. In this first part of the series, you will examine how XForms, DB2 pureXML, and Ruby on Rails can all help more rapidly build XML-centric Web applications. |
|
Articles |
|
04 Jun 2008 |
|
| |
Tip: Use the new microformats API in your Firefox 3.0 Extensions The upcoming Firefox 3.0 release has built-in support for microformats in the form of an API that you can access from a Firefox extension. In this tip, you follow a simple example of how to use this API from within your extension code. You take a skeleton Hello World extension and give it the ability to store an hCard from any Web page and then use that stored hCard to populate a Web form. |
|
Tips |
|
03 Jun 2008 |
|
| |
XForms and Ruby on Rails at the doctor's office, Part 3: Implementing the nurse and doctor XForm This is the third article in a four-part series about using XForms, DB2 pureXML, and Ruby together to more easily create Web applications. In this series you will develop a hypothetical application for managing patient information at a doctor's office. You will get a taste of the individual strengths of each technology, but you will also see how to integrate them together. In Part 3 of the series, you will develop a form for nurses to go back and edit patient data, and you'll also learn what you need to do in Ruby to make this happen. |
|
Articles |
|
03 Jun 2008 |
|
| |
Use JRuby on Rails and XML to supercharge Ajax with a Java Application Server The Ruby on Rails framework has handy XML features that will make developing
with and serving database data in XML format to your JavaScript applications easier
than ever. JavaScript also has built-in XML parsing capabilities that make it a snap
to receive and parse data in XML format. But what if you now want to hook into Java
applications without having to deploy another server? That's where JRuby comes in.
JRuby on Rails is the Java implementation of the Ruby on Rails framework and brings the benefits of Rails to Java programming by allowing deployment of Ruby apps to Java application servers. In this tutorial, you'll develop a JRuby on Rails application deployable to a Java application server that will serve database data in XML format to an Ajax client that you'll build for film lovers to manage their online films database. You'll also deploy a couple of Java Server Pages pages on the same Java application server to assist the Ajax client in adding and updating films. |
|
Tutorial |
|
27 May 2008 |
|
| |
Implement Semantic Web standards in your Web site With Yahoo's recent announcement that they will implement support of
Semantic Web standards in their search engine, the benefits that the Semantic Web
has for your site have never been clearer. In addition to the existing benefits such as your structured content giving you a free, open-ended API, you now get the opportunity for increased search rankings, and more importantly, increased relevance because the search engine can better understand what the content of your site is about. In this tutorial you will learn to implement a simple social networking site using PHP and MySQL, which will implement Semantic Web standards such as hCard and Friend of a Friend (FOAF) as part of a semantic Uniform Resource Identifier (URI) scheme. |
|
Tutorial |
|
20 May 2008 |
|
| |
Process and integrate Google Notebook data with PHP Google Notebook is a free service that allows users to save and share notes and Web clippings in an online journal. A REST-based API allows developers to build customized PHP applications around this service using SimpleXML. In this article, you learn how to use the API, with examples of reading notebooks
and notebook contents using PHP. |
|
Articles |
|
20 May 2008 |
|
| |
Improve the performance of your XML applications using Xerces-C++ XML is becoming a main staple in data exchange both between applications and on the Web. Learn how to improve the performance of your XML applications by using the Xerces-C++ parser properly. You'll learn the best ways to use the parser efficiently, and which features and properties affect its performance. |
|
Articles |
|
16 May 2008 |
|
| |
Integrate XML into your enterprise using WebSphere Federation Server Version 9.5 Walk through various use cases to help you build your distributed XML applications quickly. |
|
Tutorial |
|
15 May 2008 |
|
| |
Understanding SPARQL The Semantic Web, a knowledge-centric model for the Web's future, supplements human-readable documents and XML message formats with data that can be understood and processed by machines. SPARQL Protocol and RDF Query Language (SPARQL) is to the semantic Web as SQL is to a relational database. It allows applications to make sophisticated queries against distributed RDF databases, and is widely supported by many competing frameworks. This tutorial demonstrates its use through the example of a team tracking and journaling system for a virtual company. |
|
Tutorial |
|
15 May 2008 |
|
| |
Schema-aware processing with XSLT 2.0
With the release of version 2.0, XSLT now allows you to design your stylesheets to
be schema-aware. A schema-aware XSLT system offers many benefits, including the
ability to validate input trees prior to the XSLT transformation to ensure that the
XSLT stylesheet only processes valid input, as well as the ability to validate output trees to ensure that the XSLT transformation is producing the valid XML output. You are also able to specify data types for variables, for input parameters for user-defined functions and templates, and for return values from the functions. In this article, learn more about the concept of schema-aware facilities and follow some examples that illustrate the benefits. |
|
Articles |
|
15 May 2008 |
|
| |
Learn 10 good XML usage habits Make your XML work easier with the ten tips in this article -- ultimately you'll be less prone to errors and more productive. |
|
Articles |
|
13 May 2008 |
|
| |
XForms and DB2 pureXML Understand the end-to-end exchange of XML data from an XForms-based browser
to an IBM DB2 database with full XML support. Learn how easy it is to create XForms
and have them communicate with a DB2 database, where XML data can be stored,
retrieved, or deleted. Learn, also, how to create the XForms that access the DB2
pureXML through Universal Services. |
|
Articles |
|
08 May 2008 |
|
| |
Using XQuery and VoiceXML XQuery and VoiceXML are a perfect combination. XQuery provides a very
simple and direct method to generate XML documents from other XML documents.
Because you can pick and choose the different elements that you want from the
source XML file, and format the output file in any way you wish, you can easily
produce a VoiceXML document that contains the exact information you need. In
this tutorial, you see how to employ XQuery with XML documents to build complex
and dynamic systems that take input and information from a VoiceXML environment
and combine them with existing XML documents to produce interactive applications. |
|
Tutorial |
|
06 May 2008 |
|
| |
Internationalize your apps with XSLT To meet the needs of users worldwide, today's Web applications often require
internationalization. In this article, you'll see an approach for client-side internationalization based on XSLT. This solution only requires that both the data to be internationalized and the server stores are in XML. |
|
Articles |
|
06 May 2008 |
|
| |
Ajax overhaul, Part 2: Retrofit existing sites with jQuery, Ajax, tooltips, and lightboxes Asynchronous JavaScript + XML (Ajax) techniques have changed the face of large, commercial Web applications, but many smaller Web sites
don't have the resources to rebuild their entire user interface (UI) overnight. New features should justify
their costs by solving real-world interface problems and improving user experience. With this series,
learn to modernize your UI incrementally using open source, client-side libraries. In this installment,
you learn to eliminate pop-up windows and navigational dead ends using simple lightbox and tooltip
techniques. You learn to do so using the principle of progressive enhancement, guaranteeing that
advanced UI features don't hamper your site's accessibility and adherence to Web standards.
|
|
Articles |
|
06 May 2008 |
|
| |
Universal Services for pureXML using Data Web Services Get started with configuring, testing, and modifying the Universal Services. |
|
Articles |
|
01 May 2008 |
|
| |
Create an Ajax-based IM client The ability to instant message (IM) co-workers and friends is a great convenience, but some environments prohibit the use of instant messaging clients in the workplace due to security concerns. The exercise in this tutorial resolves any security concerns by showing you how to use Ajax to create a Web-based IM client that turns IM traffic into plain Web traffic by creating an instant messaging "bot" and a corresponding Web application. While it's not a production application, it demonstrates several nifty Ajax techniques, such as how to use Prototype to do easier DOM manipulation and how to easily update sections of a Web page, either once or repeatedly. |
|
Tutorial |
|
29 Apr 2008 |
|
| |
Use XQuery from a Java environment The XQuery API makes querying and searching XML documents easy, and Sun's XQuery API for Java brings these capabilities to Java applications. |
|
Articles |
|
29 Apr 2008 |
|
| |
Jenabean: Easily bind JavaBeans to RDF The Resource Description Framework (RDF) is the World Wide Web
Consortium (W3C) proposed standard for linking and expressing data on the Web.
Java developers who develop applications for the Semantic Web will need to convert RDF properties to or from Java types. Jenabean uses the Jena Semantic Web framework's flexible RDF/OWL API to persist JavaBeans, making the task of writing these applications easier and more familiar to Java developers. |
|
Articles |
|
29 Apr 2008 |
|
| |
Implementing a portlet interface to a remote human task Developing portlets that provide user interfaces to human tasks in a remote business process presents some challenges. The My Tasks and Task List portlets included with IBM WebSphere Portal are useful for some scenarios. If a custom user interface is required for the human tasks, the developer must ensure that the runtime environment and the portlet implementation are correct. This article covers installing the required software for the runtime environment, developing the portlet application, and testing the application. The sample code includes a business process application, basic portlets, and cooperative portlets that were tested on WebSphere Portal V6.0.1 and WebSphere Process Server V6.0.2. |
|
Articles |
|
29 Apr 2008 |
|
| |
Scala and XML Scala is a popular new programming language that runs on the Java Virtual Machine (JVM.) Scala compiles into byte-code and thus it can leverage the Java programming language. Its syntax, however, makes it a powerful alternative to Java in certain scenarios. One of those scenarios is XML processing. Scala lets you navigate and process parsed XML in several ways. It also has first class support for XML built right in, so there is no need to create strings of XML or programmatically build DOM trees. In this article, you will see these aspects of Scala in action and see how Scala can make working with XML a joy to do. |
|
Articles |
|
22 Apr 2008 |
|
| |
Use the YouTube API with PHP The YouTube video sharing site allows Web application developers to access public
content through its REST-based developer API. The SimpleXML extension in PHP is ideal for processing the
XML feeds generated by this API and using them to build customized PHP applications. This article introduces
the YouTube Data API, demonstrates how you can use it to browse user-generated video content; access video
metadata, comments and responses; and perform keyword searches. |
|
Articles |
|
18 Apr 2008 |
|
| |
Data binding with Castor, Part 4: Bind your Java objects to SQL databases Castor allows you to bind the data in your Java objects directly into database
tables. Learn how to marshal from Java objects to SQL in this article. |
|
Articles |
|
18 Apr 2008 |
|
| |
XML application migration from DB2 for z/OS V8 to DB2 9, Part 3: Sample DB2 for z/OS XML application migration scenario Step through the XML application migration process using an example
scenario. Create a sample application using DB2 for z/OS, Version 8 XML
functionality, then migrate that application using DB2 9 for z/OS XML capabilities. |
|
Articles |
|
17 Apr 2008 |
|
| |
Use HATS to generate Atom feeds for mainframe applications
Mashups, a critical component of Web 2.0, aggregate feeds
from many applications to generate new content. Because many
of today's core enterprise business applications run in
mainframes, the content in mainframes must be delivered as
feeds before mashups can be successful in the
enterprise. This article presents a step-by-step guide to
using IBM WebSphere Host Access Transformation Services
(HATS) to generate Atom feeds for mainframe content.
|
|
Articles |
|
15 Apr 2008 |
|
| |
Services-based enterprise integration patterns made easy, Part 3: Web services and registry Part 1 and Part 2 of this series covered the basic concepts necessary to
develop services-based integration patterns. This article, the third in the series,
and the upcoming Part 4 further develop these ideas so the services-based
integration patterns become full-blown services-based patterns. This article in
particular deals with the components that are together commonly referred to as Web
services, which were originally designed for services that can be accessed over the
Internet. You'll also see that many of the Web services components can be used with
services that don't use the Internet and that only require a network connection. |
|
Articles |
|
14 Apr 2008 |
|
| |
Planning a Semantic Web site The Semantic Web brings with it the opportunities for users to get smarter
search results, and for site owners to get more targeted traffic as users find what they really want. But these benefits don't just magically appear. This article leads you through the aspects of both information architecture and general infrastructure you need in place to truly take advantage of this burgeoning opportunity. |
|
Articles |
|
10 Apr 2008 |
|
| |
XML application migration from DB2 for z/OS V8 to DB2 9, Part 2 : Comparing XML functionality in DB2 9 to DB2 V8 Learn about the XML functionality in DB2 9 for z/OS and compare it with that
of DB2 for z/OS V8. This article discusses the new XML features introduced in DB2 9,
and goes into the details regarding the impact the new XML support has on migrating
existing XML-based applications. This is the second of a three-article series on
migrating your XML applications from DB2 for z/OS V8 to DB2 9 for z/OS. |
|
Articles |
|
10 Apr 2008 |
|
| |
Using the SQLXML data type If you're a Java 2 Enterprise Edition (J2EE) developer, you'll want to preview the SQLXML technology. Check out procedures to create an XML document, store an XML document in a relational database, retrieve an XML document from a database, and navigate an XML document with the SQLXML Java data type. |
|
Articles |
|
07 Apr 2008 |
|
| |
Use WebSphere Service Registry and Repository as the master registry for DB2 pureXML schemas In this article, learn how you can integrate WebSphere Service Registry and
Repository (WSRR) with DB2 pureXML. The WSRR product helps you establish governance
around your use of XML schema, while the DB2 pureXML XML schema Repository ensures
integrity of your XML data. Schemas can automatically be inserted into the schema
repository from within WSRR. |
|
Articles |
|
03 Apr 2008 |
|
| |
How XQuery extends XPath XPath and XQuery are similar in some ways. XPath is even an integral part of XQuery.
Both languages allow you to select bits of data from an XML document or an XML document store.
In this article, you'll find descriptions of XPath and XQuery, and learn how XQuery extends XPath. |
|
Articles |
|
01 Apr 2008 |
|
| |
Use an XML database in PHP and Java applications Native XML databases have grown in popularity along with XML, because data
is stored as native XML, rather than through tables in a traditional database. Using
a native XML database means that a change to the schema requires minimal changes to
your code and no change to the database. PHP and Java(TM) developers can benefit greatly
from using native XML databases. In this tutorial, you will get quickly up to speed using a native XML database and see how to use it to benefit XML development. |
|
Tutorial |
|
25 Mar 2008 |
|
| |
Tip: Perform trackbacks with PHP Trackbacks play an important role in allowing blog readers to find and follow links to useful related content. The PEAR Services_Trackback package lets developers manually generate these trackbacks through a well-defined PHP API that takes care of creating trackback requests and parsing XML responses. |
|
Tips |
|
25 Mar 2008 |
|
| |
XML application migration from DB2 for z/OS V8 to DB2 9, Part 1: Partial updates to XML documents in DB2 9 for z/OS The first of a three-article series on migrating your XML applications from
DB2 for z/OS V8 to DB2 9 for z/OS, this article describes a method for performing
partial updates to XML documents stored natively in DB2 9, using a stored procedure
that's included as a download. These three articles were originally written for
workstation DB2 by Hardeep Singh. They have been modified to be applicable to DB2
for z/OS by John Shelton. |
|
Articles |
|
20 Mar 2008 |
|
| |
Evolving your XML schemas using DB2 pureXML In many systems that use XML, the XML schemas will evolve over time. In this article, you'll learn how to handle those changes using DB2 pureXML Schema Registry (XSR) features, whether they are major or minor, and walk through an example of schema evolution, step-by-step. |
|
Articles |
|
20 Mar 2008 |
|
| |
Build a mobile RSS reader What good is a mobile computing environment if you can't keep track of your favorite news feeds on the go? Sure, you can use Android's browser to read your favorite Web sites, but it's unlikely the sites are optimized for a screen two inches high. And besides, then you'll miss the opportunity to integrate RSS or other XML data with other mobile applications to make your own mash-ups. This tutorial shows you how to use the Android Developer Tools to read, parse, and display XML data. |
|
Tutorial |
|
18 Mar 2008 |
|
| |
XML processing in Ajax, Part 3: JSON and avoiding proxies Ajax-style server calls don't necessarily require XMLHttp requests. This last installment of the series uses a public Web service, JavaScript Object Notation (JSON), and dynamic script tags in a final approach to the weather badge project. |
|
Articles |
|
18 Mar 2008 |
|
| |
Ajax and XML: Ajax for tables One strong suit of Asynchronous JavaScript + XML (Ajax) is presenting data from the server to users in a dynamic fashion. Discover several techniques that use Ajax for dynamic data display using tables, tabs, and gliders. |
|
Articles |
|
11 Mar 2008 |
|
| |
XML processing in Ajax, Part 2: Two Ajax and XSLT approaches In Part 2 of this series, Mark Pruett presents two more approaches to the
Asynchronous JavaScript + XML (Ajax) weather badge. Both approaches use Extensible
Stylesheet Language Transformation (XSLT) transformations -- one on the server side and the other in the browser. |
|
Articles |
|
11 Mar 2008 |
|
| |
Ajax overhaul, Part 1: Retrofit existing sites with Ajax and jQuery This first article in a series on overhauling existing sites with
Asynchronous JavaScript + XML (Ajax) shows you how to eliminate pop-up windows and
navigational dead-ends with simple modal windows. |
|
Articles |
|
04 Mar 2008 |
|
| |
XML processing in Ajax, Part 1: Four approaches Any programming problem can be solved in multiple right ways. This series looks at four approaches for creating
an Asynchronous JavaScript + XML (Ajax) weather badge, a small reusable widget that's
easily embedded on any Web page. This first article lays the foundation and examines the
first approach -- walking the DOM tree. |
|
Articles |
|
04 Mar 2008 |
|
| |
Inheriting Web sites: Getting a Web site to a maintainable state In a perfect world, you'd create every Web site you
were ever assigned to maintain, improve, and redesign. Unfortunately, in
the real world, you're often forced to take on a site someone else
designed or constructed. |
|
Articles |
|
28 Feb 2008 |
|
| |
Create your own information space with Ajax and del.icio.us del.icio.us is a social bookmarking Web site that allows users to create and
share browser-independent bookmarks, accessible directly over the Internet, in ways
your browser won't allow. The traditional hierarchical organization of browser bookmarks is overhauled, allowing users to instead associate each and every bookmark with any number of descriptive tags. Imagine a single page where you and your friends can surf the Web and have your del.icio.us tags, links, and functions handy, or a single page where you can save the site you're browsing directly into your del.icio.us account, along with comments and chosen tags. This tutorial shows you how to use Ajax to build just such a page using a PHP script as the server-side proxy. |
|
Tutorial |
|
26 Feb 2008 |
|
| |
DITA topic specialization Many resources are available to explain what Darwin Information Typing Architecture (DITA) topic specialization is and the syntax to implement it, but you still might wonder "I have some content that might be a candidate for topic specialization. What's next?" In this tutorial, walk through a series of steps to evaluate your content's suitability for different DITA topic types, specialize one of those types, and test your specialization using the DITA Open Toolkit. |
|
Tutorial |
|
26 Feb 2008 |
|
| |
Build Web services with transport-level security using Rational
Application Developer V7, Part 3: Configure HTTPS Part 1 and Part 2 of this three-part tutorial series showed you how to
develop Web services and clients, and configure HTTP basic authentication. In this
final installment, you create a self-signed certificate, keystore, trust store, and
Secure Sockets Layer (SSL) configuration using the IBM WebSphere Administrative
Console. Then you configure HTTPS for your Web services and Web services client, and
test HTTPS Web services from both a Java EE client and a stand-alone Java client. |
|
Tutorial |
|
21 Feb 2008 |
|
| |
OOXML: What's the big deal? The OOXML specification has been both criticized and defended by a number of people, leading many to wonder what the big deal is. This article illustrates the basis of technical, rather than political, objections to treating OOXML as a standard. |
|
Articles |
|
19 Feb 2008 |
|
| |
Create an Ajax mindreader application with E4X and Prototype, Part 2: Make the mindreader smarter In this two-part article series, you learn to use both ECMAScript for XML
(E4X) and the Prototype JavaScript library to create a simple Ajax mindreader
application that plays Twenty Questions and learns about new objects as it goes
along. In Part 1, you learned to create a system that takes an existing
knowledge base and analyzes it to determine what the user might be thinking. Now in
Part 2, you'll learn to add new information to the knowledge base, and to use the
Prototype JavaScript library to integrate the Twenty Questions application with an
external database so training by one user is usable by others who play the game. |
|
Articles |
|
19 Feb 2008 |
|
| |
Faceted navigation for document discovery While there are several different ways for a user to specify metadata
conditions, this article discusses one that has special advantages: faceted
navigation. Follow the faceted navigation system described in this article, a technology demonstrator based on IBM Omnifind Discovery Edition
that exploits the XML capabilities of IBM DB2, to explore the advantages of faceted
navigation, and see how to
get the maximum benefit from metadata creation. |
|
Articles |
|
14 Feb 2008 |
|
| |
Create an Ajax mindreader application with E4X and Prototype, Part 1: Build the Twenty Questions infrastructure XML seems like a natural format for passing Ajax data. However, to work with
XML in JavaScript using the Document Object Model (DOM) is not always the best way to handle this kind of
data. This has given rise to other choices, such as JSON, which provide a more
object-like feel for developers. Now ECMAScript for XML (E4X) combines many of the
best features of the DOM with extremely easy data binding to provide a more
straightforward way to deal with XML in the browser. In this two-part article
series, you'll learn to use both E4X and the Prototype JavaScript library to create
a simple Ajax mindreader application that plays Twenty Questions and learns about new objects as it goes along. Part 1 shows you how to create a system that takes an existing knowledge base and analyzes it to determine what the user may be thinking. |
|
Articles |
|
12 Feb 2008 |
|
| |
RESTful SOA using XML
Service Oriented Architecture usually implies heavyweight technology for large
enterprises. The advantages of the SOA architectural pattern also apply to smaller
environments. To follow SOA principles, you don't necessarily need all the overhead that
is useful in larger environments. You can use lightweight principles like REST to do so. This article describes how.
|
|
Articles |
|
12 Feb 2008 |
|
| |
Aggregate RSS and Atom information using XQuery XQuery makes it much easier to merge and filter information from XML documents
when you embed the filtering instructions right into the document that you use to
generate the output format. You can use that functionality to aggregate information
from RSS and Atom feeds into the format you need. In this article, look at the
structure of the RSS and Atom formats and how XQuery can simplify the display of that information. |
|
Articles |
|
05 Feb 2008 |
|
| |
The future of XML Elliotte Rusty Harold prognosticates what he thinks is in store for XML. |
|
Articles |
|
05 Feb 2008 |
|
| |
Receive events from XMLBeans XMLBeans is a great XML-to-Java data-binding technology, but it lacks the ability to register observers for model changes. However, you can customize generated plain old Java objects (POJOs) to include the necessary interfaces and the notification of changes. Create a Sudoku Rich Client Platform (RCP) game application in Eclipse, and learn how to use eventing to validate the user's input. |
|
Articles |
|
29 Jan 2008 |
|
| |
Data binding with Castor, Part 3: Map between schemas Use Castor to convert data in an unwieldy or inconvenient XML document to your
custom Java objects. |
|
Articles |
|
29 Jan 2008 |
|
| |
Tip: Manipulate del.icio.us bookmarks with PHP The del.icio.us service lets users collect and share bookmarks online.
Manipulate these bookmarks with PEAR's Services_Delicious package that interfaces
with the REST API of del.icio.us and build customized PHP applications. |
|
Articles |
|
22 Jan 2008 |
|
| |
Build a customizable RSS feed aggregator in PHP RSS (Rich Site Summary, RDF Site Summary, or Really Simple Syndication) has
been around since the mid-1990s. Over the years, several variants of the RSS format
have popped up and several claims have been made about its ownership. Despite these
differences, RSS never ceased to serve its usefulness in distributing Web content
from one Web site to many others. The popularity of RSS gave way to the growth of a
new class of Web software called the feed reader, also known as the feed aggregator.
Although there are several commercially available feed aggregators, it's easy to
develop your own feed aggregator, which you can integrate with your Web
applications. You'll appreciate this article's fully functional PHP code snippets,
demonstrating the use of PHP-based server-side functions to develop a customizable
RSS feed aggregator. In addition, you'll reap instant benefits from using the fully
functional RSS feed aggregator code, which you can download from this article. |
|
Articles |
|
22 Jan 2008 |
|
| |
Tip: Send and receive SOAP messages with SAAJ In this tip, author and developer Nicholas Chase shows you how to use the SOAP with Attachments API for Java (SAAJ) to simplify the process of creating and sending SOAP messages. |
|
Articles |
|
22 Jan 2008 |
|
| |
Ajax and XML: Ajax for forms Augmenting your HTML forms with Ajax callbacks to the server is a practical way to
add Web 2.0 functionality to your application. Discover a variety of techniques to add
Ajax code and enhance the user experience for PHP applications.
|
|
Articles |
|
22 Jan 2008 |
|
| |
15 best practices for pureXML performance in DB2 DB2 9 introduces pureXML
support, which means that XML data is stored and queried in its inherent hierarchical format.
To query XML data, DB2 offers two languages, SQL/XML and XQuery. Additionally,
DB2 9 has sophisticated XML indexing capabilities and support for XML Schema
validation. While most existing performance guidelines for DB2 also apply to
XML data, this article provides additional XML-specific performance tips.
|
|
Articles |
|
16 Jan 2008 |
|
| |
Create dynamic Firefox user interfaces When you create browser-based applications that display XML data feeds, you
often need to code the data-retrieval mechanism and the user interface. Mozilla
Firefox provides an infrastructure that frees you from these tasks, so you can concentrate on your application's functionality. Learn how to use Asynchronous JavaScript + XML (Ajax) to download XML data from a Web server, and discover how you can use Extensible Stylesheet Language Transformations (XSLT) to transform it dynamically into Firefox user-interface elements expressed in XML User Interface Language (XUL). You can apply these techniques to any application that uses XML data sources. |
|
Tutorial |
|
15 Jan 2008 |
|
| |
Generate Ajax J2EE Web applications with jpa2web Learn about, try, and contribute to a new open source tool -- jpa2web -- which generates J2EE Ajax-based Web applications from JPA-annotated beans. Using the ZK framework, the applications generated by this tool allow your users to add, delete, search, modify, and interconnect instances of database-synchronized objects in a friendly, Ajax-based Web user interface. |
|
Articles |
|
15 Jan 2008 |
|
| |
Solid Ajax applications, Part 2: Building Ajax back ends Back end processing -- server-side scripts and programs -- can't always be tossed into an Ajax application and behave well. Instead, careful planning to ensure data is sent in an appropriate and efficient form ensures your entire application is cohesive, rather than needlessly complex. Brett McLaughlin explains how a good server-side script complements Ajax behavior. |
|
Articles |
|
15 Jan 2008 |
|
| |
Expand the editing capabilities of OpenOffice with XSLT You might know that you can pull XML data into OpenOffice's spreadsheet program, Calc, but did you know that you can create a filter to make word-processing documents out of data stored as XML? This tutorial shows you how to use OpenOffice's import/export filters to open your XML data as though it's just a plain document. From there, users can edit the document much more naturally and then save it back to its native format. You can also use this feature to easily turn your documents into XML data. |
|
Tutorial |
|
11 Jan 2008 |
|
| |
Pull parsing XML in PHP Discover the XMLReader library, which is bundled with PHP 5 and enables PHP pages to process XML documents in an efficient streaming mode. |
|
Articles |
|
11 Jan 2008 |
|
| |
Tip: Easy command line processing with the DITA Open Toolkit The DITA Open Toolkit can transform your DITA files into a wide variety of
output types. When you first install it, it's easy to get the impression that you
need to know Ant well to use it, but you can pack most of its available options into
a single Java(TM) command line. |
|
Articles |
|
08 Jan 2008 |
|
| |
Use Project Zero and WebSphere sMash's data access APIs to build a simple wiki Project Zero is a simplified development platform focused on the agile development of Web 2.0 applications following a Service-Oriented Architecture (SOA). Among Project Zero's arsenal of libraries is a simplified API for executing SQL queries. Learn how to leverage these APIs to build a simple wiki. |
|
Articles |
|
08 Jan 2008 |
|
| |
Convert Atom documents to JSON Converting an Atom document to JSON might, at first, appear to be a fairly
straightforward task. Atom is, after all, just a bit of XML and XML-to-JSON
conversion tools are widely available. However, the Atom format is more than just
a set of XML elements and attributes. A number of subtle details can make proper
handling of Atom difficult. This article describes those issues and demonstrates a
mechanism implemented by the Apache Abdera project to convert Atom documents into
JSON and produces a result that is readable, usable, and complete. |
|
Articles |
|
08 Jan 2008 |
|
| |
Shred XML documents using DB2 pureXML Discover two methods of decomposing XML data, including how to use the
XMLTABLE function for decomposition. Also, find a comparison of annotated XML schema decomposition
and XMLTABLE decomposition and recommendations for the use of each. |
|
Articles |
|
03 Jan 2008 |
|
| |
XML 2007 Join Elliotte Rusty Harold for a look back at the most significant XML news from 2007. |
|
Articles |
|
31 Dec 2007 |
|
| |
Write REST services This tutorial discusses the concepts of REST and the Atom Publishing
Protocol (APP) and shows how they apply to services. It also shows how to use Java technology to implement REST/APP-based services. |
|
Tutorial |
|
20 Dec 2007 |
|
| |
Push RSS to new limits This tutorial presents an innovative use of the well-known Really Simple
Syndication (RSS) format's associative properties to emulate the functionality of a
simple relational database. It demonstrates using RSS channels to store contact
information and meeting information -- much as a personal address book and calendar
does. It uses RSS elements and attributes such as items and guids to create a neural-network-like mesh of related data. |
|
Tutorial |
|
18 Dec 2007 |
|
| |
The ROI of XForms This article examines several methods of calculating the Return on Investment (ROI) of adopting enterprise-wide XForms standards. We look at ROI analysis from several different viewpoints including the standards perspective and issues around vendor lock-in avoidance strategies. We discuss three ROI models for an enterprise XForms migration and how to overcome common objections to an XForms initiative.
|
|
Articles |
|
11 Dec 2007 |
|
| |
Ajax -- A guide for the perplexed, Part 2: Develop a Dojo-based blog reader The previous installment
of this series introduced you to Ajax development by walking through the practical information
essential for getting an Ajax-enabled environment up and running. In this article, Part 2 of the series, the authors put
your newly gained knowledge into practice by starting the development of a simple Dojo and Atom-based blog reader. |
|
Articles |
|
11 Dec 2007 |
|
| |
Tip: Make the best use of asynchronous callbacks
It takes some finesse to make the best use of asynchronous callbacks for
Ajax data sources in JavaScript applications. This tip discusses
why you should use asynchronous callbacks for Ajax data sources and
gives examples of coordinating the readiness of mutually dependent
application data sources that may become ready at undefined times
with asynchronous calls.
|
|
Articles |
|
11 Dec 2007 |
|
| |
Tip: Parsing RDDL documents with PHP The Resource Directory Description Language (RDDL) lets document authors provide more information about resources used within an XHTML document. Parse these RDDL descriptors with an API in the XML_RDDL package from PEAR, and extract resource information for use in any PHP application. |
|
Articles |
|
10 Dec 2007 |
|
| |
Data binding with Castor, Part 2: Marshall and unmarshall XML In the last article of this series, you downloaded, installed, and set up
Castor. In this article, you'll learn how to convert your Java(TM) classes to XML and
transform that XML back into Java code, as well as how Castor works and how to design your classes to function well with the API. |
|
Articles |
|
10 Dec 2007 |
|
| |
Overview of DB2 .NET XML tool offerings in DB2 Version 9.5 IBM Database tools for Microsoft Visual Studio 2005 introduces a new set of
Web service-oriented features that expose the latest DB2 for Linux, UNIX, and Windows
pureXML functionality. The new release provides the means for a dramatic increase in
developer productivity. The new IBM Database Add-ins for Visual Studio 2005 offer a
number of features that make working with pureXML much easier. These features range
from the creation of Web services from annotated XML schemas, to XSR comparisons, to XSR XSLT support. This article provides a detailed
overview and usage guide of IBM XML tools for DB2 Version 9.5. |
|
Articles |
|
29 Nov 2007 |
|
| |
Use custom collations in XSLT 2.0 One emphasis of XSLT 2.0 is better support for internationalization, especially to sort and compare text. This article demonstrates how to write a custom collation function and invoke it from an XSLT 2.0 stylesheet. |
|
Articles |
|
27 Nov 2007 |
|
| |
Display Google Calendar events on your PHP Web site with XPath Google Calendar and other online calendaring applications provide simple
centralized systems where online communities can maintain event calendars and
community members can get information about upcoming events. But many organizations
prefer to display event calendars on their community portals, forums, or blogs. They
often copy event calendar information from online calendaring applications
onto their Web sites, reducing the effectiveness of centrally managing events
online. Google Calendar provides an integration application program interface (API)
that provides a good solution to this problem. Find out how to use
XPath to extract and display Google Calendar data on your PHP Web site. |
|
Articles |
|
27 Nov 2007 |
|
| |
HTML V5 and XHTML V2 While the intention of both HTML V5 and XHTML V2 is to improve on the existing
versions, the approaches the developers chose to make those improvements is very different.
And with differing philosophies come distinct results. For the first time in many years,
the direction of upcoming browser versions is uncertain. Uncover the bigger picture behind the details of these two standards.
|
|
Articles |
|
20 Nov 2007 |
|
| |
Data binding with Castor, Part 1: Install and set up Castor Download, install, and configure Castor for data binding. |
|
Articles |
|
13 Nov 2007 |
|
| |