Note that there are some explanatory texts on larger screens.

plurals
  1. POCreating dynamic data entry forms
    text
    copied!<p>I have a small project where I would like to generate dynamic data entry forms with a little bit of logic behind them.</p> <p>A simple use case might be a Football resulting form, so you have a button for a goalscorer, and when clicked the user will be prompted for a player. The form will then send a message (probably to a webservice, but maybe a JMS queue) with the event data. eg Barcelona, Goal, Henry.</p> <p>Then I want to create a similar form for tennis...</p> <p>My idea was that I would create a webservice, where you define business logic. (events, components, actions you take etc.) Initially I thought I would send the sport definition from the webservice in xml. Then write an app to parse the xml and dynamically create the data entry screen.</p> <p>I was initially thinking of writing a webservice and returning a xml data. (which will look awful) the rendering technology could then be flex/ flash and be a thin client.</p> <p>Then I thought it would just as easy to create the forms as a java app using the swing application framework and that was the way to go.</p> <p>Then I thought, well, rather than write a xml schema to describe the java forms, can I just serialise a java class and send that across the wire.</p> <p>Once on that path, I am now wondering if should just a java framework, and the dynamic forms become class that are called by reflection.</p> <p>I would love feedback on the above approaches, and how people on stackoverflow would solve this problem.</p> <p>thanks</p> <p>David.</p>
 

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