开发者

Objects in a Design/Runtime System

开发者 https://www.devze.com 2023-03-17 06:01 出处:网络
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?

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

精彩评论

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

关注公众号