Ide7 is a simple editor, which uses a browser as user interface. If the
browser is not running it will be started. If the browser is already
running a new tab is opened, which contains the dialog of ide7.
login.
Usage
Ide7 can be executed from the commandline with:
s7 ide7
It is possible to type in a program or to load an existing program.
When a program has been changed it can be saved. Graphic programs
can be executed also. A running program can be terminated.
How the user interface works
The library browser.s7i defines a function to open a browser.
The browser is instructed to load a page from a specified port.
The program listens at this port and answers the HTTP request.
Pressing a button in the browser triggers a new request that is
again answered by the program. The program uses the library
cgidialog.s7i to create HTML to answer the HTTP request.
In the Seed7 program dialog elements are defined. HTML and HTTP
are encapsulated in the library, such that the programmer does not
need to handle HTML or HTTP.
|