Click here to Skip to main content
15,881,898 members
Please Sign up or sign in to vote.
3.50/5 (2 votes)
See more:
Hi ,

we planning to design a project which has 5 modules.As an upcoming developer,i don't know how to design a project and how exactly it happens in big scale companies.

I would like to use many no. of dll's with few classes.Is this better way of designing or shall i go with few dll with more classes.

One dll with many classes or more dll's with fewer classes,which performs better.

Suggest me,books or pdf to learn real world project design scenario.

Please help me..

Thanking you all.

S.V.Hyd
Posted

That depends on what you want to do with your dll's.
Let's say you create a custom control for your project and want to re-use it in different projects. In this case you would create a dll which contains your custom control. Now in your other projects you simply have to reference your dll and you're set to go. If you didn't make a dll out of your control you'd have to reference the entire different project, which does not seem like a good idea.
So basically the amount of dll's you need depends upon how much of your code you want to use in other projects.

Here are some articles on good design[^]. The first five are all about SOLID principles. The remainder is about how to structure your dll's (or at least one way to do it). Hope it helps.
 
Share this answer
 
Comments
Mehdi Gholam 24-Sep-11 11:48am    
My 5!
Sander Rossel 24-Sep-11 11:51am    
Thanks :)
Usually, classes are grouped by functionality or purpose. Many times a single dll will suffice. The only time I have multiple dlls is if the code is a 3rd party library or if the code is shared among several assemblies.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900