Results 1 to 6 of 6

Thread: Architectural question?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    top of the mountain
    Posts
    234

    Question Architectural question?

    Hi,
    I want to write 3-tier application (with database access layer, business and presentation layer), but I don't want to recompile presentation layer (client application - win. forms) when change something in business layer. How to manage this, how to bind business layer and client application?

    regards j

  2. #2
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    Just have your business layer serve your Presentation layer (with data) - and have your business layer go through the data layer for all data access. I believe you could also have your bus layer react to events passed by the pres layer.

    If you keep your bus and pres layers seperate, then you could even have more than 1 pres layer (win / web...), or at least it would be easier to change the UI when needed.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    top of the mountain
    Posts
    234
    I have my business layer in dll, question is how to use presentation layer (exe with win forms) and bus dll in way to manage changing dll without recompiling presentation exe?

    regards j

  4. #4
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    While I haven't specifically done this, I believe you could use remoting. I think that this will allow your application to get the latest DLL when it is referenced in your app. It might be worth looking into.

    Maybe some of the other more experience vb gurus have other suggestions or insight?

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    top of the mountain
    Posts
    234
    Do you have some examples or links about using remoting?

    regard j

  6. #6
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    Check out:

    http://msdn.microsoft.com/library/de...roremoting.asp

    Also, I have heard that Advanced .NET Remoting by Ingo Rammer is a good resource.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width