• Post Reply Bookmark Topic Watch Topic
  • New Topic

Data file abstraction

Tony Bouer
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read some posts saying that we should make our data file reader more extensible due its abstract definition, so the structure would not be hardcoded. Any idea of how to do that ?
I created some classes with the database representation like: Schema, Field and Record. After reading data to this structure I'm able to transform
to an specific type, Accomodation Transfer Object. The serializable object that will be carried out between applications layers, despite methods parameter dependency.

or .. if I'm wrong, how to construct objects programmatically based on schema definitions ? Any sample ?

Please critisise it !!!

[ March 14, 2006: Message edited by: Tony Bouer ]
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!