chCurrentTrendsinSystemDevelopment实用学习教程.pptx
《chCurrentTrendsinSystemDevelopment实用学习教程.pptx》由会员分享,可在线阅读,更多相关《chCurrentTrendsinSystemDevelopment实用学习教程.pptx(39页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、1.1 The Unified ProcessUnified Process(UP)defines a complete methodology that uses UML for system models and describes a new,adaptive system development life cycle.It is originally offered by Rational Software,which is now part of IBM.Developed by:Grady Booch,James Rumbaugh,Ivar Jacobsonwhich are th
2、e three pioneers behind the success of UML.19:52第1页/共39页A phase in the UP can be thought of as a goal or major emphasis for a particular portion of the project.UP phaseObjectiveInceptionDevelop an approximate vision of the system,make the business case,define the scope,and produce rough estimates fo
3、r cost and schedule.ElaborationDefine the vision,identify and describe all requirements,finalize the scope,design and implement the core architecture and functions,resolve high risks,and produce realistic estimates for cost and schedule.ConstructionIteratively implement the remaining lower-risk,pred
4、ictable,and easier elements and prepare for deployment.TransitionComplete the beta test and deployment so users have a working system and are ready to benefit as expected.第2页/共39页1.1 The Unified ProcessA UP discipline is a set of functionally related activities that contributes to one aspect of the
5、development project.The disciplines can be divided into two main categories:System development activities(1)Business modeling,(2)Requirements,(3)Design,(4)Implementation,(5)Testing,(6)Deployment,Project management activities(7)Configuration and Change management,(8)Project management,and(9)Environme
6、nt.Each iteration usually involves activities from all disciplines.19:52第3页/共39页19:52第4页/共39页1.2 Extreme ProgrammingExtreme Programming(XP)is an adaptive,agile development methodology that was created in the mid-1990s.The word extreme sometimes makes people think that this methodology is completely
7、new and that developers who embrace XP are radicals.Extreme programming has these characteristics:Takes proven industry best practicesbest practices and focuses on them intenselyCombines those best practices(in their most intense forms)in a new way to produce a result that is greater than the sum of
8、 the parts第5页/共39页Four Core Values of XP1.CommunicationEffective communication involves not only documentation but also verbal discussion.2.Simplicity less is moreEven though developers have always advocated keeping solutions simple,they dont always follow their own advice.3.FeedbackAs with simplici
9、ty,getting frequent,meaningful feedback is recognized as a best practice of software development.4.Courage Developers always need courage to face the harsh choice of doing things right or throwing away bad code and starting over.第6页/共39页XP Practices:Planning XP embraces change.Change the changing.XP
10、 planning focuses on making a rough plan quickly and then refining it as things become clearer.The basis of an XP plan is a set of stories that users develop.A story describes what the system needs to do.XP doesnt use the term use case,but a user story and a use case express a similar idea.19:52第7页/
11、共39页XP Practices:TestingEvery new piece of software requires testing,and every methodology includes testing.The developers write the unit tests,and the users write the acceptance tests.Before any code can be integrated intothe library of the growing system,it must pass the tests.By having the tests
12、written first,XP automates their use and executes them frequently.Over time,a library of required tests is created,so when requirements change and the code needs to be updated,the tests can be rerun quickly and automatically.第8页/共39页XP Practices:Pair ProgrammingInstead of simply requiring one progra
13、mmer to watch anothers work,pair programming divides up the coding work.1.First,one programmer might focus more on design and double-checking the algorithms while the other writes the code.2.Then,they switch roles;3.Thus,over time,they both think about design,coding,and testing.XP relies on comprehe
14、nsive and continual code reviews.第9页/共39页XP Practices:Pair ProgrammingErrors are caught quickly and early,two people become familiar with every part of the system,all design decisions are developed by two brains,and fewer“quick and dirty”shortcuts are taken.The quality of the code is always higher i
15、n a pair-programming environment.Interestingly,Research has shown that pair programming is more efficient than programming alone.第10页/共39页XP Practices:Simple Designs Opponents say that XP neglects design,but that isnt true.XP conforms to the principles of Agile Modeling,for avoiding the“Big Design U
16、p Front”approach.Instead,it views design as so important that it should be done continually,although in small chunks.19:52第11页/共39页XP Practices:Refactoring the Code Refactoring is the technique of improving the code without changing what it does.XP programmers continually refactor their code.Before
17、and after adding any new functions,XP programmers review their code to see whether there is a simpler design or a simpler method of achieving the same result.19:52第12页/共39页XP Practices:Continuous Integration This practice embodies XPs idea of“growing”the software.Small pieces of code which have pass
18、ed the unit tests are integrated into the system daily or even more often.Continuous integration highlights errors rapidly and keeps the project moving ahead.Small Releases A release is a point at which the new system can be turned over to users for acceptance testing and even for productive use.19:
19、52第13页/共39页XP Practices:Pair ProgrammingOwning the Code Collectively In XP,everyone is responsible for the code.No one person can say“This is my code.”On-Site Customer As with all adaptive approaches,XP projects require continual involvement of users who can make business decisions about functionali
20、ty and scope.19:52第14页/共39页XP Practices:Pair ProgrammingSystem MetaphorIt answers the questions 1.“How does the systemWork?”2.“What are its major components?”And it does it by having the developers identify a metaphor for the system.It can guide members toward a vision and help them understand the s
21、ystem.Forty-Hour Week and Coding Standards Developers should follow standards for coding and documentation.19:52第15页/共39页1.system(the outer ring),2.release(the middle ring),3.iteration(the inner ring).It is divided into three levels:第16页/共39页1.3 Scrum(争球)As a methodology,Scrum is responsive to a hig
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- chCurrentTrendsinSystemDevelopment 实用 学习 教程
限制150内