-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andrew Stein <steinlink@gmail.com>
- Loading branch information
Showing
169 changed files
with
7,894 additions
and
3,809 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ | ||
# ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃ | ||
# ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃ | ||
# ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃ | ||
# ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃ | ||
# ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫ | ||
# ┃ Copyright (c) 2017, the Perspective Authors. ┃ | ||
# ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃ | ||
# ┃ This file is part of the Perspective library, distributed under the terms ┃ | ||
# ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃ | ||
# ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ | ||
|
||
[book] | ||
authors = ["Andrew Stein"] | ||
language = "en" | ||
multilingual = false | ||
src = "md" | ||
title = "Perspective" | ||
|
||
[build] | ||
build-dir = "static/guide" | ||
|
||
[output.html] | ||
# theme = "my-theme" | ||
# default-theme = "light" | ||
# preferred-dark-theme = "navy" | ||
# smart-punctuation = true | ||
# mathjax-support = false | ||
copy-fonts = true | ||
git-repository-url = "https://github.com/finos/perspective" | ||
git-repository-icon = "fa-github" | ||
site-url = "https://perspective.finos.org/guide/" | ||
additional-css = [ | ||
"md/perspective.css", | ||
"node_modules/@finos/perspective-viewer/dist/css/themes.css", | ||
] | ||
# additional-js = [] | ||
# no-section-label = false | ||
# edit-url-template = "https://github.com/rust-lang/mdBook/edit/master/guide/{path}" | ||
# site-url = "/guide/" | ||
# cname = "myproject.rs" | ||
# input-404 = "not-found.md" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Summary | ||
|
||
[What is Perspective](./perspective.md) | ||
|
||
# Overview | ||
|
||
- [Data Architecture](./explanation/architecture.md) | ||
- [Client-only](./explanation/architecture/client_only.md) | ||
- [Client/Server replicated](./explanation/architecture/client_server.md) | ||
- [Server only](./explanation/architecture/server_only.md) | ||
- [`Table`](./explanation/table.md) | ||
- [Construct an empty `Table` from a schema](./explanation/table/constructing_schema.md) | ||
- [Schema and column types](./explanation/table/schema.md) | ||
- [Loading data](./explanation/table/loading_data.md) | ||
- [`index` and `limit` options](./explanation/table/options.md) | ||
- [`update()` and `remove()` streaming methods](./explanation/table/update_and_remove.md) | ||
- [`clear()` and `replace()` start-over methods](./explanation/table/clear_and_replace.md) | ||
- [`View`](./explanation/view.md) | ||
- [Querying data](./explanation/view/querying.md) | ||
- [`group_by`](./explanation/view/config/group_by.md) | ||
- [`split_by`](./explanation/view/config/split_by.md) | ||
- [`aggregates`](./explanation/view/config/aggregates.md) | ||
- [`columns`](./explanation/view/config/columns.md) | ||
- [`sort`](./explanation/view/config/sort.md) | ||
- [`filter`](./explanation/view/config/filter.md) | ||
- [`expressions`](./explanation/view/config/expressions.md) | ||
- [Flattening a View into a Table](./explanation/view/config/flattening.md) | ||
- [JavaScript](./explanation/javascript.md) | ||
- [Module Structure](./explanation/javascript_module_structure.md) | ||
- [Build options](./explanation/javascript_builds.md) | ||
- [Python](./explanation/python.md) | ||
|
||
# Getting Started | ||
|
||
- [Rust](./how_to/rust.md) | ||
- [JavaScript](./how_to/javascript.md) | ||
- [Installation via NPM](./how_to/javascript/installation.md) | ||
- [Importing with or without a bundler](./how_to/javascript/importing.md) | ||
- [`perspective` data engine library](./how_to/javascript/worker.md) | ||
- [Serializing data](./how_to/javascript/serializing.md) | ||
- [Cleaning up resources](./how_to/javascript/deleting.md) | ||
- [Hosting a `WebSocketServer` in Node.js](./how_to/javascript/nodejs_server.md) | ||
- [`perspective-viewer` Custom Element library](./how_to/javascript/viewer.md) | ||
- [Theming](./how_to/javascript/theming.md) | ||
- [Loading data from a `Table`](./how_to/javascript/loading_data.md) | ||
- [Loading data from a virtual `Table`](./how_to/javascript/loading_virtual_data.md) | ||
- [Saving and restoring UI state](./how_to/javascript/save_restore.md) | ||
- [Listening for events](./how_to/javascript/events.md) | ||
- [Python](./how_to/python.md) | ||
- [Installation](./how_to/python/installation.md) | ||
- [Loading data into a `Table`](./how_to/python/table.md) | ||
- [Callbacks and events](./how_to/python/callbacks.md) | ||
- [Multithreading](./how_to/python/multithreading.md) | ||
- [Hosting a WebSocket server](./how_to/python/websocket.md) | ||
- [`PerspectiveWidget` for JupyterLab](./how_to/python/jupyterlab.md) | ||
- [Tutorial: A `tornado` server with virtual `perspective-viewer`](./tutorials/python/tornado.md) | ||
|
||
# API | ||
|
||
- [Crate documentation on `docs.rs` ](./api_reference.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# API Reference | ||
|
||
Perspective's complete API is hosted on `docs.rs`: | ||
|
||
- [`perspective-client`](https://docs.rs/perspective-client/latest/perspective_client/index.html) | ||
covers `Table` and `View` data engine API methods common for Rust, | ||
JavaScript and Python. | ||
- [`perspective-rs`](https://docs.rs/perspective-client/latest/perspective_client/index.html) | ||
adds Rust-specific documentation for the Rust crate entrypoint. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Explanation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Data Architecture | ||
|
||
Application developers can choose from | ||
[Client (WebAssembly)](./architecture/client_only.md), | ||
[Server (Python/Node)](./architecture/server_only.md) or | ||
[Client/Server Replicated](./architecture/client_server.md) designs to bind | ||
data, and a web application can use one or a mix of these designs as needed. By | ||
serializing to Apache Arrow, tables are duplicated and synchronized across | ||
runtimes efficiently. | ||
|
||
Perspective is a multi-language platform. The examples in this section use | ||
Python and JavaScript as an example, but the same general principles apply to | ||
any `Client`/`Server` combination. | ||
|
||
<img src="./architecture/architecture.svg" /> |
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
Oops, something went wrong.