448191 Posted November 27, 2006 Share Posted November 27, 2006 Anybody tried to standardize storage methods?I'm currently trying to find an interface that will work for XML files and databases, but it's pretty hard.Visualisation of what I am trying to accomplish:[img]http://home.orange.nl/lekkage/img/bb.dataobject.png[/img] Quote Link to comment Share on other sites More sharing options...
Jenk Posted November 27, 2006 Share Posted November 27, 2006 You'll most likely need to make use of the Facade pattern, or perhaps the Adapter pattern. Both are similar.Or just do it the old fashion way.. XML object with the same interface as your MySQL object. TableDataGateway, RowDataGateway.. or even Object Relational Mapping. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.