Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 917467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:13:02+00:00 2026-05-15T18:13:02+00:00

The project: Imagine a card collector wants to create a database for all his

  • 0

The project: Imagine a card collector wants to create a database for all his card collections , they collect every type of trading card available. Each trading card has a different set of information (stats) depending on it’s type but there could be an infinite number of categories of trading cards. So my questions is, is it better to create a model (table) for each category of trading card or is it better to create an XML file for each card?

The application needs to accomodate for any number of new categories and we are expecting a very large number of categories with very specific data for each category.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T18:13:02+00:00Added an answer on May 15, 2026 at 6:13 pm

    there is no reason to store the data in an xml file, rails provide an xml web service for you if you want to serve the information that way, and xml carries the same overhead in regards to checking for different types of representations in your model as you would with data from a database query. you will probably end up storing many of the unique card attributes in some blob or text format in your data model, unless you want to explore a schema-less database solution like couchDB, Riak, MongoDB, etc. I wouldn’t advocate that approach specifically, but I will say that a trading card is a good candidate for the ‘real-world document’ concept that is promoted by the document-based ‘nosql’ folks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

imagine this situation: SetUp in the default MVC3 project, create a new complex type
Let's imagine I already have a project building .NET 3.5 assembly. Now I want
Imagine the following folder structure: project src code.c makefile bin How can I compile
Imagine a code: search = Project.search( :title_or_description_or_child_name_or_child_age_or_inspiration_or_decorating_style_or_favorite_item_or_others_like_any => keys, :galleries_id_like_any => @g, :styles_id_like_any =>
Imagine you have a PlayN game which uses Guice bindings in its core project:
I'm working on a project with different assemblies (imagine a printer-module, a imaging-module etc.).
Imagine this as the code from build.xml: <project name=test project> <target name=first> <echo>first</echo> </target>
I'm currently working on a project which will support multiple file writing specifications (imagine
Imagine two projects. The first is the framework-core project which is in version 1.1.0
I've implemented some extension methods and put those in separate Class Library project. Imagine

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.