Django practice (1): Requirement Analysis and Design

Source: Internet
Author: User

Depot is a shopping cart application in Agile web development with rails.

The book uses multiple iterations to gradually implement the shopping cart application, putting many people on the path of rails development.

Unfortunately, there seems to be no similar guidelines in the Django world, maybe because pythoner does not need a specific example.

However, it would be a great blessing to allow more people to join the pythoner team through such an example.

 

This article first reviews the requirements of depot. In the future, we will gradually use Django to implement the depot shopping cart application according to the iteration progress in Agile web development with rails.

Based on the original example, some new content will be added to adapt to the development of enterprise-level applications.

At the same time, the features of agile development will be shown as much as possible.

 

In the original book, the requirements for the initial stage are as follows:

 

Role

Buyer and seller.
Use Cases

Buyer: browse products and create orders
Seller: Manage products, process orders, and manage delivery
Interface Design

The buyer's interface includes:
Directory page: You can select a product. The selected product will go to the shopping cart page, and the product will be added to the shopping cart.
Shopping Cart page: displays all selected products. You can return to the category page or go to the payment page to make a payment.
Order page: Enter some element information, and the receipt page is displayed after confirmation of payment
Receipt page: notifies the buyer that the order has been received
Shows the buyer interface process:

The seller interface includes:
Logon page: the seller must log on to the system before using the system. After logging on, select the desired function from the menu.
Menu page: Select maintenance product or view order
Create Product Page: Used to add a new product
Product Information Page: displays the added products, which can be modified or deleted.
Order page: displays order information, which can be ignored or processed

The seller interface process is shown in:

Domain Model

You can easily draw a preliminary model from the interface design, such:

The above is the "requirement" that can be obtained in the initial stage ". Although there are still some uncertain factors, Agile Methods think that development should be started as soon as possible, and these uncertain factors will be gradually clarified in the subsequent iteration process.

Next, we can start the first round of iterative development.

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.