The secret formula for interactive web applications:
iWebApp = HttpRequest as channels + Javascript objects as messages
If you have Firefox installed, click on this link for a half-baked sample.
SqlManager
* Clicking on a table refresh its structure
* Clicking on view, shows the table's content
* Clicking on run, executes the SQL command
Add a rich user interface like XUL and there you have it, an improved formula for a richer web experience.