the_Don has asked for the wisdom of the Perl Monks concerning the following question:
Here is a short description of the issue:
I am to make a cgi script that accepts 'orders'. These orders consist of a record that describes the general order information (ship_to's, bill_to's, etc...) and a varaible number or 'lines' that describe the actual pieces that make up the order.
OK, so far so good with the general order information. The problem I have is deciding the best way to handle the variable number of lines. Below is a list of my possible solutions, please advise which is best (experienced opinions are my favorite) or give solutions that I myself have not thought of.
It is also planned that in the future, the definition of which fields are required for an order and for each line can be loaded from a DB so that each 'client' can have their own checks and validation for their complete orders.
I can see pros/cons to each approach, but I have tried to leave most of my opinion out. I am here to learn from others, not to stand on a soap box. :-)
the_Don
...making offers others can't rufuse.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Handling Dynamic URL Parameters
by Solo (Deacon) on Sep 13, 2002 at 17:10 UTC | |
by the_Don (Scribe) on Sep 13, 2002 at 17:28 UTC | |
by Solo (Deacon) on Sep 13, 2002 at 18:06 UTC | |
by the_Don (Scribe) on Sep 13, 2002 at 18:14 UTC | |
|
Re: Handling Dynamic URL Parameters
by LTjake (Prior) on Sep 13, 2002 at 18:27 UTC | |
|
Re: Handling Dynamic URL Parameters
by shotgunefx (Parson) on Sep 13, 2002 at 16:28 UTC | |
|
Re: Handling Dynamic URL Parameters
by Zaxo (Archbishop) on Sep 13, 2002 at 16:02 UTC | |
by the_Don (Scribe) on Sep 13, 2002 at 16:15 UTC | |
by zigdon (Deacon) on Sep 13, 2002 at 16:47 UTC |