Sunday, July 20, 2008

The Script Manager

I have created a Script manager for managing the script command for my UML tool. It is a Singleton as there is only 1 script manager in the application. The responsibility for this manager is to manage the script command enters from input and then digest the command to know what it suppose to do. After that it’ll instruct Paint manager to draw out the diagram. For now this manager is able to accept command from input but it doesn’t know which diagram to be draw on the board as the communication between Script manager and Paint manager haven setup yet.

Saturday, July 12, 2008

UML Tool -> Diagram Manager

This project supposes to be short and fun, but it end up hard and sophisticate. Creating a UML Tool is not that easy actually. There are many design issue like the tedious one – UML syntax need to be determined carefully. Besides that I was choosing Win32 as my development platform. I wonder whether I have chosen the right technology to do it. This should be a rapid development and I suppose to use .Net or MFC to speed up my development. Since I already know MFC, thus I can concentrate on researching.Net.

My first view on .Net was not that hard actually. There (Microsoft) have new changes on syntax or probably the whole C++ was change. I also notice that I am not using MFC in the UI development. Is that Win32 programming II? And also it is a problematic to dealing with native code in .Net. Microsoft has changed the development style. Finally I have given up using the wizard to generate the GUI code for me instead I do it manually.

Now I have done with technical issue. Here is the new plan for the project. I will change the title to Diagram Manager because the objective of this program only focuses on class diagram instead of the entire UML diagram. The reason is I use UML class diagram most often. The reason to name it as ‘diagram’ is it is not just only draw class diagram. May be it will draw other diagram in the future, such as data flow.

Since I have narrow down my design, I can concentrate on 1 part and do it well.