网站详细设计文档.doc

上传人:cl****1 文档编号:562522884 上传时间:2023-05-13 格式:DOC 页数:59 大小:801.50KB
返回 下载 相关 举报
网站详细设计文档.doc_第1页
第1页 / 共59页
网站详细设计文档.doc_第2页
第2页 / 共59页
网站详细设计文档.doc_第3页
第3页 / 共59页
网站详细设计文档.doc_第4页
第4页 / 共59页
网站详细设计文档.doc_第5页
第5页 / 共59页
点击查看更多>>
资源描述

《网站详细设计文档.doc》由会员分享,可在线阅读,更多相关《网站详细设计文档.doc(59页珍藏版)》请在金锄头文库上搜索。

1、买易通网站详细设计文档 买易通网站详细设计文档Document Version1.0AuthorModuleBill LuArchitecture & Batch ScriptHuili TangUser InterfaceJun FengDatabase & Document IntegrationWick WuLogical LayerYonghe YaoUser InterfaceCreate Date 2005-6-1Last Update Date2005-6-1文档目录1.概述(Summary)51.1文档目的(Introduction)51.2背景(Background)51.3

2、相关文档(Related Documents)52.系统架构(System Architecture)62.1系统性能(Performance)62.2运行环境(Environment)62.3基本概念(Concepts)62.4程序模块结构(Module Structure)62.5后台脚本处理过程(Batch Process)62.6人工处理过程(Manual Process)62.7系统容错设计(Application Exceptions)63.用户界面设计(User Interface Design)74.逻辑层设计(Logic Layer Design)84.1系统类结构及关系84

3、.1.1总述:84.1.2CategorySystem.104.1.3ProductSystem.134.1.4AccountSystem.154.1.5ReviewSystem.194.1.6StoreSystem.204.2各主要算法实现流程214.2.1Overview.214.2.2Category Related.214.2.3Product Related234.2.4Review Related.274.2.5User Related.274.2.6Store Related275.数据库设计(Database Design)285.1Database summary285.2T

4、BL_ACCOUNT305.3TBL_ACCOUNT_LOGON325.4TBL_APPLYCHANGE335.5TBL_ARTICLE345.6TBL_ARTICLE_BODY355.7TBL_BATCH365.8TBL_CATEGORY375.9TBL_CONDITION395.10TBL_LIST405.11TBL_PRODUCT415.12TBL_PRODUCT_CHANGE435.13TBL_PROPERTY445.14TBL_PROPERTY_CHANGE455.15TBL_PROPERTY_GROUP465.16TBL_PROPERTY_LIST475.17TBL_PROPERT

5、Y_VALUE485.18TBL_RATING495.19TBL_REVIEW505.20TBL_REVIEW_BODY525.21TBL_STORE535.22TBL_STORE_LOGON555.23TBL_TOPIC565.24TMP_TRUST576.后台脚本设计(Batch Script Design)587.名词解释(Terminology)597.1关系网(Web of Trust)597.2开放式目录管理(Open Taxonomy)591. 概述(Summary)1.1 文档目的(Introduction)1.2 背景(Background)1.3 相关文档(Related

6、Documents)2. 系统架构(System Architecture)2.1 系统性能(Performance)2.2 运行环境(Environment)2.3 基本概念(Concepts)2.4 程序模块结构(Module Structure)2.5 后台脚本处理过程(Batch Process)2.6 人工处理过程(Manual Process)2.7 系统容错设计(Application Exceptions)3. 用户界面设计(User Interface Design)4. 逻辑层设计(Logic Layer Design)4.1 系统类结构及关系4.1.1 总述:MyET里我

7、们抽象出5个实体对象,分别是Category, Product, User, Review和Store,. 作为整个Business Faade里面的主要功能块,User Interface Layer 通过调用实体对象的功能函数完成操作。Business Faade层经过Business Rule层的数据检查,通过Data Access层以Common Layer定义的数据结构实现对数据库的访问。 Business Faade5个实体对象对应的Class名称分别是CategorySystem, ProductSystem, AccountSystem, ReviewSystem, Store

8、System. 下面是各个Class实现的主要接口列表。4.1.2 CategorySystem.Function: CreateCategoryPara: int parentID, /所在的父目录位置; string catName, /要创建的目录名称; CategoryData.CategoryType catType, /目录类型,枚举类型 NotLeaf = 0, Leaf = 1 string remark , /备注;Return: -1; /创建失败int Id ; /创建得到新的categoryid ;Description: 创建一个新的category。Function

9、: GetCategoryByIDPara: int categoryID, /CategoryData category /out Category DataReturn: VoidDescription: 通过CategoryID得到category详细Function GetChildrenPara: int categoryID, CategoryData category /out Category Data.Return : VoidDescription: 返回目录的子目录,如果是叶子节点,返回空。Function GetParentsPara:int categoryID, C

10、ategoryData category /out 按照从Root到该categorys 的 Parent的顺序排列的目录集,Return: voidDescription: 根据CategoryID得到该Category的所有长辈,按照由高到低的顺序排列Function GetTopLevelCategoriesPara:CategoryData category /out,得到Top Level的目录集合,按照从左到右的顺序排列。Return :VoidDescription : 得到顶层目录集合,按照显示顺序排序过的。Function GetRecommendCategoriesPara

11、:int categoryID,/指定目录的id.int itemCount, /推荐目录的个数CategoryData category/out 得到推荐目录的列表,并按显示顺序排列Return: voidDescription:Function UpdateCategoryPara:CategoryData category/ 要修改的Category Data.Return: Bool/True for Success, False for failed.Description:更改目录的信息。Function: SetLinkCategoryPara:int srcCategoryID

12、,int destCategoryIDReturn: Bool/True for Success, False for failed.Description: 设定Link Category, if Linkid0 means this category was linked to Linkid. Function : GetRecommendProductsByIDPara:int categoryID, ProductData product /outReturn: voidDescription: 得到目录对应的推荐商品列表Function : GetRecommendStoresByI

13、DPara:int categoryID, ProductData product /outReturn: voidDescription: 得到目录对应的推荐商品列表Function : GetBestReviewerByIDPara:int categoryID, AccountData account/ outReturn: VoidDescription :得到目录对应的最佳评论员。4.1.3 ProductSystem.Function CreateProductPara:ProductData productReturn: bool/ true for success; false

14、 for failed.Decription : Create Product.Function GetAllProductsInCategoryPara:int categoryID, ProductData product/out产品信息。Return: voidDescription: 得到目录下的所有产品信息列表。Function GetProductByIDPara:int productID,ProductData productReturn:voidDescription: 通过productID得到产品的信息。Fucntion GetProductReviewsPara:int accountID,int productID, ReviewData

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 商业/管理/HR > 劳务/用工合同

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号