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 1022661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T11:29:57+00:00 2026-05-16T11:29:57+00:00

I am designing an application for a library. Not a large scale library, but

  • 0

I am designing an application for a library. Not a large scale library, but a very small scale library where my primary task is to just keep information about the books. But this library application should be able to adapt to any professional’s private library. For an example, for a lawyer, apart from the basic information about the book (title, author, publisher etc), there maybe other special fields that is associated with a book (Case Number, Court Number etc). A doctor may have some other special attributes for a book. Same goes for other professions.

So I am going to use an SQL Server CE database and I am hoping to have a BOOK table with the usual attributes and on demand ALTER the table to suit the special needs (add more columns).

But my worry is generating the GUI dynamically to support the new attributes.

Are there any approaches to tackle the dynamic GUI generation?

I am not asking for complete code (which obviously I wont get), but if you do have any coding to support the approach, please be kind enough to post it 🙂

Is there anything I should know about the pros, cons, dead ends, cautions or warnings etc?

  • 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-16T11:29:58+00:00Added an answer on May 16, 2026 at 11:29 am

    On the data model side that @devnull picked up, you are describing a custom fields implementation and @devnull is describing the EAV model.

    There’s a good stackoverflow article that covers design patterns for custom fields in an application:

    What are design patterns to support custom fields in an application?

    The data model choice and the UI generation are tightly linked, so you can’t really answer the UI generation question until you decide on your data model/custom field pattern. My initial reaction was the same as @devnull’s on the alter approach, but there really is no great solution.

    You can reduce a lot of complexity if you have a superset of all possible fields and allow the user to enable/disable the ones that are appropriate to their application domain. I’ve done several implementations of custom fields in an application with very smart people and it’s always hard. If you understand the application domain well enough you can stay away from the uber-flexible architectures and save yourself a lot of grief.

    Note that an important consideration is whether they will need to query on the custom fields. It’s much easier if you don’t have to support general querying. You just slot userdate1, usern, etc. and provide a metadata table for labels.

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

Sidebar

Related Questions

When designing an application, does there come a point where you have too many
I am designing an application that is going to consist of 3-4 services that
I am re-designing an application for a ASP.NET CMS that I really don't like.
I'm designing an application that supports plugin development. Its more of a learning exercise.
We are working on designing an application that is typically OLTP (think: purchasing system).
We are designing a survey application with the following features The users will be
The application that I'm designing will retrieve and store content from a variety of
When designing a ASP.net WebForm application what are some important steps to take (or
When designing a user interface for an application that is going to be used
We are designing asp.net web application in wcsf. Web application will be deployed to

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.