-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Ruiyang Ding edited this page Apr 10, 2019
·
2 revisions
- No need to support IE 11
http://flask.pocoo.org/extensions/
- Flask-Classy, tool to help creating class based views
- Flask-WTF, WTForms for flask. Similar to Django Forms.
- Flask-Gravatar, gravatar images for emails
- Flask-Cache
- Celery for background tasks (async, websocket)
Need to implement generic tool from simple-payments.helpers.Flask. Example of how that should be used in simple-payments.init
???
-
login_manager.user_loader-> get user and group objects from cache or DB
- Provides permission concept
- Should support idea of tree style groups ("provides role 'aalto.cs.letech'")
- PyLTI, maybe could be used for LTI related parts
- Flask-Login for user authentication integration
-
Flask-Dance, some design ideas could be copied from here. For example, similar to
make_github_blueprint(...)we could havemake_lti_blueprint.
User Models
-
Flask-User, too integrated with password. Separates first and lastname. -
Flask-Security, expect the usermodel to include password authentication, which we are not going to have
Above libs are still probably good sources for examples how to implement Lti-Login in reusable way without database requirements
Server-Side Events vs. WebSockets
- Flask-SSE for server-side events
Threads? Maximum concurrent streams?