View Poll Results: How would you pass data between tiers?

Voters
11. You may not vote on this poll
  • Using a dataset?

    4 36.36%
  • Using XML?

    3 27.27%
  • Some other method? (please explain)

    4 36.36%
Results 1 to 16 of 16

Thread: Passing data between tiers.

Threaded View

  1. #9
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Yes that is what I do or I use an abstract/base class that I made that handles all the database work and just inherit from it. It uses attributes or reflection to build the queries and does the work for me. Its the same concept as Object Relational Mapping which is pretty much what a dataset does too, although the Dataset is better at it then I am. Than any changes to the database just need to be reflected in the Object Mapping, the UI doesn't actually know the data just the object.

    I have read that passing a Dataset up through layers isn't as bad as the samething was before but I still don't like it. Here is some info on mdsn: http://msdn.microsoft.com/library/de...tml/BOAGag.asp and a little more:
    http://www.ftponline.com/wss/2002_07...efault_pf.aspx the last one (just a pdf version of the first one): http://www.mssql.org/Uploaded_Files/BizObj.pdf
    Last edited by Edneeis; Feb 10th, 2004 at 11:50 AM.

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