in reply to Re: Code factory
in thread Code factory
I think this is why I'm leaning toward having the many function names, even if using the factored function for the basic inserts, as tadman or flounder99 suggested. This is a mod_perl application, so there's got to be some good data checks somewhere.
I also don't like the look of a bunch of calls like:
all over the place. I have trouble remembering the table names and column names... Shouldn't various layers of the application be somewhat insulated from one another? Data encapsulation and all that... :)getByFieldval("sometable", "somecolumn",$value1);
|
---|