开发者

Objects in a Design/Runtime System

Some environments lets you operate on objects by

  • Designing them
  • Running them

Are there any relevan开发者_如何学Got design patterns (.NET or general) that cleanly separate the following?

  • Designer logic / data
  • Shared logic / data
  • Runtime logic / data


Well, what do you mean by shared logic / data? By designing them (objects), I first think of UI controls, they can have design code, runtime code (also shown while designing - like control painting), and shared data (many controls let you populate their data which is also shown design-time).

As for a design pattern, I would say that here are many distinct responsibilities to be just one big design pattern.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜