Programming with Water™: Introduction to a Simple Application
- Water Forms: The Task
- Design
- Implementation
- Code Walk-through
- Processing Sequence
- Summary
- References and Useful links
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:
When the "Subscribe" button is pressed, the following page is then displayed: