oo design: churned persistance settlement flush class


i am conceptualizing category record entries mail server. i have parsed record entries combined category hierarchy. i need save memory illustration disk. i need save churned destinations mysql hoop files. i am during detriment out repremand proceed settlement attention mechanism. hurdles are:




  1. how pass persistence
    initialization information like
    filename, db tie parameters
    passed them. options i can
    think dizzy eg:



    1.1 constructor: becomes dizzy i
    add some-more persistence.



    1.2 method: object.mysql_params(" "),
    again boundary ugly


  2. "correct" slight name each
    persistance mechanism: eg:
    object.save_mysql, object.save_file,
    or object.save (mysql) and
    object.save(file)




i am certain there settlement solve sole problem. i am controlling flush language, out any rails, ie pristine flush code. any thought many welcome.



raj



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?