 |
 |
 |
 |
 |
 |
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 |
|
| |
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 |
|
| |
Explore multithreaded programming in XUL
As you create cross-platform desktop applications using XUL, you also can
enhance your skills with JavaScript, CSS, and even HTML. XUL's cross-platform
capabilities are not a collection of least common denominator features. Instead,
XUL gives you the kind of power that you might expect from a desktop application
toolkit, including access to native threads. You can even access native threads
directly from JavaScript, writing code that executes in parallel. In this article,
you will examine the multithreading capabilities of XUL, and create an application
that uses multiple threads to retrieve data. You will take a classic IO-bound
application, one that accesses multiple remote data sources over the Internet, and
speed it up through multiple threads in XUL. The application will allow users to
view and compare anonymous results of three popular search engines: Google,
Yahoo, and Bing from Microsoft(R).
|
 |
Articles |
 |
01 Sep 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 |
|
| |
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 |
|
| |
Using E4X on the server-side with Jaxer
The ECMAScript for XML (E4X) standard gives JavaScript developers a powerful API to work with XML. As it is not supported in Internet Explorer, you might not get to use it often. That is not an issue if you use JavaScript on the server with Jaxer. In this article, you see how JavaScript and E4X make it easy to work with XML on the server. Combine this key ingredient with Jaxer to create Ajax applications using nothing but JavaScript.
|
 |
Articles |
 |
03 Mar 2009 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
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.
|
 |
Tutorials |
 |
27 May 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 |
|
| |
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 |
|
| |
Top ten XML articles and tutorials - March 2008
See what XML content your peers found most valuable last
month
|
 |
|
 |
07 Mar 2008 |
|
| |
Top ten XML articles and tutorials - January 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 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
Top ten XML articles and tutorials - December 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
07 Jan 2008 |
|
| |
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 |
|
| |
Top ten XML articles and tutorials - November 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
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 |
|
| |
Top ten XML articles and tutorials - October 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
08 Nov 2007 |
|
| |
Use an XForms document as a custom XML editor
In a recent article we looked at XSLT 2.0 functions to convert an XML bracket to an HTML page that displayed the results of a fictional tournament. In this article, we revisit that XML document type to create an attractive editor that fills in the bracket. The result is a custom editor for a specific XML document type.
|
 |
Articles |
 |
06 Nov 2007 |
|
| |
Extending XForms to enable rich text editing
The landscape of Web-based rich-text editing today includes blogs, wikis,
social networking sites, and more. Learn how to extend
the standard XForms set of controls to provide this rich text editing.
|
 |
Articles |
 |
30 Oct 2007 |
|
| |
Integrate XForms with the Google Web Toolkit, Part 4: Creating interactive forms with GWT and XForms
This four-part series demonstrates how to use the Google Web Toolkit (GWT) and XForms together to create a dynamic Web application. Part 1 looks at the JavaScript
underpinnings of each technology. Part 2 shows how to use those JavaScript
underpinnings to start mixing the two technologies together to build the rock star
application. Part 3 refactors the application to use XForms and GWT together. In
this concluding part, you'll continue to refactor and improve your rock star application.
|
 |
Articles |
 |
16 Oct 2007 |
|
| |
Top ten XML articles and tutorials - September 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
12 Oct 2007 |
|
| |
Integrate XForms with the Google Web Toolkit, Part 3: Using GWT to create XForms
This four-part series demonstrates how to use the Google Web Toolkit (GWT)
and XForms together to create a dynamic Web application. Part 1 looked at the two
technologies and how both had JavaScript underpinnings. Part 2 shows how to create a
small application with two pages. One page uses GWT to show a list of artists
managed by a record company. The second page uses XForms to display the albums
recorded by a particular artist. Part 3 uses GWT and XForms on the same page. See
how to take advantage of each technology's bindings to JavaScript by using JavaScript to achieve interactivity between GWT and XForms.
|
 |
Articles |
 |
09 Oct 2007 |
|
| |
Ajax and XML: Ajax for lightboxes
In a world where everything is designed to amaze and distract, it's awfully difficult
to get a user's attention. Learn how to use new techniques such as lightboxes, pop-ups,
windows, and fading messages with your Ajax tools to get your users' eyes on your content.
|
 |
Articles |
 |
25 Sep 2007 |
|
| |
Integrate XForms with the Google Web Toolkit, Part 2: Creating an artist and album management form
This four-part series demonstrates how to use the Google Web Toolkit (GWT) and XForms together to create a dynamic Web application. Part 1 looked at the JavaScript underpinnings of each technology. Part 2 shows you how to use those JavaScript underpinnings to start mixing the two technologies together to build the rock star application.
|
 |
Articles |
 |
25 Sep 2007 |
|
| |
Integrate XForms with the Google Web Toolkit, Part 1: Introducing GWT's JavaScript Native Interface
This four-part series demonstrates how to use the Google Web Toolkit (GWT) and XForms together to create a dynamic Web application. Part 1 starts with a bottom-up approach to the problem of using GWT and XForms together. It takes a look at some of the underpinnings of each technology, examining the common ground between them that will allow for their peaceful coexistence. This will lay the foundation for developing a Web application that uses both GWT and XForms together.
|
 |
Articles |
 |
18 Sep 2007 |
|
| |
Top ten XML articles and tutorials - August 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
13 Sep 2007 |
|
| |
Generating XForms applications using the National Information Exchange Model (NIEM)
This article demonstrates how XForms applications can be automatically created from a National Information Exchange Model (NIEM) constraint schema, and shows how graphical tools can allow non-programmers to automatically create rich Web applications using a model-driven approach. It gives an example of how a short XML transformation (XSLT) is used to achieve this task and how the transformation can be modified and extended by developers.
|
 |
Articles |
 |
21 Aug 2007 |
|
| |
Ajax and XML: Ajax for ratings and comments
In the age of the people-powered Web, allowing your readers to rate and
review content on your site is critical. Discover just how easy it is to add rating
and commenting features to a site with Ajax.
|
 |
Articles |
 |
24 Jul 2007 |
|
| |
Use JavaScript to make your XForms more robust
Have you ever had an XForm where you clicked the Remove button until all the rows disappeared, and then tried to insert a row back? What happens? Nothing! That's what this article will show you how to solve using JavaScript.
|
 |
Articles |
 |
24 Jul 2007 |
|
| |
Top ten XML articles and tutorials - July 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
17 Jul 2007 |
|
| |
Use XForms and Ajax to create an autosuggest form field
Web application development has been revolutionized by Ajax. What was once a new and flashy technology is now becoming ubiquitous. End users are coming to expect that certain interactions with a Web application will be done "with no refresh," in other words, using Ajax. The ubiquity of Ajax for users has not yet translated to client-side technologies. There are many Ajax frameworks out there that make it simpler to use Ajax, hiding some of the cross-browser issues, but building an Ajax-enabled Web application is still a non-trivial task, to say the least. XForms is a standardized technology that offers many benefits that are complimentary to Ajax. In this article you will see some of the benefits of using Ajax and XForms together by implementing an autosuggest field.
|
 |
Articles |
 |
10 Jul 2007 |
|
| |
Get to know JsonML
The rise of JavaScript Object Notation (JSON) has gone hand-in-hand with the rise of Asynchronous JavaScript + XML (Ajax). JSON is useful because it enables you to easily transmit data that can be turned back into a JavaScript object, but it still requires custom scripting to deal with that object. JsonML is an extension of JSON that enables you to map XML data using JSON type markup, and this in turn enables you to easily create XML or XHTML data based on JSON markup and to build and exchange user interface (UI) elements. This article shows you how to make use of this handy tool.
|
 |
Articles |
 |
03 Jul 2007 |
|
| |
Overcome security threats for Ajax applications
Asynchronous JavaScript + XML (Ajax), a key technology in Web 2.0, allows user interaction with Web pages to be decoupled from the Web browser's communication with the server. In particular, Ajax drives mashups, which integrate multiple contents or services into a single user experience. However, Ajax and mashup technology introduce new types of threats because of their dynamic and multidomain nature. Learn about the threats associated with Ajax technologies, and discover some best practices to avoid them.
|
 |
Articles |
 |
19 Jun 2007 |
|
| |
Top ten XML articles and tutorials - May 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
12 Jun 2007 |
|
| |
Top ten XML articles and tutorials - June 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
12 Jun 2007 |
|
| |
Understanding XForms
With XML-based technologies such as XForms, XQuery, and XSLT, it is possible to create complex multi-user applications, from interactive help systems to custom "game" applications in which multiple users can interact with at once.
|
 |
Articles |
 |
05 Jun 2007 |
|
| |
Build mashups with the Service Component Architecture and Apache Tuscany
See how the Service Component Architecture can be used to build mashup applications.
|
 |
Articles |
 |
22 May 2007 |
|
| |
Top ten XML articles and tutorials - April 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
04 May 2007 |
|
| |
Top ten XML articles and tutorials - March 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
11 Apr 2007 |
|
| |
Simplify Ajax development with jQuery
jQuery is a JavaScript library that helps simplify your JavaScript and Asynchronous JavaScript + XML (Ajax) programming. Unlike similar JavaScript libraries, jQuery has a unique philosophy that allows you to express common complex code succinctly. Learn about the jQuery philosophy, discover its features and functions, perform some common Ajax tasks, and find out how to extend jQuery with plug-ins.
|
 |
Articles |
 |
10 Apr 2007 |
|
| |
Ajax RSS reader
Learn how to build an Asynchronous JavaScript and XML (Ajax) Really Simple Syndication (RSS) reader, as well as a Web component that you can place on any Web site to look at the articles in the RSS feeds.
|
 |
Articles |
 |
03 Apr 2007 |
|
| |
Shaping the future of secure Ajax mashups
Current Web browsers weren't designed to easily and securely get content from multiple sources into one page. Discover how developers have stretched the available tools to fit the task and how doing so has put strain on the resulting applications with respect to security and scalability. Also, learn about several browser improvements being proposed to remedy the situation and how to become part of the conversation that will bring Web development beyond this hurdle to a new level of interoperability.
|
 |
Articles |
 |
03 Apr 2007 |
|
| |
Ajax and XML: Five Ajax anti-patterns
You can learn a lot about how to do things correctly by understanding how things are done incorrectly. Certainly, there's a right way and a wrong way to write Asynchronous JavaScript + XML (Ajax) applications. This article discusses some common coding practices you will want to avoid.
|
 |
Articles |
 |
20 Mar 2007 |
|
| |
Use XForms to create an accounting tool, Part 1: The making of X-Trapolate
This six-part series demonstrates how to leverage the power of XForms in conjunction with MySQL and PHP for support processing to create an online accounting tool called "X-Trapolate." Every good programming technology possesses a range of problems it excels at solving. The series highlights some of the problems that the XForms solves effectively, such as the need for live calculations and greater interactivity. This article, Part 1 of the series, provides an overview of the different forms and functionality that will be created in this series, examining some of the aspects of this type of tool you must consider when undertaking the design.
|
 |
Articles |
 |
20 Mar 2007 |
|
| |
Top ten XML articles and tutorials - February 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
14 Mar 2007 |
|
| |
Ajax and XML: Five common Ajax patterns
Asynchronous JavaScript + XML (Ajax) was certainly the technology buzzword of 2006 and looks to do just as well or better in 2007. But what does it really mean for your application? And which common architectural patterns are used widely in Ajax applications? Discover five common Ajax design patterns that you can use as a basis for your own work.
|
 |
Articles |
 |
06 Mar 2007 |
|
| |
Use XForms to create a dynamic Web search
The tight integration XForms has with XML makes it perfect for viewing the results of XML-based APIs. At the same time, it's powerful enough to create a dynamic interface that can react to changing conditions. This article explains how to use these capabilities by showing you how to create a dynamic search engine client that provides different options and shows different data depending on the search engine chosen.
|
 |
Articles |
 |
06 Mar 2007 |
|
| |
Creating an XForms-based logo generator
Scalable Vector Graphics (SVG) provides an easy way to declaratively create an image using XML, and XForms provides an easy way to edit XML. In this article you will put the two together to create an XForms-based XVG editor for creating SVG images such as logos.
|
 |
Articles |
 |
20 Feb 2007 |
|
| |
XForms tip: Making a read-only control writeable
At times it is crucial to programmatically control the writability of data in your XForms. For example, if you're browsing data in read-only mode (so modifications aren't made by accident), and then you need to update or add new data, the read-only mode of the same controls will need to become writeable. This tip shows how you can change the readonly property of controls programmatically.
|
 |
Articles |
 |
13 Feb 2007 |
|
| |
XForms tip: Reacting to the refreshing of the form
As data changes in your XForms form it can be essential to know right away and do something with the new data, especially when your XForms get more advanced. This tip shows you how to hook such events right into JavaScript methods, thus allowing you to then use the data in many different ways.
|
 |
Articles |
 |
13 Feb 2007 |
|
| |
XForms tip: Using extension functions with Firefox
XForms with Firefox has extension functions that aid your development of JavaScript with XForms. These functions allow you to access your XForms instance data with ease, enabling you to do cool stuff with your XForms, including creating dynamic XForms code. The goal of this tip is to help you make the most of your XForms applications by introducing you to Firefox's extension functions.
|
 |
Articles |
 |
06 Feb 2007 |
|
| |
XForms as an RSS reader/editor
RSS, Atom, and other syndication strategies involve making XML data available for download. XForms, which is designed to view and edit XML, is the perfect environment for an XML editor and reader. This article explains how to create an XML reader and editor using XForms.
|
 |
Articles |
 |
30 Jan 2007 |
|
| |
XForms in Firefox
Elliotte Rusty Harold explains how to process XForms with Firefox.
|
 |
Articles |
 |
23 Jan 2007 |
|
| |
Mastering Ajax, Part 9: Using the Google Ajax Search API
Making asynchronous requests isn't just about talking to your own server-side programs. You can also communicate with public APIs like those from Google or Amazon, and add more functionality to your Web applications than just what your own scripts and server-side programs provide. In this article, Brett McLaughlin teaches you how to make and receive requests and responses from public APIs like those supplied by Google.
|
 |
Articles |
 |
23 Jan 2007 |
|
| |
XML in 2006
Join Elliotte Rusty Harold for a look back at the most significant XML news from 2006.
|
 |
Articles |
 |
16 Jan 2007 |
|
| |
Ajax and XML: Five cool Ajax widgets
With the Web 2.0 wave came a whole new emphasis on the user experience. Part of that experience is the development novel ways to interact with and present information to users. Often, these new interfaces are called widgets and use Asynchronous JavaScript + XML (Ajax) to communicate with the server. Discover five widgets that you can use to enhance the interactivity of your site.
|
 |
Articles |
 |
16 Jan 2007 |
|
| |
XForms tip: Call JavaScript from an XForms form
Because XForms controls are part of a namespace separate from the HTML and page, you cannot use the usual methods for calling JavaScript in response to user events, such as the onclick handler. So what are you to do if you need to call JavaScript from an XForms form? This tip shows you how to do it.
|
 |
Articles |
 |
09 Jan 2007 |
|
| |
XForms tip: Using calculations
Part of the allure of XForms is the fact that it provides more of an opportunity to provide interactivity than regular HTML forms, or at least it provides an opportunity to provide that interactivity with much less hassle. One function that's fairly common in Web forms is the ability to perform a calculation based on data supplied by the user. In a traditional HTML form, this means creating a JavaScript script and checking for specific actions such as the user clicking on a button or leaving a particular field. Any of these actions can be prone to error based on different browser versions or rendering of the form in a nontraditional browser. Fortunately, XForms solves this problem by providing a standard way to include calculations in the functionality of your form.
|
 |
Articles |
 |
02 Jan 2007 |
|
| |
Build a shopping cart application using XForms
This tutorial focuses on key aspects of the W3C XForms 1.0 standard to produce a fully functional Web-based shopping cart. With this approach, the reader will get a good start at creating real-world applications with XForms, without having to learn the entire XForms specification.
|
 |
Tutorials |
 |
12 Dec 2006 |
|
| |
XML Matters: MochiKit
MochiKit is a useful and high-level library for JavaScript. MochiKit takes its main inspiration from Python, and from the many conveniences the Python standard library offers; but on the side it also smooths over the inconsistencies among browser versions. MochiKit.DOM is a particularly handy component that lets you work with DOM objects in much friendlier ways than raw"JavaScript provides. A lot of MochiKit.DOM is customized for XHTML work, which possibly makes its use of XHTML wrapped microformats particularly convenient when combining MochiKit and Ajax.
|
 |
Articles |
 |
21 Nov 2006 |
|
| |
Mastering Ajax, Part 8: Using XML in requests and responses
In the last article of the series,you saw how your Ajax apps can format requests to a server in XML. You also saw why, in most cases, that isn't a good idea. This article focuses on something that often is a good idea: returning XML responses to a client.
|
 |
Articles |
 |
07 Nov 2006 |
|
| |
Dynamic XForms submissions
XForms is an ideal open standards technology for collecting and submitting
data from a wide variety of Web-capable platforms. Creating a single input form for collecting data from many sources is common. However, each location filling out the form may have its own site unique submission requirements such as submitting to multiple targets that are not known to the form author. Mutliple submission targets include local save locations, or submitting to a write-only "vault" for auditing or logging, or any other site-specific submission targets. Using JavaScript to edit the DOM with XForms allows a single form to accommodate multiple, site-unique submission requirements.
|
 |
Articles |
 |
07 Nov 2006 |
|
| |
Developing a Web 2.0 client for IBM Lotus Domino
Create a Web 2.0-style, thin Web client for Lotus Domino using HTML and JavaScript. Building on the previous articles about the IBM Lotus Domino XML (DXL) framework, this article shows you how to extend your Notes/Domino applications with Ajax.
|
 |
Articles |
 |
31 Oct 2006 |
|
| |
Why XForms?
This article explains the problems XForms are intended to solve, including internationalization, accessibility, and device independence. If those problems are your problems too, then XForms is worth further investigation. If those aren't your problems, then you may be better served by simpler solutions. Ultimately, the decision is yours.
|
 |
Articles |
 |
31 Oct 2006 |
|
| |
Real Web 2.0: Bookmarks? Tagging? Delicious!
In this article, you'll learn how to work with del.icio.us, one of the classic Web 2.0 sites, using Web XML feeds and JSON, in Python and ECMAScript. When you think of Web 2.0 technology, you might think of the latest Ajax tricks, but that is just a small part of the picture. More fundamental concerns are open data, simple APIs, and features that encourage users to form social networks. These are also what make Web 2.0 a compelling problem for Web architects. This column will look more than skin deep at important real-world Web 2.0 sites and demonstrate how Web architects can incorporate the best from the Web into their own Web sites.
|
 |
Articles |
 |
26 Oct 2006 |
|
| |
Mastering Ajax, Part 7: Using XML in requests and responses
Brett McLaughlin demonstrates how you can use XML as the data format for sending asynchronous requests.
|
 |
Articles |
 |
10 Oct 2006 |
|
| |
XForms tip: Accepting XForms data in Java
Much has been made about the ability of XForms to provide interactivity, and to submit information in XML. But none of that will do you any good unless you have a way to analyze the data once you send it to the server. This tip shows you how to access the submitted XML data using a Java servlet.
|
 |
Articles |
 |
03 Oct 2006 |
|
| |
XForms tip: Combining Ajax and XForms
Asynchronous JavaScript and XML, or Ajax, has been causing a stir in the Web world for some time now, because it enables Web designers to create an application that reacts to the user's actions without having to reload the entire page, a capability that already exists natively in XForms. This tip looks at both the XForms and Ajax versions and how to combine the two techniques. There are plenty of resources out there to teach you how to actually make Ajax requests, but XForms provides some special challenges and opportunities in using the data once you get it back.
|
 |
Articles |
 |
03 Oct 2006 |
|
| |
Introduction to XForms, Part 3: Using actions and events
XForms is the next generation of Web-based data processing. It replaces traditional HTML forms with an XML data model and presentation elements. In this three-part series, you'll be introduced to XForms and its capabilities, including the basic XForms model and form, the various types of controls, and basic and advanced form submission. This article, the third of a three-part series, shows you how to use actions and events with XForms, and how to control the format of the form's output.
|
 |
Articles |
 |
26 Sep 2006 |
|
| |
Introduction to XForms, Part 2: Forms, models, controls, and submission actions
XForms is the next generation of Web-based data processing. It replaces traditional HTML forms with an XML data model and presentation elements. In this three-part series, you'll be introduced to XForms and its capabilities, including the basic XForms model and form, the various types of controls, and basic and advanced form submission. This article, the second of a three-part series, focuses on creating an XForms-based form using any of the available controls, as well as creating a data model.
|
 |
Articles |
 |
19 Sep 2006 |
|
| |
Generate JSON from XML to use with Ajax
The use of JavaScript code to add interactivity to your data-driven Web applications is hot nowadays. If you can encode your data as JavaScript Object Notation (JSON), you'll simplify its use with the JavaScript language. Discover different approaches that use XSLT V2 to generate JSON from XML data.
|
 |
Articles |
 |
12 Sep 2006 |
|
| |
Mastering Ajax, Part 6: Build DOM-based Web applications
Continue to explore how DOM programming fits into interactive Ajax applications as Brett McLaughlin completes his trilogy of articles on DOM programming with a DOM application in practice.
|
 |
Articles |
 |
12 Sep 2006 |
|
| |
Introduction to XForms, Part 1: The new Web standard for forms
XForms is the next generation of Web-based data processing. It replaces traditional HTML forms with an XML data model and presentation elements. In this three-part series, you'll be introduced to XForms and its capabilities, including the basic XForms model and form, the various types of controls, and basic and advanced form submission. This article covers how XForms actually works, and shows you how to set up XForms with Firefox and Internet Explorer so that you can view your XForms samples.
|
 |
Articles |
 |
12 Sep 2006 |
|
| |
XML in Firefox 1.5, Part 3: JavaScript meets XML in Firefox
In this third article of the XML in Firefox 1.5 series, you learn to manipulate XML with the JavaScript implementation in Mozilla Firefox. In the first two articles, you learned about the different XML-related facilities in Firefox, and the basics of XML parsing, Cascading Style Sheets (CSS), and XSLT stylesheet invocation.
|
 |
Articles |
 |
01 Aug 2006 |
|
| |
The Ajax transport method
Discover three Ajax data transport mechanisms (XMLHttp, script tags, and frames or iframes) and their relative strengths and weaknesses. This tutorial provides code for both the server side and the client side and explains it in detail to provide the techniques you need to put efficient Ajax controls anywhere you need them.
|
 |
Tutorials |
 |
06 Jun 2006 |
|
| |
Mastering Ajax, Part 5: Manipulate the DOM
Last month Brett introduced the Document Object Model, whose elements work behind the scenes to define your Web pages. This month he dives even deeper into the DOM. Learn how to create, remove, and change the parts of a DOM tree, and take the next step toward updating your Web pages on the fly!
|
 |
Articles |
 |
11 Apr 2006 |
|
| |
Mastering Ajax, Part 4: Exploiting DOM for Web response
The great divide between programmers (who work with back-end applications) and Web programmers (who spend their time writing HTML, CSS, and JavaScript) is long standing. However, the Document Object Model (DOM) bridges the chasm and makes working with both XML on the back end and HTML on the front end possible and an effective tool. In this article, Brett McLaughlin introduces the Document Object Model, explains its use in Web pages, and starts to explore its usage from JavaScript.
|
 |
Articles |
 |
14 Mar 2006 |
|
| |
Web clients fatten up with OpenLaszlo
OpenLaszlo is a rich client application architecture that uses Macromedia Flash as a deployment vehicle. Declarative in design, OpenLaszlo relies upon JavaScript for logic and offers advantages over traditional Flash development, including an advanced UI constraints system, an object-oriented design methodology, and built-in support for Web services and a variety of flavors of Remote Procedure Call (RPC). This article details the basic concepts of OpenLaszlo, and gives examples of situations in which an OpenLaszlo solution might be beneficial.
|
 |
Articles |
 |
21 Feb 2006 |
|
| |
Mastering Ajax, Part 3: Advanced requests and responses in Ajax
For many Web developers, making simple requests and receiving simple responses is all they'll ever need, but for developers who want to master Ajax, a complete understanding of HTTP status codes, ready states, and the XMLHttpRequest object is required. In this article, Brett McLaughlin will show you the different status codes and demonstrate how browsers handle each and he will showcase the lesser-used HTTP requests that you can make with Ajax.
|
 |
Articles |
 |
14 Feb 2006 |
|
| |
User annotations in Ajax
The ability to add notes and comments to your Web site can be a powerful and attractive feature for users. This tutorial demonstrates how to implement an Asynchronous JavaScript and XML (AJAX)-based user annotation system in the form of yellow sticky notes that sit on top of regular Web page content. The only additional, required configuration is a back-end Perl script that stores the annotations
|
 |
Tutorials |
 |
31 Jan 2006 |
|
| |
Mastering Ajax, Part 2: Make asynchronous requests with JavaScript and Ajax
Most Web applications use a request/response model that gets an entire HTML page from the server. The result is a back-and-forth that usually involves clicking a button, waiting for the server, clicking another button, and then waiting some more. With Ajax and the XMLHttpRequest object, you can use a request/response model that never leaves users waiting for a server to respond. In this article, Brett McLaughlin shows you how to create XMLHttpRequest instances in a cross-browser way, construct and send requests, and respond to the server.
|
 |
Articles |
 |
17 Jan 2006 |
|
| |
Build apps using Asynchronous JavaScript with XML (AJAX)
AJAX (Asynchronous JavaScript with XML) enables a dynamic, asynchronous Web experience without the need for page refreshes. In this tutorial, you will learn to build AJAX-based Web applications -- complete with real time validation and without page refreshes -- by following the construction of a sample book order application.
|
 |
Tutorials |
 |
15 Nov 2005 |
|
| |
Improve your XSLT coding five ways
Whether you're a beginner with XSLT or a seasoned programmer, you'll surely find that these five tips from Benoit Marchal will improve your coding and give you new ideas. The handful of tips cover using CSS with XSL style sheets (including HTML entities), incorporating client-side JavaScript, working with multiple input documents, and using XSLT to generate style sheets automatically. The article includes sample code to adapt and reuse.
|
 |
Articles |
 |
01 Jan 2001 |
|
| |