Below is a collection of apps to help you learn Water. Click on the links to run the programs.
Example programs
hello_water one-line program to display a static string.
model_view_controller complete, but simple, model-view-controller app in 10 lines.
contact_manager search and add to persistent contact database
newspaper fast browsing of data
newspaper as a service deliver RSS feed, submit new articles, content syndication
static_web_site a searchable brochure
static_web_site as a service returns page as XML
tic_tac_toe simple game showing multiple classes
tic_tac_toe as a service returns game state as CXS
reporting view and search formatted reports
reporting as a service http://somesite/my_report.h3o#<find start=<date 2008 11 10/> />.csv
poll_and_chart_results create a poll and chart theresults
poll_and_chart_results as a service poll_input and polling_results as xml
simple_editor content editing with files and
cash_register fast point-of-sale terminal with custom products
TODO: integrating Water program into HTML page
TODO: showing how we embed other apps (mashup)
TODO: simple Wiki/content management/preferences
TODO: doc_system: Interactive, searchable documentation and help system.
TODO: rss_reader
TODO: invoice_maker
TODO: email_client
TODO: tetris (or blockus) A game with sound and sprite animation
TODO: instant_messaging. IM-like chat tool
More Services
TODO: time_service
TODO: zip_code_to_state
TODO: submit_order |
These apps demonstrate Water features.
User Interface Features
static_html static HTML is a program. Embedding images.
simple_link linking two pages together
simple_form getting text input in a form (5 lines)
nested_forms embedded apps possible
using_w calling controller methods from UI forms and buttons
form_inputs examples of all form controls and widgets
cascading_popups
ui_select_menu using a select menu for control
tabs multiple applications shown in tabs
water style parameterized, object-oriented, CSS styles
img_script_resource deliver binary images and scripts
kiosk protected full-screen, and auto-scaling display
incremental updates
incremental updates to the Web page through the Water DOM
unicode supporting multiple languages and character sets
Integrating with other technologies
JavaScript
TODO: embedding flash
TODO: using Applets
TODO: PHP
TODO: Python
Input/Output Features
http_request simple_get_remote_page, remote_call
reading_writing_files
TODO: reading_writing_xml
TODO: relational_db
TODO: inter_program_communication
Transforms
xml_transform
csv_transform
Algorithms
bubblesort classic sorting algorithm
factorial
Benchmarks
count_refresh (count_refresh_dom)
sprite_animation (should be incremental updates) |