yojimbo has asked for the wisdom of the Perl Monks concerning the following question:
However, it is a pita to write routines which create an SQL query based on user input (eg when searching); to check for errors in data entry and notify the user of those errors; to format the records for viewing by the user. If I could do it just once in a generic fashion, that would save me hours per project, but it seems like each application needs numerous tweaks and adjustments which take a long time to code and maintain.
I realise that for some of this, "them's the breaks" and it's what a programmer is for. But if you have any techniques, modules or tricks that you use to make such programming easier, please share your insight so I can become better at this sort of thing. I'm particularly interested in genericising the code I write so I can reuse it, in CPAN-type modules, and web resources or books which might help.
TIA.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl/CGI Database Techniques
by dragonchild (Archbishop) on Sep 24, 2003 at 16:21 UTC | |
|
Re: Perl/CGI Database Techniques
by perrin (Chancellor) on Sep 24, 2003 at 16:25 UTC | |
|
Re: Perl/CGI Database Techniques
by jdtoronto (Prior) on Sep 24, 2003 at 17:31 UTC | |
|
Re: Perl/CGI Database Techniques
by princepawn (Parson) on Sep 24, 2003 at 18:09 UTC | |
|
Re: Perl/CGI Database Techniques
by BUU (Prior) on Sep 24, 2003 at 19:24 UTC | |
by jdtoronto (Prior) on Sep 24, 2003 at 21:05 UTC | |
by BUU (Prior) on Sep 25, 2003 at 07:54 UTC | |
by yojimbo (Monk) on Sep 25, 2003 at 09:43 UTC |