0

When developing an application which presents the user with many similar forms for data entry, a common approach is to build a framework for defining the form structure in a standardised configuration file (or database tables). What are the actual advantages of this approach over writing the forms by hand directly in the appropriate view format for the stack you are using?

  • While the question appears to solicit an opinion, it could be answered with ideas based on solid metrics. Downvote is unfair. – Martin Spamer Jun 20 '18 at 17:52
3

None in my view.

The danger with the dynamically generated forms approach is that the meta-language for defining a form becomes just as complex as the language you would use to create a hand written form.

At this point its just as easy to write the forms by hand as to create the dynamic template for them.

Additionally, the template creating process may well have skipped a number of steps that you would naturally do with a hand written form, such as versioning and testing.

In the worst case scenario you will find yourself 'hand crafting' forms in your company's legacy, 'organically grown' and very buggy dynamic form template language for years to come.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.