Sign in to follow this  
  • entries
    72
  • comments
    104
  • views
    45399

UML and DLL research

Sign in to follow this  

79 views

The term is at an end. Rejoyce!

Now, the last week I've been looking at UML. I didn't know what it was until just recently and I must say I'm impressed by it's potential. It seems it is exacltly what I need to help organizing my class structure.

Perhaps I'll buy a book on the subject.

I've also been looking at DLL's. My thought was that if I put my subsystems (the workhorse classes) in one or some DLL's then they could be enumerated and loaded at sartup. My aim here is to be able to release new subsystems along the road without having to recompile the main EXE.

I don't know if this will work... at all, but it would be nice if it did, ecpecially with later and larger projects where recompiling the EXE would be very undesirable.
Sign in to follow this  


2 Comments


Recommended Comments

Quote:
Now, the last week I've been looking at UML. I didn't know what it was until just recently and I must say I'm impressed by it's potential. It seems it is exacltly what I need to help organizing my class structure.

UML is good at some things, but it isn't the answer to everything. My department is currently doing a big drive where anything, everything (including the vending machines and lifts) should be expressed as some form of UML diagram. It's good, but it's not one-size-fits-all. I hate people that run with a technology in this way!

It'll be useful to you, so good luck in your ventures - but to make me happy, please don't go overboard [smile]

Quote:
I don't know if this will work... at all, but it would be nice if it did, ecpecially with later and larger projects where recompiling the EXE would be very undesirable.

DLL's are designed for this. Remember, they are Dynamic Link Libraries - they work really well with the component architecture.

Don't go overboard though - you don't need/want 50 odd DLL's in your distro as that poses it's own set of (fun) problems [grin]

hth
Jack

Share this comment


Link to comment
Thanks for the pointers. I don't mean to incorporate UML into everything I do. It's just that from what I've seen the different diagrams express the same thing as I now have on different sheets of papers everywhere as notes, only they express it better than I have done so far.

Also, my aim with the DLL's is that the main program should not have to know what classes lies in the DLL, only that everything in there is of the same base class. I was wondering if there are any methods to list the contents of a DLL or if I have to supply the class names through a text file.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now