software engneeringWord文档下载推荐.docx

上传人:b****6 文档编号:19623876 上传时间:2023-01-08 格式:DOCX 页数:11 大小:655.66KB
下载 相关 举报
software engneeringWord文档下载推荐.docx_第1页
第1页 / 共11页
software engneeringWord文档下载推荐.docx_第2页
第2页 / 共11页
software engneeringWord文档下载推荐.docx_第3页
第3页 / 共11页
software engneeringWord文档下载推荐.docx_第4页
第4页 / 共11页
software engneeringWord文档下载推荐.docx_第5页
第5页 / 共11页
点击查看更多>>
下载资源
资源描述

software engneeringWord文档下载推荐.docx

《software engneeringWord文档下载推荐.docx》由会员分享,可在线阅读,更多相关《software engneeringWord文档下载推荐.docx(11页珍藏版)》请在冰豆网上搜索。

software engneeringWord文档下载推荐.docx

 

2.1.Analysis

Requirementsanalysis 

sometimesrequiresindividuals/teamsfromclientaswellasserviceprovidersidestogetdetailedandaccuraterequirements;

oftentherehastobealotofcommunicationtoandfromtounderstandtheserequirements.Requirementgatheringisthemostcrucialaspectasmanytimescommunicationgapsariseinthisphaseandthisleadstovalidationerrorsandbugsinthesoftwareprogram.

2.2.Design

Thedesignstagetakesasitsinitialinputtherequirementsidentifiedintheapprovedrequirementsdocument.Foreachrequirement,asetofoneormoredesignelementswillbeproducedasaresultofinterviews,workshops,and/orprototypeefforts.

Designdescribesdesiredfeaturesandoperationsindetail,includingscreenlayouts,businessrules,processdiagrams,pseudocodeandotherdocumentation.

2.3.Development

Therealcodeiswrittenhere.

2.4.Testing

Thecodeistestedatvariouslevelsin 

softwaretesting.Unit,systemanduseracceptancetestingsareoftenperformed.Thisisagreyareaasmanydifferentopinionsexistastowhatthestagesoftestingareandhowmuchifanyiterationoccurs.Iterationisnotgenerallypartofthewaterfallmodel,butusuallysomeoccuratthisstage. 

2.5.Deployment

Thefinalstageofinitialdevelopment,wherethesoftwareisputintoproductionandrunsactualbusiness.

2.6.Maintenance

Whathappensduringtherestofthesoftware'

slife:

changes,correction,additions,andmovestoadifferentcomputingplatformandmore.This,theleastglamorousandperhapsmostimportantstepofall,goesonseeminglyforever.

3.MethodologiesandModels

Insoftwareengineering,therearesomemethodologiesandmodels.

ThemethodologiescontainsDevelopment(SSAD&

OOAD)、Maintenance,DataWarehousing、eLearning、ProductDevelopment.AndthemodelscontainsWaterfall、V-Model、RADModel、PrototypeModel、IncrementalModel、IterativeModel.

4.ProjectLifeCycle

Thecommonprojectlifecyclewilllikeflowbelow:

5.UML

UnifiedModelingLanguage 

(UML)isastandardizedgeneral-purpose 

modelinglanguage 

inthefieldof 

object-oriented 

softwareengineering.Thestandardismanaged,andwascreatedby,theObjectManagementGroup.

UMLincludesasetofgraphicnotationtechniquestocreate 

visualmodels 

of 

software-intensivesystems.

TheUMLcombinesthebestofthebestfrom:

✧DataModelingconcepts(EntityRelationshipDiagrams)

✧BusinessModeling(workflow)

✧ObjectModeling

✧ComponentModeling

5.1.UsageofUML

WecanuseUMLto

✧Displaytheboundaryofasystemanditsmajorfunctionsusingusecasesandactors

✧Illustrateusecaserealizationswithinteractiondiagrams

✧Representastaticstructureofasystemusingclassdiagrams

✧Modelthebehaviorofobjectswithstatetransitiondiagrams

✧Revealthephysicalimplementationarchitecturewithcomponent&

deploymentdiagrams

5.2.UseCaseDiagrams

Ausecaseisasetofscenariosthatdescribinganinteractionbetweenauserandasystem. 

Ausecasediagramdisplaystherelationshipamongactorsandusecases. 

Thetwomaincomponentsofausecasediagramareusecasesandactors.

Anactorisrepresentsauseroranothersystemthatwillinteractwiththesystemyouaremodeling. 

Ausecaseisanexternalviewofthesystemthatrepresentssomeactiontheusermightperforminordertocompleteatask.

Usecasesareusedinalmosteveryproject. 

Theyarehelpfulinexposingrequirementsandplanningtheproject.Duringtheinitialstageofaprojectmostusecasesshouldbedefined,butastheprojectcontinuesmoremightbecomevisible. 

5.3.SequenceDiagrams

Asequencediagramisaninteractiondiagramthatfocusesonthetime-orderingofmessages.Itrepresentstheinteractionbetweendifferentobjectsinthesystem.

Sequencediagramsdemonstratethebehaviorofobjectsinausecasebydescribingtheobjectsandthemessagestheypass. 

thediagramsarereadlefttorightanddescending. 

Theexamplebelowshowsanobjectofclass1startthebehaviorbysendingamessagetoanobjectofclass2. 

Messagespassbetweenthedifferentobjectsuntiltheobjectofclass1receivesthefinalmessage.

5.4.ClassDiagrams

Classdiagramsarewidelyusedtodescribethetypesofobjectsinasystemandtheirrelationships.Classdiagramsmodelclassstructureandcontentsusingdesignelementssuchasclasses,packagesandobjects.Classdiagramsdescribethreedifferentperspectiveswhendesigningasystem,conceptual,specification,andimplementation.Theseperspectivesbecomeevidentasthediagramiscreatedandhelpsolidifythedesign.ThisexampleisonlymeantasanintroductiontotheUMLandclassdiagrams.IfyouwouldliketolearnmoreseetheResourcespageformoredetailedresourcesonUML.

Classesarecomposedofthreethings:

aname,attributes,andoperations. 

Belowisanexampleofaclass:

Classdiagramsalsodisplayrelationshipssuchascontainment,inheritance,associationsandothers. 

Belowisanexampleofanassociativerelationship:

TheclassOrderisassociatedwiththeclassCustomer. 

Themultiplicityoftheassociationdenotesthenumberofobjectsthatcanparticipateintherelationship.1 

Forexample,anOrderobjectcanbeassociatedtoonlyonecustomer,butacustomercanbeassociatedtomanyorders.

Anothercommonrelationshipinclassdiagramsisageneralization. 

Ageneralizationisusedwhentwoclassesaresimilar,buthavesomedifferences. 

Lookatthegeneralizationbelow:

InthisexampletheclassesCorporateCustomerandPersonalCustomerhavesomesimilaritiessuchasnameandaddress,buteachclasshassomeofitsownattributesandoperations. 

TheclassCustomerisageneralformofboththeCorporateCustomerandPersonalCustomerclasses.ThisallowsthedesignerstojustusetheCustomerclassformodulesanddonotrequirein-depthrepresentationofeachtypeofcustomer. 

Nowgivethewholeclassdiagramofthisexample:

5.5.StateDiagrams

Statediagramsareusedtodescribethebehaviorofasystem. 

Statediagramsdescribeallofthepossiblestatesofanobjectaseventsoccur. 

Eachdiagramusuallyrepresentsobjectsofasingleclassandtrackthedifferentstatesofitsobjectsthroughthesystem. 

BelowisanexampleofastatediagrammightlooklikeforanOrderobject. 

WhentheobjectenterstheCheckingstateitperformstheactivity"

checkitems."

Aftertheactivityiscompletedtheobjecttransitionstothenextstatebasedontheconditions[allitemsavailable]or[anitemisnotavailable]. 

Ifanitemisnotavailabletheorderiscanceled. 

Ifallitemsareavailablethentheorderisdispatched. 

WhentheobjecttransitionstotheDispatchingstatetheactivity"

initiatedelivery"

isperformed. 

AfterthisactivityiscompletetheobjecttransitionsagaintotheDeliveredstate.

5.6.ActivityDiagram

Activitydiagramsdescribetheworkflowbehaviorofasystem. 

Activitydiagramsaresimilarto 

statediagrams 

becauseactivitiesarethestateofdoingsomething. 

Thediagramsdescribethestateofactivitiesbyshowingthesequenceofactivitiesperformed. 

Activitydiagramscanshowactivitiesthatareconditionalorparallel.

Belowisapossibleactivitydiagramforprocessinganorder. 

Thediagramshowstheflowofactionsinthesystem'

sworkflow. 

Oncetheorderisreceivedtheactivitiessplitintotwoparallelsetsofactivities. 

Onesidefillsandsendstheorderwhiletheotherhandlesthebilling. 

OntheFillOrderside,themethodofdeliveryisdecidedconditionally. 

DependingontheconditioneithertheOvernightDeliveryactivityortheRegularDeliveryactivityisperformed. 

Finallytheparallelactivitiescombinetoclosetheorder. 

5.7.PhysicalDiagrams

Therearetwotypesofphysicaldiagrams:

deploymentdiagramsandcomponentdiagrams.Deploymentdiagramsshowthephysicalrelationshipbetweenhardwareandsoftwareinasystem.Componentdiagramsshowthesoftwarecomponentsofasystemandhowtheyarerelatedtoeachother.Theserelationshipsarecalleddependencies.

Thecombineddeploymentandcomponentdiagramabovegivesahighlevelphysicaldescriptionofthecompletedsystem. 

ThediagramshowstwonodeswhichrepresenttwomachinescommunicatingthroughTCP/IP. 

Component2isdependentoncomponent1,sochangestocomponent2couldaffectcomponent1.Thediagramalsodepictscomponent3interfacingwithcomponent1. 

Thisdiagramgivesthereaderaquickoverallviewoftheentiresystem. 

6.Exercise

InordertomasterUMLbetter,Itakeanexampleforexercise.HereisacaseaboutHomeLoan.TheHomeLoanCustomerentersallthenecessarydetailsintheformtoapplyforaloanwiththesystem.

6.1.E-RDiagram

Insoftwareengineering,anentity-relationshipmodelisanabstractandconceptualrepresentationofdata.Entity-relationshipmodelingisadatabasemodelingmethod,usedtoproduceatypeofconceptualschemaorsemanticdatamodelofasystem,oftenarelationaldatabase,anditsrequirementsinatop-downfashion.Diagramscreatedbythispro

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > IT计算机 > 电脑基础知识

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1