Home > Articles > Web Services > XML

Programming with Water™: Introduction to a Simple Application

  • Print
  • + Share This
Learn how Water™ — a new XML-Native language that allows you to program in XML — can be used to create a simple form-based application.
Like this article? We recommend

Introduction

Water is a new XML-Native language that allows you to program in XML. It is an open language designed to simplify the creation of new Web services and programs. Water extends XML to encompass presentation, business logic, and data.

This article shows how Water can be used to create a simple form-based application.

The Task

This article describes the design and implementation of a simple two page web program. The first page displays a subscription form to the user. When the "Subscribe" button is pressed, the subscriber's information is added to a list of subscribers. When you go to the URI http://water.waterlang.org/subscription_form

the following page is displayed in the browser: Figure 1 the following page is displayed in the browser

When the "Subscribe" button is pressed, the following page is then displayed: Figure 2 When the

  • + Share This
  • 🔖 Save To Your Account