locked
What is the best sample code for smart clients? RRS feed

  • Question

  •  

    Needing to build offline capable smart clients with syncing data in Visual Studio 2005, vb.net.  Most sample codes I've found so far don't have any detailed in code documentation.
    Wednesday, April 9, 2008 9:03 PM

Answers

  • Hi Joe Zen,

     

    Based on my understanding, you want to implement a smart client which have the offline capability with synchronizing data in Visual Studio 2005 & VB.Net. So you want someone to achieve this for you. If I have misunderstood you, please feel free to tell me, thanks.

     

    As mentioned in your post, you want the system can be offline, so you should have a repository in local in order to support offline mode to cache some data. When the client is online, so you need a mechasim to notify it to synchronize data from server-side. So you can implement a Observer Pattern here to monitor client-side status. Once its status changed, do the corresponding actions such as retrieve data from server, change the status of client-side.

     

     

     

     

    Hope the idea can help you.

    Regards,

    Roy Zhou

     

    Tuesday, April 15, 2008 3:28 AM