开发者

Diary Web Application

I'm developing a Diary application, currently at the beginning stage.

With regards to OO, the Diary is an Object. Underneath the Diary would contain a Notebook and a Scheduler.

  • Notebook: Contains a few paragraphs on today (life story etc)
  • Scheduler: Contains ToDo, e.g. visit Dr at 9:30am.

The question is would they both be Object separated fr开发者_开发百科om Diary in a UML? Or would they be part of the Diary?

I imagine they'd be separate objects?


UML is just a visual representation of your application. This means that the Notebook and the Scheduler would be whatever you intend them to be in your code.

Also, UML has 14 or so types of diagrams and every one of them represents your application (or part of it) from a different point of view. You should check them out.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜