登陆注册
27082000000026

第26章 Database System(5)

Object-oriented software development is a contemporary approach to the design of reliable and robust software. The complexity of the implementation of software system is a combination of the complexity of the representations of information and the complexity of the algorithms that manipulate the representations. Data structure is the study of methods of representing objects, the safe, reliable encapsulation of structure, the development of algorithms that use these representations, and the measurement of both the time and space complexity of the resulting systems. The object-oriented approach emphasizes the role of objects, along with their attributes and operates, that form the nucleus of the solution.

From the point of view of deciding which data structure should represent that attributes of objects in a specific class, the emphasis that the object -oriented approach places on abstraction is very important to the software development process. Abstraction means hiding unnecessary details. Procedural abstraction, or algorithmic abstraction, is the hiding of algorithmic details, which allows the algorithm to be seen or described, at various levels of detail. Building subprograms so that the names of the subprograms describe what the subprograms do and the code inside subprograms shows how the processes are accomplished is an illustration of abstraction in action.

Similarly, data abstraction is the hiding of representational details. An obvious example of this is the building of data types by combining together other data types, each of which describes a piece, or attribute, of a more complex object type. An object-oriented approach to data structures brings together both data abstraction and procedural abstraction through the packaging of the representations of classes of objects.

Once an appropriate abstraction is selected, there may be several choices for representing the data structure. In many cases there is at least one static representation and at least one dynamic representation. The typical tradeoff between static and dynamic representations is between a bounded or unbounded representation versus the added storage and time requirements associated with some unbounded representations.

After an abstraction and representation are chosen, there are competing methods to encapsulate data structures. The choice of an encapsulation is another tradeoff, between how the structure is made available to the user and how the user's instantiating objects may be manipulated by the package. The encapsulations have an effect on the integrity of the representation, and time and space requirements associated with the encapsulation. Once specified, one or more competing methods of representation may be carried out, and the structure, its representations and its encapsulation may be evaluated relative to the problem being solved. The time and space requirements of each method must be measured against system requirements and constraints.

Object-Oriented programming differs from procedural programming because it uses objects as data structure. The structured data and its related operations could be encapsulated in a single object which may be reused and easily upgraded, augmented, replaced. So it directly reduces the cost of maintenance and the timing and extendibility of new system.

Most object oriented systems are hybrid systems; they reduce the messaging overhead by using traditional programming at the lowest levels and object-oriented programming for the higher levels. Hybrid systems can approach the machine efficiency achieved by traditional programs.

Objects can be viewed as reusable components, and once the programmer has developed a library of these components, he can minimize the amount of new coding required. One user envisions a commercial library of objects which could be purchased by programmers and reused for various applications. But creating a library is no ****** task because the integrity of the original software design is critical. Reusability can be a mixed blessing for users, too, as a programmer has to be able to find the object he needs. But if productivity is your aim, reusability is worth the risks.

【New Words】

oriented

导向的

robust

精力充沛的

contemporary

当代的,同时代的

representation

表现,陈述,扮演

algorithm

运算法则

encapsulation

包装,封装

subprogram

子程序,辅助程序

hybrid

混合的,混血儿

4.3 Database Management Systems and Management Information Systems

You know that a database is a collection of logically related data elements that may be structured in various ways to meet the multiple processing and retrieval needs of organizations and individuals. There's nothing new about databases early ones were chiseled in stone, penned on scrolls, and written on index cards. But now databases are commonly recorded on magnetically media, and computer programs are required to perform the necessary storage and retrieval operations.

You'll see in the following pages that complex data relationships and linkages may be found in all but the ******st databases. The system software package that handles the difficult tasks associated with creating, accessing, and maintaining database records is called a database management system (DBMS). The programs in a DBMS package establish an interface between the database itself and the users of the database. (These users may be applications programmers, managers and others with information needs, and various OS programs.)

同类推荐
  • 人性的弱点全集(英文朗读版)

    人性的弱点全集(英文朗读版)

    HowtoWinFriends&InfluencePeopleisthegrandfatherofallpeople-skillsbooks,whichwasfirstpublishedin1937.Itwasanovernighthit,eventuallyselling15millioncopies.DalecarnegiehadanunderstandingofhumannaturethatwillneverbeoutdatedFormorethansixtyyearsthero……
  • 双语学习丛书-年华追忆

    双语学习丛书-年华追忆

    流淌心灵的隽语,记忆的箴言,在双语的世界里,感受英语学习的乐趣,体会英语学习的奥妙,提高英语学习的能力!丛书包括:爱的交融、财富精英、成长课堂、醇香母爱、父爱如山、故乡情怀、节日趣闻、快乐心语、浪漫往昔等故事。
  • 大学英语四级阅读技巧

    大学英语四级阅读技巧

    全书共涉及以下五个方面的内容:阅读理解概述、阅读理解解题技巧、四级阅读题型模式、历年阅读理解真题详解、全真预测试题。书中比较系统地介绍了阅读方法、技巧,帮助广大考生提高阅读能力,掌握临场解题技法,在进一步提高考生的应试能力的同时更能使其语言的综合能力稳步提升。
  • 英语零起点拿起就会说

    英语零起点拿起就会说

    学好一门外语,就是掌握一门技能。但如何才算是掌握了这门技能呢?语言是交流的工具,所以只有学有所用、能够流畅地用外语与他人进行交流,才算是学好了这门外语。
  • 《21世纪大学英语》配套教材.阅读.3

    《21世纪大学英语》配套教材.阅读.3

    本系列教材是普通高等教育国家级重点教材《21世纪大学英语》的配套系列教材,包括《阅读》、《口语》和《词汇》三种,每一种分一、二、三册,供大学非英语专业的基础英语课堂教学和练习使用。《阅读》以提高学生的阅读能力为目的。第一册和第二册每册十单元。每一单元介绍一种阅读技能,并带针对性训练。各单元还配有三篇快速阅读,旨在通过反复训练以帮助学生掌握阅读技能,提高阅读速度。第三册以介绍文学名著为主,通过对各种不同文体和风格的文字进行讲解与分析,以增强学生对文学作品的欣赏能力。
热门推荐
  • 九品状元郎

    九品状元郎

    公元前……公元前……哎呀,反正是公元前不知道多少多少年,神秘的华月古国,一夜颠覆!硕果仅存的二人,一人逃出生天,一人生死不明!三个月后,一男两女,踏上了大秦王朝的土地……现代的知识,华月的古武。且看史上第一个九品状元郎,会在这漫漫的历史长河中,留下怎样的足迹!
  • 天行

    天行

    号称“北辰骑神”的天才玩家以自创的“牧马冲锋流”战术击败了国服第一弓手北冥雪,被誉为天纵战榜第一骑士的他,却受到小人排挤,最终离开了效力已久的银狐俱乐部。是沉沦,还是再次崛起?恰逢其时,月恒集团第四款游戏“天行”正式上线,虚拟世界再起风云!
  • 邪魅少爷受不起

    邪魅少爷受不起

    “女人等我五年。”男子邪魅的说道“恩?为什么?”女子挑挑眉问“回来娶你。”五年后,他是吴氏集团的少爷,她是夏氏集团的千金第一次见面,他说:“我是你的未婚夫,可我们以前是不是见过?”我抬头愣住了,是他么?是他,可他忘记了么?垂下眼帘说:“妖孽未婚夫?抱歉,我不记得。”第二次见面,他说:“女人,你是我唯一接触的女子,除了她。”除了她?是谁?她问:“她是谁?”“五年前...”五..五年前?我看着他,难道他看不出来她就是那个她么?第三次见面,他说:“女人,我把我从未有过的温柔给了你,你该怎么回报?”我垂下眼帘说:“你的温柔,我受不起。”
  • 景年里不知伤怀

    景年里不知伤怀

    遇见他时,她以为他就是她的永恒;遇见他时,她以为他会是她最终的归宿;遇见他,她挣扎,逃避,几经周折,最后带着伤痛离去;翩跹的时光里,谁会一直爱着谁,谁又会始终如一地等着谁?谁会是谁的今生唯一,谁又会把谁当作此生挚爱?总相信一句话“世上没有无缘无故的爱,也不会有无缘无故的恨”。她一次次地在咨询中见证人心的震憾力量,也深深地明白,唯有真心,感情才会持久,不论何种。可是,曾经的伤害
  • 大政治家的故事(古今中外英雄伟人故事系列)

    大政治家的故事(古今中外英雄伟人故事系列)

    秦始皇尽管是一位暴君,但他也是统一中国的皇帝。没有他,中国的统一也许要推迟很多年,由此,我们可以得出这样一个推理:中国的整体进步和发展,也许要推迟很多年,秦始皇不但是一个古代君主,也是一个古代著名的政治家。
  • 求实创新(下)

    求实创新(下)

    中国素以“文明古国、礼仪之邦”著称于世。中国劳动人民和各阶层的进步代表人物的道德修养故事一代传一代,百世流芳。中华民族“自强不息”的人生哲学;“发愤忘食”的持生规范;“富贵不能淫、贫贱不能移、威武不能屈”的高风亮节;“先天下之忧而忧,后天下之乐而乐”的立身情操;“天下兴亡,匹夫有责”的爱国精神;“天下为公”的大同思想,对中华民族的形成、繁衍、统一、稳定和自立于世界民族之林起到了巨大作用。可以说中华民族传统道德修养是世界上最有凝聚力和向心力的民族瑰宝。
  • 那就这样爱你

    那就这样爱你

    霸道总裁的呆萌小老婆,背地里的冷血杀手。
  • 无名之梦

    无名之梦

    那是一个很美丽的梦,虐心吗?或许吧!看着自己喜欢的人为另一个人伤心欲绝,却不能说些什么,痛心吗?应该吧!死命憋着泪水拼命不让它流下来,一个人只能在一个角落里,哭着,绝望着,我爱的他,却不知道我爱着他。默默付出却求不了回报,看着爱的人一步一步的远离自己....
  • 橘子味的青春爱恋

    橘子味的青春爱恋

    年少的爱情,总是酸酸甜甜的。如橘子一样。情窦初开的年纪,喜欢上一个人,会喜欢很久吗?可有着豪门的约束,真的能和喜欢的人在一起吗?“我们约定好了,一起上同一所初中、高中,将来还要考同一所大学,谁也不能毁约。”“一言为定,你可不能骗我哦!”“她不能跟你在一起,她是我陆家的当家主母。”“我求求你了,放过我身边的人吧!”
  • 帝凰:将门嫡女

    帝凰:将门嫡女

    盛世浮华,江山如画,轻纱蜿蜒后,处处杀机!遇见他,在她一生最落魄之时,他说:牵着我的手,噩运在左,我带你向右……然而,黄金盟尚在,喜堂之上,他的新娘却换了人。爱上他,是上天给他们的劫数,他们渡得过皇权更替的阴谋潮海,渡得过江河彼岸的蜿蜒杀机,却渡不过命运不羁的玩笑……--情节虚构,请勿模仿