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:
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"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
Post a Comment