 |
 |
 |
 |
 |
 |
Create an alerts system using XMPP, SMS, pureXML, and PHP
Thanks to the native XML support that pureXML offers IBM DB2 database developers, you can load XML data directly into your database, freeing up development time to add functionality to your application. Follow along in this tutorial to import an XML file with Euro foreign exchange rates into an IBM DB2 database and use special XQuery and SQL/XML functions to split this XML into separate database rows. You will also create a PHP script that pulls down new rates from the European Central Bank (ECB) Web site each day. Then you will extend the script to send update alerts to a Google Talk user using the XMPP protocol, and to a cell phone by SMS text message using the Clickatell SMS gateway service. Finally, you will create a PHP script that generates a PNG (Portable Network Graphics) graph of this data.
|
 |
Tutorial |
 |
24 Nov 2009 |
|
| |
New to XML
Need help getting started with XML? The XML zone on developerWorks contains articles, tutorials, and tips to help developers with XML-based development. For users trying to find their way in a new topic, all of that information can be overwhelming. This page provides an overview for readers who want to learn about XML, but don't know where to start. This page helps you get organized and on your way -- whether you want to understand what XML is all about, explore Ajax, mashups or RSS, or prepare for XML certification.
|
 |
|
 |
19 Nov 2009 |
|
| |
Index of XML standards
The world of XML is vast and growing, with a huge variety of standards and technologies that interact in complex ways. It can be difficult for beginners to navigate the most important aspects of XML, and for users to keep track of new entries and changes in the space. XML is a basic syntax upon which you develop local and global vocabularies. This index provides a detailed cross-reference of many XML standards, including links to additional coverage for each.
|
 |
|
 |
19 Nov 2009 |
|
| |
Training
Start here to find the tutorials, courses, and certification guides you need to stay up-to-date with XML technology and to keep your skills top notch.
|
 |
|
 |
19 Nov 2009 |
|
| |
Build a Support Knowledge Base using DB2 pureXML and PHP
Creating applications that use a hybrid of relational data and XML data is easy thanks to
the pureXML feature of IBM DB2 database servers.
In this tutorial, you use PHP to create a Web application that connects to an IBM DB2 Express-C
database and stores some of its data in traditional relational database columns, and some of it in native XML columns.
You also learn how to use SQL/XML queries to retrieve, insert, update, and delete data from this database.
Beyond the hands-on, project-based training, the tutorial equips you with the skills
and conceptual knowledge you need to develop your own hybrid applications.
|
 |
Tutorial |
 |
19 Nov 2009 |
|
| |
Build a pureXML and JSON application, Part 3: Create OpenSocial gadgets for pureXML
With the Web 2.0 technology of OpenSocial gadgets, developers can easily
include their applications in popular Web sites, such as iGoogle, MySpace, Hi5,
LinkedIn, and others. In this article, explore OpenSocial gadgets through hands-on construction of an application that leverages the pureXML
capability of DB2. This article is the last in a series of three that illustrates how to build a
pureXML application whose user interface is a gadget that you can deploy in any OpenSocial compliant
Web site. Follow the steps in this article to build a user interface that stores and retrieves the
JSON data described in the first article through JSON Universal Services created in the second article.
|
 |
Articles |
 |
10 Nov 2009 |
|
| |
Build a pureXML and JSON application, Part 2: Create Universal Services for pureXML that expose JSON
The pureXML Universal Services for JSON (abbreviated to JSON Universal Services in this article) are a set of database operations, including insert, update, delete, and query, exposed as Web services. These services enable an application to persist JSON in pureXML and to query it easily through HTTP with WebSphere Application Server. Get started with configuring and testing JSON Universal Services in this article.
|
 |
Articles |
 |
10 Nov 2009 |
|
| |
Build a pureXML and JSON application, Part 1: Store and query JSON with DB2 pureXML
JavaScript Object Notation (JSON), a popular textual notation in Web 2.0, is used to represent objects (or data structures) as serialized text when clients and servers exchange information. Some applications benefit from persisting JSON objects to maintain state across sessions. In this article, learn how DB2 pureXML can store, manage, and query JSON when you adopt a simple JSON-to-XML mapping.
|
 |
Articles |
 |
10 Nov 2009 |
|
| |
Leveraging pureXML in a Flex microblogging application, Part 3: Using pureXML Web services to publish microblog entries to an HTML page
The pureXML capabilities of IBM DB2 allow you to store XML natively in a database
without modification, while Adobe Flex applications can read XML directly and
populate Flex user interfaces. In this three-part article series, you will create
a microblogging application that takes advantage of pureXML, Web services, and
Adobe Flex; and even allows you to publish your microblogging updates on Twitter.
In Part 1 of the series, you learned about Web Services and how they are enabled
using DB2 pureXML as you created the microblog database and tested it. Part 2
tapped into Adobe Flex and ActionScript to create the user interface of your application. In this article, the final part of the series, you will learn how to use your pureXML Web Services to publish your microblog entries to an HTML page.
|
 |
Articles |
 |
03 Nov 2009 |
|
| |
Leveraging pureXML in a Flex microblogging application, Part 1: Enabling Web services with DB2 pureXML
The pureXML capabilities of IBM DB2 allow you to store XML natively in a database without modification, while Adobe Flex applications can read XML directly and populate Flex user interfaces. In this three-part article series, you will create a microblogging application that takes advantage of pureXML, Web services, and Adobe Flex; and even allows you to publish your microblogging updates on Twitter.
|
 |
Articles |
 |
03 Nov 2009 |
|
| |
Leveraging pureXML in a Flex microblogging application, Part 2: Building the application user interface with Flex
The pureXML capabilities of IBM DB2 allow you to store XML natively in a database
without modification, while Adobe Flex applications can read XML directly and
populate Flex user interfaces. In this three-part article series, you will create
a microblogging application that takes advantage of pureXML, Web services, and
Adobe Flex; and even allows you to publish your microblogging updates on Twitter.
In Part 1 of the series, you learned about Web Services and how they are enabled
using DB2 pureXML as you created the microblog database and tested it. In this
article, Part 2 of the series, you will tap into Adobe Flex and ActionScript to
create the user interface of the application.
|
 |
Articles |
 |
03 Nov 2009 |
|
| |
Introduction to MVC Programming with Agavi, Part 1: Open a whole new world with Agavi
This is the first of a five-part series of articles written for the PHP developer interested in learning about an open-source, flexible, and scalable framework called Agavi. In this first article, you walk through the installation of the framework and the other required components, get an overview of Agavi and its functions, and create your first Web application.
|
 |
Articles |
 |
27 Oct 2009 |
|
| |
Implement access control with Agavi
Agavi is an open-source, flexible, and scalable framework for application development. One of its key features is a full-featured API for user authentication and role-based access control. Examine this API in detail, and see how to add sophisticated application-level privilege management and manipulation to a Web application.
|
 |
Articles |
 |
27 Oct 2009 |
|
| |
Introduction to MVC programming with Agavi, Part 3: Add authentication and administrative functions with Agavi
Continue to build the Web Automobile Sales Platform by adding the ability to add, delete, and update the automobile records in Part 3 of a five-part series. You will also see how to separate user functions from administrative functions with authentication.
|
 |
Articles |
 |
27 Oct 2009 |
|
| |
Using Apache Pivot to build an iTunes search client
Apache Pivot is an open source platform for building rich internet applications (RIAs) in a Java environment. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform. Apache Pivot applications take advantage of WTKX, an XML-based language for user interface design, which makes the application's output easy to visualize. In this tutorial, you will follow the implementation of a simple but practical Pivot application that allows a user to execute searches against the contents of the iTunes Store.
|
 |
Tutorial |
 |
13 Oct 2009 |
|
| |
Using collaborative technologies for healthcare in the home
The number of people in the U.S. diagnosed with diabetes is now
reaching 24 million. Diabetes requires monitoring. In this article, get an
introduction to the concept of continuing care, particularly in the home. This
article describes how diabetes monitoring can be improved through
collaborative technologies. See how software from MyCareTeam, IBM, and other
organizations are used in an example in support of diabetes monitoring.
Understand information and Web-based technologies, such as XML storage and
services (for example, through IBM DB2 pureXML) in the
context of continuing care, as well as related initiatives, such as the
Continua Health Alliance's role in selecting appropriate standards. This
article summarizes the impact of these technologies on the building of agile
and collaborative systems for healthcare, and highlights the significant
benefits of collaborative continuing care that include cost reduction and
increased quality of healthcare.
|
 |
Articles |
 |
08 Oct 2009 |
|
| |
Spread the word: Enterprise blogging, MetaWeblog, and XML-RPC
Today's blogs are used for much more than the traditional personal journal: They
have matured to become an ideal Web publishing platform. Within the enterprise, blogs are often a central conduit for corporate, development, and marketing communications, which makes selecting open blogging software that conforms to standard XML APIs essential. Discover one such too -- MetaWeblog, a widely used blogging API -- and learn how to use its API to write your own blogging tools.
|
 |
Articles |
 |
06 Oct 2009 |
|
| |
Monitor home energy with AMEE
Electricity is invisible. To understand how people use it, you need to make it visible. This tutorial will show you how easy it is to build a Web-based energy monitoring system yourself, using a Current Cost real-time energy monitor and AMEE, a neutral Web-based API for energy data, combined with some XML, Ruby, Rails, and Ajax.
|
 |
Tutorial |
 |
29 Sep 2009 |
|
| |
Trace the growth of XML over 10 years
XML was born in 1998 when it became a Worldwide Web Consortium (W3C)
recommendation and the IBM developerWorks Web site was launched the following year. Over those 10 years, the XML zone has hosted over a thousand articles, tutorials, and tips. We've covered technology, tools, standards, products, best practices, predictions, evaluations, and developer experiences, and have supported a variety of forums. A 10-year birthday is a good time to look back at some of the authors who made the XML zone what it is.
|
 |
Articles |
 |
28 Sep 2009 |
|
| |
Enforce basic document structure with XML constraint checking
The ability to specify, check and act upon constraints is vital to
ensuring the overall quality of healthcare information. The Health Level 7
(HL7) Clinical Document Architecture (CDA), described through XML Schema,
allows the specification of constraints through HL7 Templates, which can be
implemented in Schematron. Schematron can be applied through XSLT. This article illustrates software and
hardware solutions for constraint checking in the HL7 CDA. The two
solutions are demonstrated in an SOA that
includes both successful and failing XML Schema and Schematron constraint
checks. The article evaluates the application of constraints in the HL7 CDA
and identifies some categories of constraints that require further investigation.
The outcome of this evaluation shows that the ability to specify, check, and act
upon constraints through Schematron complements XML Schema processing. The two
constraint approaches are very useful and practical, and should therefore be
pursued further.
|
 |
Articles |
 |
15 Sep 2009 |
|
| |
Using the Technorati API
Technorati is a blog cataloging service that enables users to search virtually the entire blogosphere for articles of interest. Like most entries in the Web 2.0 domain, Technorati provides an API to automate much of its functionality. Also like most entries in the Web 2.0 domain, that API is provided as a REST service. In this article, work with examples and learn to get the most out of the Technorati API.
|
 |
Articles |
 |
08 Sep 2009 |
|
| |
Using the Twitter Search API
Twitter is undoubtedly one of the most recent and successful examples of social networking to appear on the World Wide Web. Twitter also has its own search engine, which enables users to search for "tweets" by keyword or category, with an API to facilitate programmatic searches, act as a REST service, and return searches in Atom format. Discover the basics of using the Twitter Search API.
|
 |
Articles |
 |
04 Aug 2009 |
|
| |
Creating an Atom feed in PHP
Atom is an Extensible Markup Language (XML) specification that identifies information contained in a Web site. Using Atom, Web developers produce feeds that enable other Web developers (or consumers who use feed readers) to quickly locate and view information of interest on a remote site. Think of it as a Web site's index, available to anyone who wants it. Using PHP, a popular language of choice for most host providers, a Web developer can easily produce an Atom feed that can then be made available to the various feed readers and other Web developers. The ultimate result is a state-of-the-art information solution that enables the Web content to reach a much wider audience.
|
 |
Articles |
 |
28 Jul 2009 |
|
| |
Mashups: The new breed of Web app
Mashups are an exciting genre of interactive Web applications that draw upon content retrieved from external data sources to create entirely new and innovative services. They are a hallmark of the second generation of Web applications informally known as Web 2.0. This introductory article explores what it means to be a mashup, the different classes of popular mashups constructed today, and the enabling technologies that mashup developers leverage to create their applications. Additionally, you'll see many of the emerging technical and social challenges that mashup developers face.
|
 |
Articles |
 |
24 Jul 2009 |
|
| |
Build Wikipedia query forms with semantic technology
By providing open access to increasing amounts of Linked Data, public SPARQL endpoints boost the growth of the Semantic Web by providing great data for you to use in your applications. As with many other data-driven Web sites out there, you can create a Web page by sending a query to these endpoints and then wrapping the results in HTML tags; the big difference for SPARQL endpoints is the public availability of this new data for your applications. With simple CGI scripting, get data from two different SPARQL endpoints to build applications that answer your user's questions about actors shared between two directors and which musicians have released which albums.
|
 |
Articles |
 |
21 Jul 2009 |
|
| |
Feed your site with RSS and Atom
For modern Web 2.0 sites, the ability to mash up information from
different sources is a plus. You can use Google Web Toolkit (GWT) to get and
process XML-based news feeds such as RSS and the more modern Atom Syndication
Format. In this article, explore methods to access any appropriate feed -- despite
same-origin policy (SOP) limitations -- and to process the incoming XML
data.
|
 |
Articles |
 |
14 Jul 2009 |
|
| |
The new role of XML in cloud data integration
Learn how to leverage XML Web services to integrate cloud data with enterprise
applications, and build a sample application using the Salesforce Web Services API
with the Java API for XML Web Services (JAX-WS).
|
 |
Articles |
 |
30 Jun 2009 |
|
| |
Leveraging 3270 or 5250 data within Web-based mashup applications
Learn how to extract 3270 or 5250 data using IBM® Rational® Host Access Transformation Services, which can then be formed into an Atom data feed. This data feed can be utilized by IBM Mashup Center to consolidate with other data sources to create a new situational application for business users. We present an example of extracting data from a 3270 financial application, creating an Atom feed, cataloging that feed, and using that data to create an information dashboard for a loan officer.
|
 |
Articles |
 |
29 Jun 2009 |
|
| |
Working with XML on Android
Android is a modern, open source operating system and SDK for mobile devices. With it you can create powerful mobile applications. This becomes even more attractive when your applications can access Web services, which means you need to speak the language of the Web: XML. In this article, you will see different options for working with XML on Android and how to use them to build your own Android applications.
|
 |
Articles |
 |
23 Jun 2009 |
|
| |
Translate Atom to RDF using Java technology
Given that Resource Description Framework (RDF) query languages do not recognize documents that follow the Atom specification, how can you translate an Atom document into a distinct document that follows the RDF specification? The answer: Java technology. Learn how to make it happen.
|
 |
Articles |
 |
23 Jun 2009 |
|
| |
Leveraging Amazon Web Services for enterprise application integration
Discover how to leverage XML and Amazon Web Services to integrate enterprise applications, and to build cross-platform application-integration capabilities using the Microsoft(R) .NET C#) and Java(TM) platforms.
|
 |
Articles |
 |
16 Jun 2009 |
|
| |
Using the Twitter REST API
Twitter is undoubtedly one of the most recent and successful examples of social networking to appear on the World Wide Web. Twitter provides an API so Web developers can enable their users to access the various features that the Twitter site provides. In this article, learn the basics of using the Twitter REST API.
|
 |
Articles |
 |
09 Jun 2009 |
|
| |
Build a pureXML application in DB2 for z/OS, Part
2: Web enablement through Universal Services
In this tutorial, set up Web access to your pureXML data through simple
insert, update, delete, select, and query operations known as the Universal
Services. Use the included download bundle with ready-to-install services to
explore the concepts of this tutorial, and learn how to quickly build
application prototypes with the Universal Services.
|
 |
Tutorial |
 |
04 Jun 2009 |
|
| |
Implement Web cut-and-paste using Atom XML and Firefox XUL
Even after 20 years, the Web continues to redefine itself. The Internet is
transforming from a hypertext document system to something that resembles a full-blown
operating system. In this article, focus on a critical functionality missing in the emerging cloud-based operating system:
The existence of a standards-based Web clipboard. Discover what a Web clipboard might look like using AtomPub and the AtomClip
XUL Firefox extension.
|
 |
Articles |
 |
02 Jun 2009 |
|
| |
An introduction to RSS news feeds
RDF Site Summary (RSS) is catching on as one of the most widely used XML formats on the Web. Find out how to create and use RSS files and learn what they can do for you. See why companies like Netscape, Userland, and Moreover use RSS to distribute and syndicate article summaries and headlines. This article includes sample code that demonstrates elements of an RSS file, plus a Perl example using the module XML::RSS.
|
 |
Articles |
 |
13 May 2009 |
|
| |
Enabling Web Service with Common Information Model
In this article we will introduce the concept of WS-Management and Common Information Model (CIM). By exploring the SOAP message with multiple examples, we will learn how to transfer CIM operations through WS-Management SOAP messages.
|
 |
Articles |
 |
08 May 2009 |
|
| |
Application logging using solidDB, WebSphere Message Broker, and DB2
pureXML
Because of its flexibility and its presence in many application
environments, XML is becoming the preferred log format. In this article,
you'll learn how to easily set up an application logging environment by
bringing the XML features of WebSphere and DB2 together. We first introduce a
simple application logging scenario, then show how to use solidDB for caching
and decoupling the application from the logging infrastructure. WebSphere
Message Queue and WebSphere Message Broker will be used to reliably move the
log messages from the application to DB2, where they can be stored and queried
using the pureXML functionality. To normalize different message formats,
WebSphere Message Broker will also be used to transform log files to other XML
formats prior to storing them into DB2.
|
 |
Tutorial |
 |
07 May 2009 |
|
| |
XML: The bridge between GWT and PHP
Google Web Toolkit (GWT) applications, apart from connecting to servlets in time-honored Java fashion, can also use PHP Web services to send and receive data
in XML. You'll explore methods to generate XML documents and process them, both in the Java language and in PHP.
|
 |
Articles |
 |
07 Apr 2009 |
|
| |
Make dashboards with XQuery
Many digital dashboards that cropped up in the 1980s were horrible (if not unsubtle) analogs to a car's dashboard. Very few presented business data in a compelling manner. Today, Web-based dashboards try to achieve the same thing. Discover what makes a good dashboard, and learn to identify and leverage key performance indicators (KPIs) for more effective digital dashboards. Finally, build a Web dashboard using the eXist XML database and XQuery.
|
 |
Articles |
 |
31 Mar 2009 |
|
| |
Use XQuery for the presentation layer
Many Web applications use the Model-View-Controller (MVC) pattern to separate the three concerns. Using XQuery for presentation enables view-side developers to create robust presentation effects without tying the view to any particular underlying application server or programming language. This article explains in detail the advantages of using XQuery over other view technologies, how XQuery is implemented in the presentation layer,
and a realistic example of such an implementation.
|
 |
Articles |
 |
10 Mar 2009 |
|
| |
JiBX 1.2, Part 1: Java code to XML schema
XML schema definitions are the basis for many types of data exchanges, including most forms of Web services. But XML Schema is a complex standard, and most tools for creating and modifying schema definitions are not as powerful or easy to use as those for working with Java code. The new features of JiBX 1.2 let you start from Java code and easily generate quality schema definitions to match your data structures. You can then use the schemas directly, whether you use JiBX data binding or not.
|
 |
Tutorial |
 |
03 Mar 2009 |
|
| |
JiBX 1.2, Part 1: Java code to XML schema
XML schema definitions are the basis for many types of data exchanges, including most forms of Web services. But XML Schema is a complex standard, and most tools for creating and modifying schema definitions are not as powerful or easy to use as those for working with Java code. The new features of JiBX 1.2 let you start from Java code and easily generate quality schema definitions to match your data structures. You can then use the schemas directly, whether you use JiBX data binding or not.
|
 |
Tutorial |
 |
03 Mar 2009 |
|
| |
JiBX 1.2, Part 2: XML schema to Java code
Code generation from XML schema definitions is widely used for all types of XML data exchange, including Web services. Most data-binding tools rigidly structure generated code based on the schema, even aspects of the schema that may be irrelevant to your application. JiBX 1.2 generates cleaner code by doing a better job of interpreting the schema and eliminating unnecessary class clutter. It also provides extensive customizations for the generated code, including customizations for easily eliminating unnecessary components of the schema.
|
 |
Tutorial |
 |
03 Mar 2009 |
|
| |
Integration between XML Forms Generator and Data Studio, Part 1: Get started with the integration by creating an application
The XML Forms Generator (XFG) provides a jump-start for form development. It can
quickly and automatically produce valid and functional forms containing XForms markup
embedded within an XHTML document. The input to form generation can be an XML data
instance with or without a backing XML Schema, or a WSDL document. Data Web Services,
which is based on SQL scripts and Store Procedures, is a database related application
of traditional Web Services. IBM Data Studio is a client tool for generating Data Web Services visually with the help of direct connection to database.
The integration between XFG and Data Studio can enable to generate XForms/XHTMLs from Data
Web Services generated by Data Studio. This integration provides advantages such as joining the development of UI pages and Data access seamlessly, reducing the workload of UI development from Data Web Services, visualizing the pureXML UI development with full-support of validation, etc.
|
 |
Articles |
 |
19 Dec 2008 |
|
| |
Leveraging RIXML with Web services
Research Information Exchange Markup Language (RIXML) defines a standard XML schema for exchanging content and metadata that tags content with relevant information such as locations, names, and key information types that organizations can use to efficiently perform look-up, sort, and search operations. Discover how the combination of RIXML and Web services provides a powerful mechanism for exchanging key information.
|
 |
Tutorials |
 |
16 Dec 2008 |
|
| |
Polymorphic Web services, Part 1: Polymorphic data
The potential benefits of a Service-Oriented Architecture (SOA) in terms
of loose coupling and reuse, leading to business agility, have been well
publicised for some time. But for SOA to provide a truly flexible platform for
business process management (BPM), you need to introduce an element of
abstraction into your service invocations. This article shows you how to use
XML extensions and dynamic service invocation techniques to provide a double
whammy of polymorphism, creating truly flexible service invocations while
simplifying business processes.
|
 |
Articles |
 |
20 Nov 2008 |
|
| |
An introduction to XML User Interface Language (XUL) development
XUL is a tried and true application framework. In fact, the recently released Firefox 3.0 is not only built using XUL, but provides a XUL runtime environment that enables any Firefox user to run other XUL applications. In this tutorial, you start to program in XUL and learn about some tools to help you develop XUL apps. Build a XUL-based blog editor as you enhance your Web development skills to build desktop apps with XUL.
|
 |
Tutorials |
 |
04 Nov 2008 |
|
| |
Create a Yahoo! SearchMonkey application
SearchMonkey is one of the first attempts from a major search engine to make
use of Semantic Web technologies to enhance search results. In this tutorial, you
will implement a Yahoo! SearchMonkey application that enhances blogger.com search
listings to include other information about the blog and blog owner. You will
first implement a basic application using the default data available from Yahoo!.
Then you will create a custom data service to provide your own structured data to
SearchMonkey before you develop a more advanced application that takes advantage of this new custom data service.
|
 |
Tutorials |
 |
14 Oct 2008 |
|
| |
Separate content from presentation with XSLT, SimpleXML, and PHP 5
Over the years, developers have devised many strategies and frameworks to
facilitate the separation of business logic and presentation logic. In this
tutorial, you will explore two solutions to separating data and business logic
from presentation logic: one using XSLT through the XSL module in PHP 5 and the
other using the SimpleXML module in PHP 5. To do this, you'll use a Web page for a personal resume stored as an XML file as an example.
|
 |
Tutorials |
 |
07 Oct 2008 |
|
| |
Develop a dynamic location-based mashup
Mashups are a new, highly interactive Web development methodology. Essentially a mix
of related content put together from disparate sources, mashups provide rich dynamic content
for a superb user experience. Getting Asynchronous
JavaScript + XML (Ajax) and mashup chops into your development toolbox will
benefit you with high demand in the evolving Web 2.0
workspace.
|
 |
Tutorials |
 |
07 Oct 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 |
 |
01 Oct 2008 |
|
| |
Advancing with XQuery: Develop application idioms
The XQuery specification is well over a year old now. A surfeit of solid
implementations combined with (if developer chatter is anything to go by) marked new
interest, seems to indicate that XQuery is finally experiencing higher adoption rates.
Possibly this is due to developers starting to figure out how to utilize XQuery within
a rich mixture of XML technologies (such as XML databases. XSLT, XML Schema). Learn how to use XQuery beyond its original role as an XML query language and apply it toward the development of middleware and Web applications.
|
 |
Tutorials |
 |
30 Sep 2008 |
|
| |
Develop PHP applications with Picasa Web Albums
Search, retrieve, add, modify, and delete photos in a Google Picasa web album with Picasa Web Albums REST-based Data API, the SimpleXML extension in PHP, and Zend's GData Library. In this article, find practical examples using ATOM feeds from the API along with PHP programs to process your photos and photo metadata.
|
 |
Articles |
 |
16 Sep 2008 |
|
| |
Overlay data on maps using XSLT, KML, and the Google Maps API, Part 2: Transform and use the data
In this two-part article series, you'll develop an application for a real
estate brokerage to display all available apartment listings as clickable
Placemarks on Google Maps. In Part 1, you created the first half of the
application that collects the apartment listing information from the user, uses
the Google Geocoder Web service to turn the street address into its geographical
coordinates (longitude and latitude), and stores the coordinates in the database
along with the address information. In Part 2, you will use this data to produce a
KML overlay document and display it in Google Maps and Google Earth. First, you'll use stored procedures to produce XML from MySQL. Then with XSLT and a technique called Muenchian grouping, you'll transform the XML data into a KML document containing the overlay information -- one Placemark for each apartment building. The pop-up balloon for each Placemark displays the available apartment listings in that building. Finally, you'll use the Google Maps API to display the KML overlay in a Google Map embedded within your own Web site.
|
 |
Articles |
 |
09 Sep 2008 |
|
| |
Create a Java applet to download information in remote Web services
Start with a Java applet and build a server-based
proxy system that uses your browser to access an arbitrary Web service. You'll use
JavaScript code to access applet-based information and call a servlet, which retrieves
the remote information. Thus, you bypass the same-server restrictions on what an
applet can and cannot do.
|
 |
Articles |
 |
04 Sep 2008 |
|
| |
Overlay data on maps using XSLT, KML, and the Google Maps API, Part 1: Tap into the Google Geocoder Web service
Explore the Google Geocoder Web service that takes a street address and
returns data about that address including its longitude and latitude. In this two-part article series, you will combine it with the Google Maps API and XSLT to create data overlays for display in Google Maps and Google Earth. You will create an example application for a real-estate brokerage that lets a broker enter listings for apartments through an HTML form, uses Google's Geocoder Web service to translate those addresses into longitudes and latitude, and then creates KML overlays from the database of apartment listings. In Part 1, you build the first half of the application to collect the apartment listing information from the user, uses the Google Geocoder Web service to turn the street address into its geographical coordinates (longitude and latitude), and stores those coordinates in the database along with the address information.
|
 |
Articles |
 |
02 Sep 2008 |
|
| |
Thinking XML: Firefox 3.0 and XML
Mozilla continues to improve its flagship browser and the latest major release,
Firefox 3.0, offers something for just about everyone. XML developers were certainly
not left out -- the new version improves basic parsing, DOM, XSLT, SVG, and more. In this article, learn of the new features Firefox 3.0 offers for XML processing; pay close attention to how the added EXSLT extensions open up fresh possibilities for XSLT on the browser.
|
 |
Articles |
 |
29 Jul 2008 |
|
| |
Ajax overhaul, Part 4: Retrofit existing sites with jQuery and Ajax forms
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. With this series,
you've been learning to modernize your UI incrementally using open source, client-side libraries. In this installment,
learn to transform a multistep checkout process from a series of sequential forms into a single-screen interface
using Ajax techniques. You do so using the principle of progressive enhancement, ensuring that your site remains accessible to all sorts of user-agents.
|
 |
Articles |
 |
29 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 |
|
| |
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 |
|
| |
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 |
|
| |
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.
|
 |
Tutorials |
 |
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 |
|
| |
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.
|
 |
Tutorials |
 |
15 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 |
|
| |
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 |
|
| |
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 |
|
| |
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.
|
 |
Tutorials |
 |
29 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 |
|
| |
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 |
|
| |
Inheriting Web sites, Part 2: Optimizing your Web site
After you've made a Web site easily maintainable (see Part 1), issues
of speed, accessibility, and organization become key. Learn how to analyze
your site's pages and improve their efficiency and
layout.
|
 |
Articles |
 |
08 Apr 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 |
|
| |
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.
|
 |
Tutorials |
 |
18 Mar 2008 |
|
| |
Top ten XML articles and tutorials - January 2008
See what XML content your peers found most valuable last
month
|
 |
|
 |
07 Mar 2008 |
|
| |
Top ten XML articles and tutorials - March 2008
See what XML content your peers found most valuable last
month
|
 |
|
 |
07 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 |
|
| |
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 |
|
| |
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.
|
 |
Tutorials |
 |
26 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 |
|
| |
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 |
|
| |
Where and when to use Ajax in your applications
Ajax has changed the way Web applications are made. Learn how you can use Ajax to improve your Web sites while avoiding bad user experiences.
|
 |
Articles |
 |
05 Feb 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 |
|
| |
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: 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 |
|
| |
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.
|
 |
Tutorials |
 |
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 |
|
| |
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 |
|
| |
Top ten XML articles and tutorials - December 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
07 Jan 2008 |
|
| |
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 |
|
| |
Top ten XML articles and tutorials - November 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
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 |
|
| |
Ajax and XML: Ajax for chat
Learn to build a chat system into your Web application with Asynchronous
JavaScript + XML (Ajax) and PHP. Your customers can talk to you and to each other about
the content of the site without having to download or install any special instant-messaging software.
|
 |
Articles |
 |
04 Dec 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 |
|
| |