引用本文:田忠,钱乐秋,赵文耘,钱家骅.一种责任驱动的面向对象分析与设计方法*.软件学报,1995,6(zk):274-280
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 3664次   下载 5171 本文二维码信息
码上扫一扫!
分享到: 微信 更多
一种责任驱动的面向对象分析与设计方法*
田忠1, 钱乐秋1, 赵文耘1, 钱家骅1
复旦大学计算机科学系,上海200433
摘要:
本文结合数据流图编辑工具开发过程的描述,阐述了一个责任驱动的面向对象开发方法的基本思想、实施框架和记号系统.这一方法强调软件是对现实的模拟,软件开发应从问题理解人手,以对象在问题中所承担的责任来驱动软件的开发.这一过程包括反复循环的5个步骤:划分主题、标识对象类、建立联系、定义服务和定义属性.通过行为分析,获得问题的主题划分,从而引导标识与问题相关的对象类及其相互联系,并指导定义其属性和服务,由此获得未来系统的一个清晰的分层模型.
关键词:  面向对象软件开发,责任驱动,主题,合作.
DOI:
分类号:
基金项目:本研究得到了国家八五攻关项目、863计划项目的支持.
A RESPONSIBILITY—DRIVEN OBJECT—ORIENTED ANALYSIS AND DESIGN METHOD
Tian Zhong,Qian Leqiu,Zhao wenyun,Qian Jiahua
Abstract:
This paper presents the basic idea.notation and development process of an object—oriented anMysis and design method through the development of a data flow dia-gram editor,This method takes a responsibility—driven modelling approach to software development,emphasizing that software simulates the real world.It starts with problem —understanding to build a user model of the problem,then this model is evolved into an implementation model through an iterating five—stage—process during each phase of the software development process.The five stages include:dividing subjects,identifying classes,establishing relations,defining services and defining attributes.Based cn behav-ior analysis,the user problem is first divided into a set of subjects.each of which hosts a number of classes with distinguished responsibilities and collaborators The responsibili- ties then hlrther help define the services and attribules of each class and their inter—rela-dons.All these put together give software developers a clear layered model of the pro-posed system.
Key words:  Object—oriented software development.responsibility—driven approach,subiect,collaboration.