Skip to content
Ruiyang Ding edited this page Apr 10, 2019 · 2 revisions

General points

  • No need to support IE 11

Flask extensions

http://flask.pocoo.org/extensions/

Common stuff

Django like flask service

Need to implement generic tool from simple-payments.helpers.Flask. Example of how that should be used in simple-payments.init

Asset management

???

Authentication and Authorization

Flask-Login

  • login_manager.user_loader -> get user and group objects from cache or DB

Flask-Principal

  • Provides permission concept
  • Should support idea of tree style groups ("provides role 'aalto.cs.letech'")

Flask-Lti-Login

  • 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 have make_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

Real time updates to web UI

Server-Side Events vs. WebSockets

Threads? Maximum concurrent streams?