| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
See the docstring for more details.
|
|
|
|
|
|
|
| |
NOTE:
By using the "tornado.options", each module can defines its own
options, which are added to the global namespace.
And the defined options can also be used by other modules.
|
|
|
|
|
| |
The "exists" action through the GET request will check the existence of
the specified filepath (which should be an absolute path).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The handling of "configs" and "console" types of messages, will be
changed to implement using the AJAX techniques.
The basic WebSocket communication is too low-level, and there is no easy
way to relate each received message to the corresponding sent message.
There are high-level sub-protocols exists (e.g., WAMP [1]) to allow the
RPC (remote procedure call) and publish/subscribe operations, however,
the Tornado web framework current does not support them, and another
client JavaScript library is also required.
Using the more traditional AJAX techniques allow the request-response
model and sequential operations (e.g., jQuery deferred and promises) be
easily implemented. Therefore better operation interaction and
reflection and error handling is achieved.
[1]: WAMP: Web Application Messaging Protocl, http://wamp-proto.org/
|
|
|
|
|
| |
NOTE:
These two AJAX handlers are currently not finished!
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Split "ConfigsHandler" from "FG21simWSHandler" as "handlers/configs.py"
|
| |
|
| |
|
|
Move the "IndexHandler" to separate module located at the "handlers/"
directory.
|