武漢理工軟件工程課件4_第1頁(yè)
武漢理工軟件工程課件4_第2頁(yè)
武漢理工軟件工程課件4_第3頁(yè)
武漢理工軟件工程課件4_第4頁(yè)
武漢理工軟件工程課件4_第5頁(yè)
已閱讀5頁(yè),還剩17頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡(jiǎn)介

1、Chapter 4 Software prototyping 4.1 Phototyping in software process4.2 Phototyping techniques4.3 User intercase phototypingKey pointsChapter 4 Software prototypi4.1 Prototyping in the software process Evolutionary prototyping An approach to system development where an initial prototype is produced an

2、d refined through a number of stages to the final system. Throw-away prototyping A prototype which is usually a practical implementation of the system is produced to help discover requirements problems and then discarded. The system is then developed using some other development process.4.1 Prototyp

3、ing in the softwaPrototyping objectives The objective of evolutionary prototyping is to deliver a working system to end-users. The development starts with those requirements which are best understood. The objective of throw-away prototyping is to validate or derive the system requirements. The proto

4、typing process starts with those requirements which are poorly understood.Prototyping objectives The obj4.1.1 Evolutionary prototypingMust be used for systems where the specification cannot be developed in advance e.g. AI systems and user interface systems. Based on techniques which allow rapid syst

5、em iterations. Verification is impossible as there is no specification. Validation means demonstrating the adequacy of the system.4.1.1 Evolutionary prototypinEvolutionary prototyping advantagesAccelerated delivery of the system Rapid delivery and deployment are sometimes more important than functio

6、nality or long-term software maintainability. User engagement with the system Not only is the system more likely to meet user requirements, they are more likely to commit to the use of the system.Evolutionary prototyping advanEvolutionary prototyping Specification, design and implementation are inte

7、r-twined. The system is developed as a series of increments that are delivered to the customer. Techniques for rapid system development are used such as CASE tools and 4GLs. User interfaces are usually developed using a GUI development toolkit.Evolutionary prototyping SpeciEvolutionary prototyping p

8、roblems Management problems 1.Existing management processes assume a waterfall model of development. 2.Specialist skills are required which may not be available in all development teams. Maintenance problems Continual change tends to corrupt system structure so long-term maintenance is expensive. Co

9、ntractual problemsEvolutionary prototyping problPrototypes as specificationsSome parts of the requirements (e.g. safety-critical functions) may be impossible to prototype and so dont appear in the specification. An implementation has no legal standing as a contract. Non-functional requirements canno

10、t be adequately tested in a system prototype.Prototypes as specificationsSoIncremental development System is developed and delivered in increments after establishing an overall architecture. Requirements and specifications for each increment may be developed. Users may experiment with delivered incr

11、ements while others are being developed. therefore, these serve as a form of prototype system. Intended to combine some of the advantages of prototyping but with a more manageable process and better system structure.Incremental development System4.1.2 Throw-away prototyping Used to reduce requiremen

12、ts risk. The prototype is developed from an initial specification, delivered for experiment then discarded. The throw-away prototype should NOT be considered as a final system. 1. Some system characteristics may have been left out. 2. There is no specification for long-term maintenance. 3. The syste

13、m will be poorly structured and difficult to maintain.4.1.2 Throw-away prototyping Prototype delivery Developers may be pressurised to deliver a throw-away prototype as a final system. This is not recommended 1. It may be impossible to tune the prototype to meet non-functional requirements. 2. The p

14、rototype is inevitably undocumented. 3. The system structure will be degraded through changes made during development. 4. Normal organisational quality standards may not have been applied.Prototype delivery Developers 4.2 Rapid prototyping techniques Various techniques may be used for rapid developm

15、ent 1. Dynamic high-level language development. 2. Database programming. 3. Component and application assembly. These are not exclusive techniques - they are often used together. Visual programming is an inherent part of most prototype development systems.4.2 Rapid prototyping techniq4.2.1 Dynamic h

16、igh-level languages Languages which include powerful data management facilities. Need a large run-time support system. Not normally used for large system development. Some languages offer excellent UI development facilities. Some languages have an integrated support environment whose facilities may

17、be used in the prototype.4.2.1 Dynamic high-level langChoice of prototyping language What is the application domain of the problem? What user interaction is required? What support environment comes with the language? Different parts of the system may be programmed in different languages. However, th

18、ere may be problems with language communications.Choice of prototyping language4.2.2 Database programming languages Domain specific languages for business systems based around a database management system. Normally include a database query language, a screen generator, a report generator and a sprea

19、dsheet. May be integrated with a CASE toolset. The language + environment is sometimes known as a fourth-generation language (4GL). Cost-effective for small to medium sized business systems.4.2.2 Database programming la4.2.3 Component and application assembly Prototypes can be created quickly from a

20、 set of reusable components plus some mechanism to glue these component together. The composition mechanism must include control facilities and a mechanism for component communication. The system specification must take into account the availability and functionality of existing components.4.2.3 Com

21、ponent and applicatiPrototyping with reuse Application level development 1. Entire application systems are integrated with the prototype so that their functionality can be shared. 2. For example, if text preparation is required, a standard word processor can be used. Component level development 1. I

22、ndividual components are integrated within a standard framework to implement the system. 2. Frame work can be a scripting language or an integration framework such as CORBAPrototyping with reuse ApplicaCompound documents For some applications, a prototype can be created by developing a compound docu

23、ment. This is a document with active elements (such as a spreadsheet) that allow user computations. Each active element has an associated application which is invoked when that element is selected. The document itself is the integrator for the different applications.Compound documents For some apVis

24、ual programming Scripting languages such as Visual Basic support visual programming where the prototype is developed by creating a user interface from standard items and associating components with these items. A large library of components exists to support this type of development. These may be ta

25、ilored to suit the specific application requirements.Visual programming Scripting lProblems with visual development Difficult to coordinate team-based development. No explicit system architecture. Complex dependencies between parts of the program can cause maintainability problems.Problems with visu

26、al developme4.3 User interface prototyping It is impossible to pre-specify the look and feel of a user interface in an effective way. prototyping is essential. UI development consumes an increasing part of overall system development costs. User interface generators may be used to draw the interface and simulate its functionality with components associated with interface entities. Web interfaces may be prototyped using a web site

溫馨提示

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

評(píng)論

0/150

提交評(píng)論