Rapidwebdev Framework-rapid Development Product Management sample program

Source: Internet
Author: User

First of all, we follow the previous thinking, the first chapter of the T_product to carry out a certain expansion, the following figure:

Here, I added a t_product_category table for storing product classification information, classifying it as a tree structure, and adding a t_warehouse table for storing store letter information, then adding corresponding foreign keys and some extended fields in t_product. With the data table, the corresponding management code (CRUD, UI, etc.) for the classification and warehouse is started, and then called on the product page. In order to save space, this code is not posted here, anyway is a lot of.

In Rapidwebdev, similar to classification, warehouse information, which is not a very large amount of data, can be completely replaced with hierarchydate and Concretedata. Using Rapidwebdev, we only need to keep the T_product table, and then add the product classification and warehouse information configuration information in Sitemap.config, we can achieve the above functions, in the case of simple requirements, even code writing are saved.

<Item Text="业务模块">
      <Item Text="产品管理" PageUrl="~/ProductManagement/DynamicPage.svc" Value="Everyone" />
      <Item Text="产品分类管理" PageUrl="~/HierarchyDataManagement/DynamicPage.svc?HierarchyType=产品分类" Value="ProductGategoryManagement" />
      <Item Text="仓库管理" PageUrl="~/ConcreteDataManagement/DynamicPage.svc?ConcreteDataType=仓库" Value="DepotManagement" />
</Item>

It's better to put up a picture to illustrate the problem, O (∩_∩) o

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.