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

  • Home
  • SEARCH
  • 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 6110349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:30:20+00:00 2026-05-23T14:30:20+00:00

I am designing an application that will display dynamically-generated forms to the user who

  • 0

I am designing an application that will display dynamically-generated forms to the user who will then enter values into the form fields and submit those values for persistence. The form represents an employee evaluation.

One use case allows an administrator (from HR) to define the form fields. They should be able to create a new form, add/remove fields from a form and mark a form as ‘deleted’.

The second use case is when a manager views the form and enters values into the form fields for a specific employee. They should be able to save the values at any time and recall the saved values when viewing the form again for the same employee.

Finally, when the manager is satisfied with the values they’ve entered for that employee, they can ‘submit’ the form data which persists the flattened data into the data warehouse for reporting purposes. When this is done, the ‘working’ copy of the data is removed so the form will display empty the next time they view it for that employee.

I am not concerned with the front-end at this point and working on the back-end service application that sits between the client and the data store. The application must provide a course-grained interface for all of the behavior required.

My question is how many aggregate roots do I actually have (and from that, how many repositories, etc)? Do I separate the form definition from the form data even though I need both when displaying the form to the user?

  • 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-23T14:30:21+00:00Added an answer on May 23, 2026 at 2:30 pm

    I see two main entities, ‘EmployeeEvaluationSchema’ and ‘EmployeeEvaluation’. The ‘EmployeeEvaluationSchema’ entity would have a collection of ‘FieldDefinition’ value objects which would contain the properties that define a field, the most basic being the name of the field. The ‘EmployeeEvaluation’ entity would have a collection of ‘FieldValue’ value objects which contain the values for each field from the definition. In the simplest case, it would have a field name and value property. Next, the ‘EmployeeEvaluation’ could have a reference to ‘EmployeeEvaluationSchema’ to specify which definition the particular evaluation is based on. This can also be used to enforce the form definition in each evaluation. You would have two repositories – one for each entity. If you were to use an ORM such as NHibernate, then when you retrieve a ‘EmployeeEvaluation’ entity, the associated ‘EmployeeEvaluationSchema’ would also be retrieved even though there is a dedicated repository for it.

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

Sidebar

Related Questions

The application that I'm designing will retrieve and store content from a variety of
When designing a user interface for an application that is going to be used
Here is my problem: I am designing an application that will allow students to
Let's say that I'm currently designing an application where I will need to use
I'm designing an application that will use Oracle , and we have this department
I am currently designing a web application that will allow users to schedule tasks
I am designing a multi-tennant web-based SaaS application that will be hosted on Windows
I am looking into designing an application that can run on multiple platforms (i.e.
I am designing a desktop application that will be driven by local data. I
I am designing an application that is going to consist of 3-4 services that

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.