Test-driven Development recommended reading direction TDD with Python

Source: Internet
Author: User

1. Caching and performance testing

Learn how to install and configure memcached, and use Apache AB to perform performance testing. How performance is in the case of caching and no caching. Write an automated test that requires the test to fail when the caching mechanism is not open.

Dreaded problem with invalid cache. How to use tests to help determine whether the logic of invalid cache drops is strong.

2. JavaScript's MVC Framework

Use these frameworks to turn this superlist site into a single-page site. Select Backbone.js

3. Synchronization and WebSockets

Assume that two users operate the same manifest at the same time. It's great if one person can instantly see another person's modifications to the list item.

The solution is to establish a continuous connection on the client and server side through WebSockets.

Asynchronous servers such as tornado, gevent, twisted can implement dynamic notification capabilities

Therefore, two browser instances are required.

4. Client-side Encryption

Customers do not want to keep the list in the cloud, implementing a JavaScript encryption system that allows users to encrypt these items before their inventory items are sent to the server.

One way to test this is to look at the user list in the Django Admin interface and check that the storage in the database is also encrypted.

Test-driven Development recommended reading direction TDD with Python

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.