Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: update PerspectiveTornadoServer to PerspectiveTornadoHandler #987

Merged
merged 1 commit into from
Mar 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/md/js.md
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ hosting an endpoint at which a `table()` can be accessed:
_*server.py*_

```python
from perspective import Table, PerspectiveManager, PerspectiveTornadoServer
from perspective import Table, PerspectiveManager, PerspectiveTornadoHandler

# Create an instance of PerspectiveManager, and host a Table
MANAGER = PerspectiveManager()
Expand Down
6 changes: 3 additions & 3 deletions docs/md/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,13 +236,13 @@ the Python kernel, and returns the results of the operation to the browser.
All of this is _enabled_ through `PerspectiveManager`, which handles messaging,
processing method calls, serializing outputs for the network, etc.

In Python, use `PerspectiveManager` and `PerspectiveTornadoServer` to create
In Python, use `PerspectiveManager` and `PerspectiveTornadoHandler` to create
a websocket server that exposes a `Table`:

_*server.py*_

```python
from perspective import Table, PerspectiveManager, PerspectiveTornadoServer
from perspective import Table, PerspectiveManager, PerspectiveTornadoHandler

# Create an instance of PerspectiveManager, and host a Table
MANAGER = PerspectiveManager()
Expand Down Expand Up @@ -298,7 +298,7 @@ _*index.html*_

### Using a hosted `View` in Javascript

An alternative client/server architecture using `PerspectiveTornadoServer` and
An alternative client/server architecture using `PerspectiveTornadoHandler` and
`PerspectiveManager` involves hosting a `View`, and creating a new `table()` in
Javascript on top of the Python `View`.

Expand Down