As you yourself stated: "Each button is clicked or any triggered event will require the browser to connect to the web server."
This is an IntraWeb project: a Client-Server application in which most of the code logic runs on the server side. You can add some AJAX widgets to your applications, but IntraWeb itself is a server-side platform.
To have a complete HTML5 AJAX client application that works autonomously, you'll need a clean JavaScript application. Even Sacha / ExtJS-based AJAX basics (like ExtPascal or UniGUI ) or Morfik require a server to start.
But creating a clean HTML5 JavaScript application is a difficult task, but it is possible because you can use the DataSnap content from JavaScript (using XML or JSON). You can try http://www.appcelerator.com/ , which is an excellent development environment and platform for creating JavaScript applications that run as native applications.
To have a disabled HTML5 application, you may need to release the following products:
Thanks to these two projects, you can code in a pascal object, then JavaScript will be compiled from the pascal source, and then use local HTML storage. See, for example, in this article about using storage with Smart / OP4JS - I tested it (in Alpha) and it works very well: you have a clean stand-alone HTML file that can work without any server and have local storage. SQLite3 planning is planned (not yet completed).
source share