Re: Class vs Component



It's difficult to tell from what you posted whether it is a "best practice". To me, best practices are essentially patterns, and if you look at the literature that is well known for OO patterns both from a decade ago and current day, you will find that often the context governs the patterns that are used.

Without more detailed description of 1. the challenges you face and 2. the visions of the app as far as extensibility and scalability are concerned, it would be very difficult to recommend any particular pattern.

Regards

John Parrish

Randy L. wrote:
I was curious as to the curent best practices for data sharing within NET 2.0 Smart Clients.

Typically I have have isolated data/datasets, webservices interaction, file IO, etc. using the Component class (IComponent), relying heavily on the sharing capabilities it provides. The entire application would see this as it single source for data interaction. They used much the same approach with the IssueVision NET 1.1 sample application.

Is this still a "best practices" approach or have changes in NET 2.0 negated this type of approach.

Thanks,
Randy L.


.



Relevant Pages

  • Re: Basic books on OOA&D
    ... I found Agile Software Development (Principles, Patterns, and Practices) - ... Object-Oriented Analysis and Design and the Unified Process) - Craig Larman. ... This book is Martin Fowler's first choice as a book introducing OO design. ...
    (comp.object)
  • Re: Application Blocks
    ... The patterns & practices group is primarily focused on helping customers ... platform changes when designing the blocks. ... interms of future Longhorn applications. ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: .net security books
    ... I just realized that all Patterns & Practices are ... downloadable in pdf format;) ... reading everything you can get your hands on is ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: SQL-Select-Befehle erzeugen? Data Select Layer erfinden?
    ... "Patterns & Practices". ... Scheint etwas in der Richtung zu sein, ... Klaus Urban ...
    (microsoft.public.de.german.entwickler.dotnet.datenbank)
  • Re: Design Patterns Books and Best Practices Books.
    ... but an excellent "best patterns and practices" tutorial: ... Foros de ASP.NET en Español ... Ven, y hablemos de ASP.NET... ...
    (microsoft.public.dotnet.framework.aspnet)