Photo Search Demonstration — Using the Toolbar

The Photo Search demonstration is a pretty nifty application. Of course, its real purpose is to show you how the XQueryWebService framework can be used to update a database, search Flickr photos, and generate dynamic HTML. In this section, we'll introduce you to the toolbar, which provides easy-to-use tools that can help you learn about the power of DataDirect XQuery and Web services.

Looking Under the Covers

Every screen of every XQueryWebService demonstration application includes the following toolbar:

View Source

As you might imagine, you use the View Source button to view the XQuery source code that generated the HTML page. Clicking this button displays static HTML of the XQuery code responsible for generating the HTML of the current page, as shown in the following illustration.

Get Web Services

The Get Web Services button displays a list of all the Web service operations exposed by the application. The following illustration shows the list of the Web service operations exposed by the Photo Search demonstration:

Clicking an operation in the list displays a simple interface that allows you to test the operation individually.

Learn More

Finally, the Learn More button opens a Web browser to the start of these pages.

Try It Now

Click here to start the DataDirect XQuery Photo Search demonstration. Take a few moments to familiarize yourself with the application before continuing with the next section in this discussion.

What's Next?

In the remaining sections, we'll look at the three main functions supported by the Photo Search demonstration application — logging in, searching Flickr photos, and displaying saved queries — and see how DataDirect XQuery and the XQueryWebService framework is used in all of them. We'll start at the beginning, with logging in.

Prev: "Architecture Overview"

Next: "Updating Relational Data"


Copyright © 1993 - 2008. Progress Software Corporation. All rights reserved. | N. America: 800 876 3101 | World: +44 (0) 1753 218 930