Hi everyone, I know some softwarehouses develop some components in orde to make esier their project. So, folliwng the same steps I would lihe to do develop 4 component to make the 4 basisc operations in a DB:a INSERTER, UPDATER, SELECTER and DROPPER.
Imagine the aplication has a class or an object wich is the user layer and has form the the user write some information and this information shuold be record in the DB. Supose variables recive the datas of the form and now you make an INSERT operation and this class or object will sent a message to the INSERTER class. This class will do all the insert operation of any object the requires it. So in the SQL querry instead of the name of the field of the DB there will be variables wich will recive the name of the field, but how? I was thinking use hashing. I sad above variables will recive the datas of the form, the will associate the name of the variable with the of the DB field. It's a crazy mess! But when done, it works! If any wouldo like to discuss it, please PVT-ME, I 'd like to implement it in PHP, Objetc Pascal (Delphi or Kylix) or evem in Java. Thanks for giving me your atention. See you! --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php