武汉理工软件工程课件4

PPT
  • 阅读 49 次
  • 下载 0 次
  • 页数 22 页
  • 大小 101.501 KB
  • 2022-11-24 上传
  • 收藏
  • 违规举报
  • © 版权认领
下载文档15.00 元 加入VIP免费下载
此文档由【小橙橙】提供上传,收益归文档提供者,本网站只提供存储服务。若此文档侵犯了您的版权,欢迎进行违规举报版权认领
武汉理工软件工程课件4
可在后台配置第一页与第二页中间广告代码
武汉理工软件工程课件4
可在后台配置第二页与第三页中间广告代码
武汉理工软件工程课件4
可在后台配置第三页与第四页中间广告代码
武汉理工软件工程课件4
武汉理工软件工程课件4
还剩10页未读,继续阅读
【这是免费文档,您可以免费阅读】
/ 22
  • 收藏
  • 违规举报
  • © 版权认领
下载文档15.00 元 加入VIP免费下载
文本内容

【文档说明】武汉理工软件工程课件4.ppt,共(22)页,101.501 KB,由小橙橙上传

转载请保留链接:https://www.ichengzhen.cn/view-45098.html

以下为本文档部分文字说明:

Chapter4Softwareprototyping•4.1Phototypinginsoftwareprocess•4.2Phototypingtechniques•4.3Userintercasephototyping•Keypo

ints4.1Prototypinginthesoftwareprocess•EvolutionaryprototypingAnapproachtosystemdevelopmentwhereaninitialprototypeisproducedandrefinedthro

ughanumberofstagestothefinalsystem.•Throw-awayprototypingAprototypewhichisusuallyapracticalimplementationofthesystemisproducedtoh

elpdiscoverrequirementsproblemsandthendiscarded.Thesystemisthendevelopedusingsomeotherdevelopmentpro

cess.Prototypingobjectives•Theobjectiveofevolutionaryprototypingistodeliveraworkingsystemtoend-users

.Thedevelopmentstartswiththoserequirementswhicharebestunderstood.•Theobjectiveofthrow-awayprototypingistovalidateor

derivethesystemrequirements.Theprototypingprocessstartswiththoserequirementswhicharepoorlyunderstood

.4.1.1Evolutionaryprototyping•Mustbeusedforsystemswherethespecificationcannotbedevelopedinadvancee.g.AIsystemsanduserinterface

systems.•Basedontechniqueswhichallowrapidsystemiterations.•Verificationisimpossibleasthereisnospecification.V

alidationmeansdemonstratingtheadequacyofthesystem.Evolutionaryprototypingadvantages•AccelerateddeliveryofthesystemRapiddeliveryand

deploymentaresometimesmoreimportantthanfunctionalityorlong-termsoftwaremaintainability.•UserengagementwiththesystemNotonlyisthesystem

morelikelytomeetuserrequirements,theyaremorelikelytocommittotheuseofthesystem.Evolutionaryprototyping•Specification,designandimplementationareinter-t

wined.•Thesystemisdevelopedasaseriesofincrementsthataredeliveredtothecustomer.•TechniquesforrapidsystemdevelopmentareusedsuchasCASEtool

sand4GLs.•UserinterfacesareusuallydevelopedusingaGUIdevelopmenttoolkit.Evolutionaryprototypingproblems•Managementproblems1.Existingmanagementpr

ocessesassumeawaterfallmodelofdevelopment.2.Specialistskillsarerequiredwhichmaynotbeavailableinalldevelopmentte

ams.•MaintenanceproblemsContinualchangetendstocorruptsystemstructuresolong-termmaintenanceisexpensive.•ContractualproblemsPrototypesasspecifica

tions•Somepartsoftherequirements(e.g.safety-criticalfunctions)maybeimpossibletoprototypeandsodon’tappearinthespecification.•Animplementationhasno

legalstandingasacontract.•Non-functionalrequirementscannotbeadequatelytestedinasystemprototype.Incrementald

evelopment•Systemisdevelopedanddeliveredinincrementsafterestablishinganoverallarchitecture.•Requirementsandspecificationsf

oreachincrementmaybedeveloped.•Usersmayexperimentwithdeliveredincrementswhileothersarebeingdeveloped.therefore,theseserveasaformofprototypesystem

.•Intendedtocombinesomeoftheadvantagesofprototypingbutwithamoremanageableprocessandbettersystemstructur

e.4.1.2Throw-awayprototyping•Usedtoreducerequirementsrisk.•Theprototypeisdevelopedfromaninitialspecificatio

n,deliveredforexperimentthendiscarded.•Thethrow-awayprototypeshouldNOTbeconsideredasafinalsystem.1.Somesystemcharacteristicsmayhavebeenleftout.2.Th

ereisnospecificationforlong-termmaintenance.3.Thesystemwillbepoorlystructuredanddifficulttomaintain.Pr

ototypedelivery•Developersmaybepressurisedtodeliverathrow-awayprototypeasafinalsystem.Thisisnotrecommended1.Itmaybeimpossibletotunetheprototype

tomeetnon-functionalrequirements.2.Theprototypeisinevitablyundocumented.3.Thesystemstructurewillbedegradedthroughchangesmadeduringdevelop

ment.4.Normalorganisationalqualitystandardsmaynothavebeenapplied.4.2Rapidprototypingtechniques•Varioustechniqu

esmaybeusedforrapiddevelopment1.Dynamichigh-levellanguagedevelopment.2.Databaseprogramming.3.Componentandapplicationassembly.

•Thesearenotexclusivetechniques-theyareoftenusedtogether.•Visualprogrammingisaninherentpartofmostprototypedevelopmentsystems.4

.2.1Dynamichigh-levellanguages•Languageswhichincludepowerfuldatamanagementfacilities.•Needalargerun-timesupportsystem.Notnormallyusedf

orlargesystemdevelopment.•SomelanguagesofferexcellentUIdevelopmentfacilities.•Somelanguageshaveanintegratedsupportenvironmentwhosefacilitiesmaybe

usedintheprototype.Choiceofprototypinglanguage•Whatistheapplicationdomainoftheproblem?•Whatuserinteractioni

srequired?•Whatsupportenvironmentcomeswiththelanguage?•Differentpartsofthesystemmaybeprogrammedindifferentlanguages.However,theremaybeproblem

swithlanguagecommunications.4.2.2Databaseprogramminglanguages•Domainspecificlanguagesforbusinesssystemsbasedaroundadatabasemanagementsy

stem.•Normallyincludeadatabasequerylanguage,ascreengenerator,areportgeneratorandaspreadsheet.•Maybein

tegratedwithaCASEtoolset.•Thelanguage+environmentissometimesknownasafourth-generationlanguage(4GL).•Cost-effectivefors

malltomediumsizedbusinesssystems.4.2.3Componentandapplicationassembly•Prototypescanbecreatedquicklyfrom

asetofreusablecomponentsplussomemechanismto‘glue’thesecomponenttogether.•Thecompositionmechanismmustincludecontrolfacilitiesandamechanismforcompone

ntcommunication.•Thesystemspecificationmusttakeintoaccounttheavailabilityandfunctionalityofexistingcomponents

.Prototypingwithreuse•Applicationleveldevelopment1.Entireapplicationsystemsareintegratedwiththeprototypesothattheirfuncti

onalitycanbeshared.2.Forexample,iftextpreparationisrequired,astandardwordprocessorcanbeused.•Componentleveldevelopment1.Individualcomponentsareint

egratedwithinastandardframeworktoimplementthesystem.2.FrameworkcanbeascriptinglanguageoranintegrationframeworksuchasCORBAComp

ounddocuments•Forsomeapplications,aprototypecanbecreatedbydevelopingacompounddocument.•Thisisadocumentwithactiveelements(suchasaspreadsheet)that

allowusercomputations.•Eachactiveelementhasanassociatedapplicationwhichisinvokedwhenthatelementisselected.•Thedocumentitselfistheintegratorforthediff

erentapplications.Visualprogramming•ScriptinglanguagessuchasVisualBasicsupportvisualprogrammingwheretheprototypeisdevelopedbycreating

auserinterfacefromstandarditemsandassociatingcomponentswiththeseitems.•Alargelibraryofcomponentsexiststosupportthistypeofdevelopment.•Thes

emaybetailoredtosuitthespecificapplicationrequirements.Problemswithvisualdevelopment•Difficulttocoordinateteam-baseddevelopment.•Noexplici

tsystemarchitecture.•Complexdependenciesbetweenpartsoftheprogramcancausemaintainabilityproblems.4.3Userin

terfaceprototyping•Itisimpossibletopre-specifythelookandfeelofauserinterfaceinaneffectiveway.prototypingisessential.•UIdevelop

mentconsumesanincreasingpartofoverallsystemdevelopmentcosts.•Userinterfacegeneratorsmaybeusedto‘draw’theint

erfaceandsimulateitsfunctionalitywithcomponentsassociatedwithinterfaceentities.•Webinterfacesmaybeprototypedusingawebsiteeditor.Keypoints•Aprototyp

ecanbeusedtogiveend-usersaconcreteimpressionofthesystem’scapabilities.•Prototypingisbecomingincreasinglyusedforsys

temdevelopmentwheredevelopmentisessential.•Throw-awayprototypingisusedtounderstandthesystemrequirements.•Inevolutionaryprototyping,thesystemisdevelo

pedbyevolvinganinitialversiontothefinalversion.•Rapiddevelopmentofprototypesisessential.Thismayrequireleavingoutfunction

alityorrelaxingnon-functionalconstraints.•Prototypingtechniquesincludetheuseofveryhigh-levellanguages,databaseprogrammingandprototypeconstructio

nfromreusablecomponents.•Prototypingisessentialforpartsofthesystemsuchastheuserinterfacewhichcannotbeeffe

ctivelypre-specified.Usersmustbeinvolvedinprototypeevaluation.

小橙橙
小橙橙
文档分享,欢迎浏览!
  • 文档 25747
  • 被下载 7
  • 被收藏 0
相关资源
广告代码123
若发现您的权益受到侵害,请立即联系客服,我们会尽快为您处理。侵权客服QQ:395972555 (支持时间:9:00-21:00) 公众号
Powered by 太赞文库
×
确认删除?