您好,欢迎访问三七文档
当前位置:首页 > IT计算机/网络 > 网站策划/UE > B2C网站详细设计书
1I.Introductiona.SystemreferenceWeassumedbothMaria'sComputerco.andpotentialcustomers.1.Foracustomerwhowantstobuycomputer..Screensetto640*480and256color(Ifnot,causestexttobeobscuredbysidemarginbyourmodel.).28.8kor56kmodems(Thiscansparegraphicsandmakecolorreduction.).Netscape2.0overorMSExplore3.0over(ThiscansupportsJavascript.)2.Second,forMariacomputerco.VBbasicorMsAccess.MSwindow95orNT.Personalwebserverb.Overalldescription.Managingthewebserver.Controllingthedatabaseinteractively.Realtimeexecutionc.SoftwareprojectconstraintsII.InformationDescriptiona.Informationcontentrepresentation1.customer::::customer_id,customer_name,etc..product::::product_id,product_name,brand,etc..payment::::order_number,paymentpattern,shipping&handling,etc.b.Informationflowrepresentation1.Dataflow2eventstart=customer=selection_product=selection_pay,delivery==final_decision=end1SeeApp.12seeApp.22III.FunctionalDescriptiona.FunctionalpartitioningThison-lineshoppingsystemispartitionedintothreefunctions:processinguserID,selectingcomputer-relatedproducts,andchoosingpayment&shippingpatterns.b.Functionaldescription31.Restrictions/limitationSincetimeisverylimited,thefirstproductdoesnotincludedareport,whichcanbehandedinthesupervisor,sothatthison-linestorecanbeoperatedmoresystematically.Thosecustomerscannotreceiveourshoppingnewsmonthly.Nowtheon-lineorderislimitedintheNorthAmericasincethemailingfeeswouldbeveryhighifwesellproductstoothercountries.Wewillimproveitinthefuture.Thison-linestorecanonlybeusefulforUSDandCanadianDollars.Sincetheorderofmainframeisverylimited,nowwedonotkeepkindsofproductsinourproductinventory.2.ProcessingnarrativeIn“processinguserID”function,sincethissystemisonlyavailableforsomeonewhoisinNorthAmerica,thisfunctioncannotprocesstheaddresswhichisoutofUSAandCanada.In“selectingcomputerproducts”function,mainframewillnotavailableandnoteverybrandincluded.3.DesignconstraintsThecustomercanonlycanceltheorderbefore“selectingpayment&shippingpattern”function.Oncethecustomersinputthecreditcardnumbersorotherpaymentspattern,theycannotdroptheorder.Wewillprovideverificationbeforetheyinputthepaymentspatternsothattheywillknowtheordercannotbedropped.Butifthecustomerisnotsatisfiedwiththeproducts,wehavethefull-refundpolicy.Anycustomerwhowantstoorderproducts,heorshemusthaveuserID.3SeeApp.334.Supportingdiagramsc.ControlDescription41.Controlspecification.Whentheproductsorderedbyacustomerisout-of-stock,display“Itisout-of-stocknow”.Whenthecustomerinputsothercountry’saddress,display“ItisonlyavailablewithinNorthAmerica”..Whenthecustomercanceltheorderordonotwanttoenterthiswebpagefurther,goback.2.DesignconstraintsCustomerwillnotbeallowedtodroptheorderafterheorshehadselectedpaymentandmailingpatterns.IV.BehavioralDescriptionThereare3levelsofStateDiagram.a.StateDiagramLevel15Wehave4statessuchasReadingUserInput,SelectComputerComponent,CheckUserIDandChoosingPaymentPattern.Eachstatehasanexternaleventthatcausesthesystemtochangestate.FromReadingUserInputState,therearetwooptionsthatcustomercanselect.First,whencustomerselectsshoppingbuttononscreen,theshoppingpage(SelectComputerComponentspage)willbeactivated.FromSelectComputerComponentsstage,ifcustomerselectsitemthathewantstobuyorexittheprogram,thestage“ChoosingPaymentPattern”willbeactivated.Afterheselectspaymentpattern,thesoftwarewillinvokeinputscreenagainforwaitingcustomerinput.Thesecondoptionistocreatecustomerprofileindatabase.Aftercreatingcustomerprofile,customercanselectcomputerthathewantstobuyorexitprogram.4SeeApp.45SeeApp.5InformationCustomerProductsOn-lineShoppingsystemSelectedProduct4b.StateDiagramLevel261.ForSelectingComputerProductsWehave3states:ReadingUserInput,SelectingComputerProducts&BrandsandCalculatingExpense.Eachstatehasanexternaleventthatcausesthesystemtochangestate.FromReadingUserInput,whencustomerwantstobuyaproduct,thesoftwarewillinvoketheshoppingpage.Afterthecustomerselectsproduct&brandthathewantstobuy,thesoftwarewillinvokecalculationexpenseoftheproduct.2.ForProcessingCustomerID&DisplayInvoiceWehave4states:ReadingUserInput,CheckCustomerID,CreatingCustomerIDandDisplayingCustomerInformation&ItemSelected.Eachstatehasanexternaleventthatcausesthesystemtochangestate.FromReadingUserInput,whencustomerwantstobuysomething,hehastoputcustomerID.Ifheisnotamember,thesoftwarewillinvokeCreatingCustomerIDpage.Ifheisamemberandhewantstodisplayproductthathechoseinthepast,thesoftwarewillinvokeDisplayingCustomerInformation&ItemSelectedPage.3.ForSelectingPayment&ShippingPatternWehave3states:ReadingUserInput,SelectPayment&ShippingPatternandcalculatingtotalexpense.Eachstatehasanexternaleventthatcausesthesystemtochangestate.FormReadingUserInput,whencustomerselectedproductsandbrandsalready,hehastoselectpaymentandmailpatterntopayhisproducts.Afterthat,thesoftwarewillinvokeTotalAmountPagethatcustomercanunderstandhowmuchhehastopayfortheproduct.c.StateDiagramLevel371.ForDisplayCustomerIDWehave4statessuchasReadingUserInput,DisplayInformation,UpdateInformation,andCustomerchecksorder.Eachstatehasanexternaleventthatcausesthesy
本文标题:B2C网站详细设计书
链接地址:https://www.777doc.com/doc-3783643 .html