Comments (4)
I've tried to keep the list of flask specific things as small as possible.
- Auth is hand-rolled (https://github.com/plotly/dash-auth) with standard HTTP stuff and cookies
- Dash-Python uses
gzip
but that can be done on the server layer too - Dash-Python optionally serves files locally instead from CDNs - alternative implementations will need to be able to serve files
- Deployment for R should be able to use https://github.com/virtualstaticvoid/heroku-buildpack-r/tree/heroku-16 for heroku and Plotly On Prem deployment
AFAIK, users are only accessing the underlying web server (app.server
) to:
- Add additional HTTP routes like static file serving
- Access the requests cookies (we can use this to allow developers to access the username of the logged-in viewer)
from dashr.
@chriddyp I'm not super familiar with Flask, so if you think there is anything that is absolutely essential that may not be obvious from studying the dash ecosystem, please let me know!
from dashr.
Great, seems like most of things are already doable given @thomasp85's fiery/routr/reqres framework.
from dashr.
Yeah - there're no deal breakers here - I'm planning to add standard authentication tools to firesafety
, but if js dash uses a custom setup this will just have to be made custom in R as well...
fiery
supports, automatic packing, unpacking of bodies using gzip, deflate, and brotli
fiery
has no problem serving static content and routr
even has a plugin route for mapping URL paths to subdirectories...
I have no experience with heroku so here we'll have to experiment - I cannot see why there should be any problems though (famous last words)
from dashr.
Related Issues (20)
- Sugestion: where it makes sense, functions of the Dash R6 class should invisibly return self HOT 1
- Bug: app$layout() says it allows a collection, but it does not work
- Suggestion: app$layout should be more flexible by allowing a comma-separated list of arguments HOT 1
- Suggestion: app$layout should allow non-components HOT 1
- Dash does not work without explicitly loading {dashHtmlComponents} HOT 3
- app$get_asset_url() - usage unclear, causes errors
- Application does not render when serve_locally is FALSE
- Add helper function to set DashTable columns to Dash for R
- Small improvement: `app$callback` has a parameter named `output` instead of `outputs` HOT 1
- Warning thrown when a callback has multiple outputs and multiple inputs and # of inputs is not a multiple of # of outputs HOT 1
- help~I want update this packages,what should i do ? HOT 1
- Adding a callback fails it's the second callback and both callbacks are either one or two character IDs
- Callbacks are not correctly checking to make sure the same output (id/property pair) is used only once HOT 5
- No error thrown (but there should be) when callbacks have a period character in the ID of an input/output/state
- Authentication for the server[DashR]
- license clarification HOT 5
- Dead? HOT 1
- Custom favicon is not displayed HOT 2
- Index overrides through `interpolate_index` do not work
- Polyfill.io CDN concerns?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dashr.