UDT, XML OR OBJECT


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: UDT, XML OR OBJECT

  1. #1
    Ben Blackmore Guest

    UDT, XML OR OBJECT


    Hi

    I would just like to ask what you feel is the best method for passing data
    between distributed components is.

    Should I pass data back to the client as a UDT and then populate my objects
    or as XML and then do the same or should I pass back a fully populated object
    ot the client ??

    Regards


    Ben Blackmore.
    Share on Google+

  2. #2
    Deborah Kurata Guest

    Re: UDT, XML OR OBJECT

    Hi Ben -

    I wrote two VBPJ articles on just this topic. I believe they ran in November
    '99 and January '00.

    I don't like to use UDTs personnally because they are hard to work with when
    accessing components from other languages or from ASP. I don't pass objects
    because you don't really pass the object but the reference to the object
    (this is fully explained in the above referenced articles as well.)

    I tend to use either disconnected recordsets or XML for all of my component
    communication.

    Good luck!
    - Deborah

    Ben Blackmore wrote in message <38fee63e$1@news.devx.com>...
    >
    >Hi
    >
    >I would just like to ask what you feel is the best method for passing data
    >between distributed components is.
    >
    >Should I pass data back to the client as a UDT and then populate my objects
    >or as XML and then do the same or should I pass back a fully populated

    object
    >ot the client ??
    >
    >Regards
    >
    >
    >Ben Blackmore.



    Share on Google+

Similar Threads

  1. Why use XML?
    By Brian in forum XML
    Replies: 5
    Last Post: 01-10-2003, 08:39 PM
  2. XML files vs Database
    By Mansoor in forum XML
    Replies: 8
    Last Post: 08-23-2002, 04:35 PM
  3. XML Startkabel Updates
    By xmlstartkabel in forum XML
    Replies: 0
    Last Post: 10-10-2001, 04:07 AM
  4. XML Startkabel update week 8 2001
    By Haitian Ning in forum XML
    Replies: 0
    Last Post: 02-20-2001, 05:04 PM
  5. XML - i have no idea
    By The Posting One in forum XML
    Replies: 4
    Last Post: 08-01-2000, 11:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center