对象建模概念 Object modeling

Object modeling

Object modeling is the process of designing the objects or classes through which an object-oriented application examines and manipulates some service. Numerous modeling techniques are possible; the Cocoa development environment does not recommend one over another.

对象建模是设计对象或者类的过程,通过这些对象或者类,面向对象的应用程序检查并且操作一些服务。许多建模技术都是可行的,Cocoa 开发环境不特别推荐哪种技术。

Typically, the characteristics of a class should make sense in context. Aspects such as the names of the class itself, its variables, and its methods should be recognizable to a nonprogrammer who is familiar with the service being modeled. Exactly what classes you use in your application, what attributes each class has, and what the relationships are between the classes may depend on the way you present information to the user and how you expect the user to interact with your application.

通常,类的特征在内容上要有意义。对于熟悉被建模服务的人,即使不是一个程序员,都应该看懂 类的本身的名字,实例变量,方法 有啥意义。特别是应用使用的类、每个类的属性和类之间的关系取决于你如何展示信息给用户以及如何让用户和应用交互。


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值