Note that there are some explanatory texts on larger screens.

plurals
  1. PODynamic UI Creation using DSL in .NET
    primarykey
    data
    text
    <p>I'm developing a WPF application for a client. The application needs to prompt the user at the start of a production run to populate a number of fields. The data the user is prompted to enter is dependent on the type of product associated with the production run. So for example, Product A may require the user to enter an expiry number, lot number while Product B may require the user to enter a manufacturing date only. </p> <p>I will need to dynamically create the UI and display the name of the field, the input control (text box, list box, checkbox etc) . </p> <p>The system needs to be flexible and a mechanism to allow the user "create" the dynamic UI layout needs to be put in place.</p> <p>I'm looking at various options, such as:</p> <ol> <li><p>XML to declare the ui structure the user would like. The app would then process the XML and create apprropriate ui controls for the various XML elements</p></li> <li><p>A custom DSL which would allow the user to enter something like:</p> <p>"create textbox for field LOT NUMBER"</p> <p>Like the xml approach, the app will save the above and assign it to a Product and save it in the DB. During the start of the production run the app dynamically creates the UI.</p></li> </ol> <p>Initially the user will edit these files by hand and assign them to a product. Eventually we plan to have a graphical front end for designing the UI with drag and drop support. </p> <p>I don't have much experience with DSLs. Just wondering if the above is a suitable application for DSLs or if I should take a completely different approach.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload