Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2010

    Lightbulb Unanswered: DB Design for dynamic data objects


    I have an interesting design issue.

    I want to create a database design were a custom type objects can be created, linked and retrieved.

    I am planning to design a framework which will provide user a capability to define his own object structure and store it. He should be able to retrieve the values based on the fields defined in his objects.

    I am planning to have XML to pass the information between client and the server, but I am struggling with coming up with an acceptable database design for this.

    Any ideas or guidance will be highly appreciated.


  2. #2
    Join Date
    Jan 2010
    I want to design DB considering storing capacity of upto 40,000 records and custom objects created upto 200.

  3. #3
    Join Date
    Jun 2007
    You might want to look into EAV databases though it's not a very popular design choice on the forum. Main issue being that you loose the inbuilt ability to set referential integrity. Many folks on the forum have horror stories to tell about how a system they inherited was full of bad data or was very slow etc. Personally I haven't run into these issues but YMMV. At the end of the day there are very few alternatives offering the same functionality (XML). It might be worth using an existing EAV system - you should be able to define your own entities, add your attributes and just get going. Using an existing system for a while might give you an insight into their pros and cons of this method.

Tags for this Thread

Posting Permissions

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