Preface

    When we desgined the database management system, we need face the object-mapping-table; also you might do it so, becuase your app is so small; but in the large scale system, we must take more concern to this eara, to keep our systems can be maintained, to normalize our systems, you should make a layer for object-oriented mapping.
    I read a book was published in 1997 for JAVA, give me a lot, in the book, you can find some good patterns for O/R mapping, it gave many kinds of patterns for your reference; the author said, you might pay more concern to the O/R mapping layer in your large scale apps, but the author also said that when you have used a pattern in your apps, and it may gave you unexpectable errors, becuase the patterns has downfall in essence. so when you choice a pattern you also need care the downfall of the pattern.
    You may aslo find that there is a few pepole talk about the O/R mapping layer, and our apps can also run well, If you think like this, I am sure  you are not a good programmer; When we use the IDE to develop our app, and the IDE has encapsulated the object-oriented. so you can't find the object-oriented by your eges directly, but you should see the object-oriented method has been used.
    In this section, I'll tell you my O/R mapping layer to help your apps. I don't know whether you have seen that you had used a lot of classes to keep the object-oriented order, In traditional programming, you have no choice but to do like that, nowadays, I happily tell that we can use the XML methodology to improve the performance of your O/R mapping layer, and even business logic layer. as Experts can try out the common programming methodologies as you can find a common method in the O/R layer, so I am sure the methodology has existed. We will find it out.
    From my experiments ,  I found that there is a common pattern can be applied to the O/R layer , even database management system. 
    At open websites, you also can find a lot of stuff about this eara, therefore suppose you are interesting, In the next parts, I will give a detail explanations to help comprehension.
posted @ 2004-12-31 14:20  23热爱,自学业余码农。  阅读(364)  评论(0)    收藏  举报