Building an itunes search client using Apache Pivot

Source: Internet
Author: User
Tags json

Building rich Internet applications with WTKX and Java technology

Before you start

Common terminology

Ajax: Asynchronous JavaScript + XML

API: Application Programming Interface

CSV: comma-separated values

GUI: Graphical user interface

HTML: Hypertext Markup Language

HTTP: Hypertext Transfer Protocol

Json:javascript Object Notation

Jvm:java Virtual Machine

REST: Image State transfer

UI: User Interface

URL: Uniform Resource Locator

World Wide Web Consortium: WWW Consortium

XHTML: Extensible Hypertext Markup Language

XML: Extensible Markup Language

This tutorial assumes that you are familiar with common WEB development concepts and technologies, including Java technology, XML, JSON, JavaScript, and HTTP. After reading this tutorial, you will understand how you can easily use these technologies to build Pivot applications.

About this tutorial

Like other RIA development platforms, Apache Pivot contains a number of features that make it easier to build modern GUI applications, including declarative user interfaces, data binding, visual effects and gradients, and Web service integration. Pivot applications are built with a mixture of Java technology and xml-based Markup Language (WTKX). Java Virtual Machine scripting language is also supported. You can use Java plug-ins to run Pivot applications in a Web browser, or to run them as stand-alone desktop applications (you can take them offline).

In this tutorial, you will implement a simple but useful Pivot application that allows users to perform searches on the ITunes Store. I start with the introduction of the Pivot platform, then summarize the ITunes search API, and finally show the demo application. In this process, I will explain how to:

Create a user interface declaration with WTKX, which is a Pivot, xml-based UI Markup Language

Use Pivot for JSON serialization with built-in support for processing JSON data

Handling user-Interface events in JavaScript

Prerequisite

The sample code in this tutorial is based on the Pivot 1.3 release, which requires a Java 6 (or later) SDK. You can download the binary file or the source code form of Pivot 1.3; The source code release contains a build file that describes how the project is built.

The source code for the demo application is distributed with the platform. All code samples are published in the Apache Software License, Version 2.0.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.