Skip to content

PyCon 2014 Sprint ideas

Balázs Reé edited this page Apr 17, 2014 · 14 revisions

Auth

  • Pluggable Data Store
  • Social Auth (Velruse)
  • Signed Cookies

Models

  • Activation
  • User
    • UserEmail
  • Group (or Account?)
  • External Identity (Facebook, Twitter, etc)

Views

  • CRUD Activation
  • CRUD User
    • Register
    • UserProfile
  • Login
  • Logout
    • Should kick out active session
  • Forgot Password
  • Invite Users

Examples

async story

(@reebalazs / ree)

This is by the way not Pyramid related. Same story in Django.

Figure out the possibilities, identify major problems. Document a working configuration.

Possibilities to examine:

  • gevent-socketio (but we don't need long polling any more! so no need to socketio?)
  • gevent + websockets
  • gevent + channelstream
  • tulip (!!!)

Client. What will be needed on the client.

Deployment. Create a suggested and working server config.

Scaling. Possible solution:

  • separate processes with redis
  • separate processes with message queue (...which?)
  • multiple threads or separate processes with Twisted

###Summary

I did not actually start the actual work on this during the sprint, but I did a great deal of discussions with other people. We had a lot of talk with @paulweveritt, @tresseaver, @sontek, @raydeo, @theuni and others about the possible future of gevent based solution and its deployment aspects. In addition I could also get an opinion and advice from @gvanrossum and @glyph about the possible usage of Tulip.

Based on this, the initial solution (ready for deployment right away) could be gevent based. (gevent is currectly not yet compatible with Python 3, but afaik it's on the way to get there.) There is however no need for socketio any more, as we do not need long polling to support legacy browsers any longer, and can go for a clean websocket solution. I will start working on this shortly.

On the long term, using Tulip is a strong possibility. However the usage of Tulip in the context of a web application will need more research and experiment. (For example, how it will affect the WSGI stack, what other stacks are needed in addition to Tulip, etc.) I will also need to learn more about Tulip itself.

##Substance-D

Multifile upload in the sdi

(@reebalazs / ree)

Using jquery.fileupload. Multiple file selection or dnd. Individual file progress bars. Display thumb of images before and during upload.

No iframe support needed.

Make sdidemo run on PY3.3+

Squash bugs, get release closer