電政大三下-包-系統(tǒng)分析與設(shè)計larmanooad part_第1頁
電政大三下-包-系統(tǒng)分析與設(shè)計larmanooad part_第2頁
電政大三下-包-系統(tǒng)分析與設(shè)計larmanooad part_第3頁
電政大三下-包-系統(tǒng)分析與設(shè)計larmanooad part_第4頁
電政大三下-包-系統(tǒng)分析與設(shè)計larmanooad part_第5頁
免費(fèi)預(yù)覽已結(jié)束,剩余28頁可下載查看

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

ApplyingUMLandPatterns

AnIntroductionto

Object-orientedAnalysis

andDesign

andIterativeDevelopment

PartI-IntroductionChaptersObjectorientedanalysisanddesignIterative,evolutionary,andagileCasestudyTextbook,44回顧:軟件工程軟件工程定義IEEE:SoftwareEngineeringare(1)“theapplicationofasystematic系統(tǒng)化,disciplined規(guī)范化,quantifiable可度量approachtothedevelopment,operation,andmaintenanceofsoftware”;(2)在(1)中所述方法的研究。軟件工程知識體系(SWEBOK)以高質(zhì)量、低成本為目標(biāo),研究軟件生產(chǎn)的過程模型、方法與工具

★★★軟件工程知識體系內(nèi)涵軟件工程領(lǐng)域中的核心知識包括:軟件需求(Softwarerequirements)軟件設(shè)計(Softwaredesign)軟件建構(gòu)(Softwareconstruction)軟件測試(Softwaretest)軟件維護(hù)與更新(Softwaremaintenance)軟件配置管理(SoftwareConfigurationManagement,SCM)軟件工程管理(SoftwareEngineeringManagement)軟件開發(fā)過程(SoftwareDevelopmentProcess)軟件工程工具與方法(SoftwareEngineeringToolsandmethods)軟件質(zhì)量(SoftwareQuality)高品質(zhì)程序標(biāo)準(zhǔn)滿足客戶要求,客戶愿意使用良好的設(shè)計和代碼,便于維護(hù)、重用、擴(kuò)展回顧:waterfallmodel瀑布模型優(yōu)勢:定義了軟件開發(fā)基本流程創(chuàng)意階段:描述問題,市場,關(guān)鍵技術(shù)等分析階段:調(diào)查問題與需求。。。劣勢:1.人力資源問題:--知識技能需求不同--人員數(shù)量要求不同2.容錯能力問題:--在后期發(fā)現(xiàn)需求問題,工作量難接受3.前后依賴問題:--前面需求模糊,后面工作無法開展現(xiàn)象:延期,項目不可控★課程必讀彼得·德魯克(PeterF.Drucker)基本管理問題(知識型團(tuán)隊)重視目標(biāo)與成果知識的權(quán)威(知識工作者即為管理者)時間的管理團(tuán)隊的組織與協(xié)作(技能互補(bǔ)團(tuán)隊)組織的目的是使平凡的人做出不平凡的事布魯克斯(FrederickP.Brooks.Jr.)復(fù)雜軟件的問題管理問題產(chǎn)品定義問題設(shè)計問題前人的經(jīng)歷是后人的財富Chap2

Iterative,Evolutionary,andAgile迭代、敏捷地開發(fā)為什么迭代、敏捷開發(fā)是OOAD的關(guān)鍵“最佳實踐”UnifiedProcessTheUnifiedProcess(UP)representsamainstreamapproachforsoftwaredevelopmentacrossthespectrumofprojectscales.Theprocessisscalable:youneednotusetheentireframeworkoftheprocessforeveryproject,onlythosethatareeffective.Theprocessiseffective:ithasbeensuccessfullyemployedonalargepopulationofprojects.Improvesproductivitythroughuseofpracticalmethodsthatyou’veprobablyusedalready(butdidn’tknowit).Iterativeandincrementalapproachallowsstartofworkwithplete,imperfectknowledge.★UnifiedProcessWorkflowsWorkflowsdefineasetofactivitiesthatareperformedWorkflowscutacrossthephases,butwithdifferentlevelsofemphasisineachphaseThecoreworkflowsBusinessModelingRequirementsanalysisDesignImplementationTestandIntegration★★TheCoreWorkflows1BusinessModelingDevelopandrefinetheproblemdefinitionIdentifystakeholderneedsDefinesystemfeaturestobeconsideredDefinethesystemscopeBuildtheuse-casemodelRequirementsAnalysisRefineuse-casemodelDefinethedomainmodelDefineacandidatearchitecture(transitionstodesign)Refinethearchitecture(transitionstodesign)TheCoreWorkflows2DesignDesignthephysicalrealizationsoftheusecasesDevelopthedesignmodelDevelopthedeploymentmodelImplementationPlansubsystemimplementationImplementcomponents:classes,objects,etc.Performunit-leveltestingPerformcomponentandsystemintegrationTestandIntegrationBuildthetestmodel:testcasesandexpectedresultsPlan,design,implement,execute,andevaluatetestsUseCaseDrivenUsecaseAproserepresentationofasequenceofactionsActionsareperformedbyoneormoreactors

(humanornon-human)andthesystemitselfTheseactionsleadtovaluableresultsforoneormoreoftheactors—helpingtheactorstoachievetheirgoalsUsecasesareexpressedfromtheperspectiveoftheusers,innaturallanguage,andshouldbeunderstandablebyallstakeholdersUse-case-drivenmeansthedevelopmentteamemploystheusecasesfromrequirementsgatheringthroughcodeandtest★★ArchitectureCentricSoftwarearchitecturecapturesdecisionsabout:TheoverallstructureofthesoftwaresystemThestructuralelementsofthesystemandtheirinterfacesThecollaborationsamongthesestructuralelementsandtheirexpectedbehaviorArchitecture-centric:softwarearchitectureprovidesthecentralpointaroundwhichallotherdevelopmentevolvesProvidesa‘bigpicture’ofthesystemProvidesanorganizationalframeworkfordevelopment,evolvingthesystembyattendingtomodifiabilityqualitiesofthesystemFacilitatesreuse★★IterativeandEvolutionary1Aniterativeandevolutionaryapproachallowsstartofdevelopmentwithplete,imperfectknowledgeIterativeandevolutionarythefollowingadvantages:Logicalprogresstowardarobustarchitecture(逐步趨向穩(wěn)定)Effectivemanagementofchangingrequirements(有效管理需求變化)Continuousintegration(持續(xù)集成)Earlyunderstandingofthesystem(‘Helloworld!’effect)(盡早接觸整個系統(tǒng))Ongoingriskassessment(在線風(fēng)險評估)★★IterativeandEvolutionary2IterativeandEvolutionary3IterativeandEvolutionary4★迭代UPvs.Scrum術(shù)語AgileIterativeUPScrumIteration(迭代周期)Sprint(沖刺)Usecases(用例)或Story(故事)Backlog(產(chǎn)品條目,特征)Kickoffmeeting(啟動會議)SprintplanmeetingWorkshop(工作會議)Dailymeeting(每日例會)Demo(演示)SprintdemoReview&nextPlan(回顧與下個迭代計劃)Sprintreview(沖刺回顧)CoffeeTime(私下交流時間)Phase(階段)Disciplines(科目)Milestone(里程碑)AgileMethodsandAttitudesAgileMethods:However,shorttimeboxediterationswithevolutionaryrefinementofplans,requirements,anddesignOther:simplicity,lightness,communication,self-organizingteams,etc.Scrum,XP……TheAgileManifestoIndividualsandinteractionsoverprocessesandtoolsWorkingsoftwareovercomprehensivedocumentationCustomercollaborationovercontractnegotiationRespondingtochangeoverfollowingaplan★AgileMethodsandAttitudesTheAgilePrinciplesOurhighestpriorityistosatisfythecustomerthroughearlyandcontinuousdeliveryofvaluablesoftware.echangingrequirements,evenlateindevelopment.Deliverworkingsoftwarefrequently.Businesspeopleanddevelopersmustworktogetherdailythroughouttheproject.Buildprojectsaroundmotivatedindividuals.Face-to-faceconversation.Workingsoftwareistheprimarymeasureofprogress.Agileprocessespromotesustainabledevelopment.Thesponsors,developers,andusersshouldbeabletomaintainaconstantpaceindefinitely.Continuousattentiontotechnicalexcellenceandgooddesignenhancesagility.Simplicity-theartofmaximizingtheamountofworknotdoneisessential.Thebestarchitectures,requirements,anddesignsemergefromself-organizingteams.Atregularintervals,theteamreflectsonhowtoemoreeffective,thentunesandadjustsitsbehavioraccordingly.★AgileModelingAdoptinganagilemethoddoesnotmeanavoidinganymodelingThepurposeofmodelingandmodelsisprimarilytosupportunderstandingandcommunication,notdocumentation.Don'tmodelorapplytheUMLtoallormostofthesoftwaredesign.Usethesimplesttoolpossible.Don'tmodelalone,modelinpairs(ortriads)atthewhiteboard.Createmodelsinparallel.Use"goodenough"simplenotationwhilesketchingwithapenonwhiteboards.Knowthatallmodelswillbeinaccurate,andthefinalcodeordesigndifferentsometimesdramaticallydifferentthanthemodel.DevelopersthemselvesshoulddotheOOdesignmodeling,forthemselves.★UnifiedProcessPhases1★UnifiedProcessPhases2CoreWorkflowsandPhases1CoreWorkflowsandPhases2CoreWorkflowsandPhases3Artifacts,Workers,andActivities1Anartifactisapieceofinformationthatisusedasinputto,changedby,oroutputfromaprocessExamplesinclude:Models—use-case,domain,anddesignModelelements—usecase,domainclass,designclassDiagramsanddocumentsSourcecodeExecutableelements★Artifacts,Workers,andActivities2WorkersdefinethebehaviorandresponsibilitiesofanindividualorateamExamples:Architect,use-caseengineer,componentengineer,systemintegratorSomeimportantdistinctions:WorkersparticipateinthedevelopmentofthesystemActorsareoutsidethesystemandhaveusagerelationshipswiththesystemStakeholderspassbothactorsandworkers,aswellasothersinvolvedwiththeproject★Artifacts,Workers,andActivities3ActivitiesarethetasksperformedwithinaworkflowActivitiescandescribeawiderangeofabstractionlevels,fromhigh-level(‘constructdomainmodel’)tolow-level(‘implementclass’)Examplesinclude:PlaniterationFindusecasesandactorsExecuteintegrationtestReviewtestresultsTheAgileUnifiedProcessTheUnifiedProcesshasbeendesignedfromtheoutsetas:Lightweight:‘Payasyougo.’Useonlytheparts

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論