Background Image
Table of Contents Table of Contents
Previous Page  464 / 478 Next Page
Information
Show Menu
Previous Page 464 / 478 Next Page
Page Background

Check out one of the Python async web servers—Tornado, gevent, Twisted—and see if

you can use it to implement dynamic notifications.

To test it, you’ll need two browser instances (like we used for the list sharing tests), and

check that notifications of the actions from one appear in the other, without needing to

refresh the page…

Switch to Using py.test

py.test

lets you write unit tests with less boilerplate. Try converting some of your unit

tests to using

py.test

. You may need to use a plugin to get it to play nicely with Django.

Client-Side Encryption

Here’s a fun one: what if our users are paranoid about the NSA, and decide they no

longer want to trust their lists to The Cloud? Can you build a JavaScript encryption

system, where the user can enter a password to encypher their list item text before it

gets sent to the server?

One way of testing it might be to have an “administrator” user that goes to the Django

admin view to inspect users’ lists, and checks that they are stored encrypted in the

database.

Your Suggestion Here

What do you think I should put here? Suggestions please!

436

|

Appendix E: What to Do Next