locked
Extending the Screen/table with validation and Bisiness Logic RRS feed

  • Question

  • User-419488686 posted

    Hello,

    I have a typical design problem, pls give me your ideas.

    We are developing a ASP.NET application and my clients wants to add new fields on the screen at runtime (we have more than 100 screens).  Fields which may not be in the table, and bind to a newly created table (dynamically), add validations and business logic to it. 

    My though is to create a separate table to allow extending the existing tables, but not sure how I can link the business logic, validations to it.  Also the reporting part.

    Any ideas?

    Thanks

    Wednesday, June 16, 2010 10:34 PM

Answers

  • User-2004844803 posted

    HMMM,

    Adding field, buttons etc dynamically in the UI is not a big problem, you could easily put up a toolbox with controls they can use but I am pretty sure you will hit the wall when it comes to adding business logic dynamically. And why is that? Well, if you look at it, what is business logic? In most cases there is no easy way to express it in the terms of a framework or toolbox for your users.

    My ideas? Dont go that way, I am pretty sure you will end up with big trouble!


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, June 17, 2010 2:47 AM