I am in the process of rewriting a large motor vehicle related application (currently in DOS) in VB6 using SQL Server as the database.
I have opted for the <n> tier approach as follows…
1) The Client UI
2) Middle tier (business rules)
3) Server object (.dll or ActiveX.exe)
4) The database
Data will be passed back and forth from the server object, via the middle tier, to the client. Each table in the database basically has its own .dll (in the middle tier) to Load and Save data etc. These .dll’s generally contain three classes i.e. a public server class doing the loads and saves, a class holding column data for each row in the table and a collection class that holds each row (class) in the table. It is the collection object that is passed to the client for updating. This object is then returned to the server class which saves the updates. So, I have now ended up with around 100 .dlls of this type servicing the client UI. I am hoping to install all of these (plus the server object) on the server pc and just the UI on the clients. This is the first project of this size and complexity for me. Therefore, has anyone any experience and/or comments of this configuration regarding performance, practicality and installation techniques etc.
Also, as far as the server object is concerned, I am thinking of an ActiveX.exe which will show a list of user login names and times etc. as well as providing the connections to the database called from the above .dlls. Any thoughts?