登陆注册
23770800000026

第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.)

同类推荐
  • 课外英语-名家名诗欣赏(双语版)

    课外英语-名家名诗欣赏(双语版)

    请别用哀伤的诗句对我讲;人生呵,无非是虚梦一场!因为沉睡的灵魂如死一般,事物的表里并不一样。人生是实在的!人生是热烈的!人生的目标绝不是坟墓;你是尘土,应归于尘土。
  • 不懂这些英文你就OUT了

    不懂这些英文你就OUT了

    老美最in口头禅你知道几个?用英语谈恋爱你试过没?最忽悠人的英语签名你又有几个……总之,不管你是白领、学生、潮人、达人、草莓、奔奔……在本书中都能找到绝对适合你的英语句子。干嘛一提起英语就要和学习联系到一起?拜托~这都什么年代了!英语不再是你撑着眼皮大段大段地背对话,遇到老外时还拼命想:我该用以前背的哪段对话来着?
  • AmericaandAmericans

    AmericaandAmericans

    从1998年以来赵启正发表的演讲和访谈中精选出几篇编辑成册,这些文章以公共外交和跨文化交流为主题,有的是向世界说明中国的经典案例,有的是对中外交流的精辟阐述,有的是与国外知名人士的智慧交锋,充分展示了赵启正作为中国新一代政府新闻发言人所具有的激情与才识,以及他特有的坦率、开放的态度。
  • 课外英语-似水年华(双语版)

    课外英语-似水年华(双语版)

    本书主要收录了一些精品散文,全书分为爱的足迹、年华似水、生命乐章等个板块,从不同的方面追忆往昔岁月,展示生活中的点滴表现爱的力量、阐释了爱的真谛。
  • 澳大利亚学生文学读本(第4册)

    澳大利亚学生文学读本(第4册)

    从最简单入门的英语句式、拼写与发音开始,并且附有大量插图,通过趣味而有教育意义的故事,引发孩子们学习语言的兴趣;并向规范、美丽的文学作品过渡,让孩子们掌握语言的艺术,感受本国的人文历史。是中国学生学习英语、全面了解西方社会的很好途径。
热门推荐
  • 地球之游戏世界

    地球之游戏世界

    大家好:我是玉皇大帝,我旁边的这两位兄弟是宙斯和如来,欢迎进入游戏世界
  • 浮尘孤楼

    浮尘孤楼

    谁在爱中迷乱,谁在悲中难安,谁在痛中无言。四段悲歌,谁最终才是赢家。运筹帷幄那么久,到最后才发现自己是个天大的笑话。喧【轩】嚣浮尘,绝【觉】殇离乱,若情有初,楼中孤独。
  • 蓝翼战鹰

    蓝翼战鹰

    这是一个少女向“海雾舰队”复仇的史诗……“我会让他们后悔留下我这个幸存者的!最后我一定会赢的,不是吗?”“你拥有最强大的武器,最精锐的队友,最坚定的信念。所以一定会赢的!”…………苍蓝钢铁的琶音的同人小说,百合或单身向,不喜误入。
  • 2012末日仙侠

    2012末日仙侠

    2012年,神道重启,仙路重开,天穹破碎,“盖亚”消亡。在末世里,金钱变成了废纸,权势变成了玩笑,除了自身的修为与实力,一切都化为了虚无。他,已经过了修道最好的年纪。忙忙碌碌的挣扎,费尽机心的谋算。最后却依然难逃末日死劫的到来,只是,苍天或者说道祖,终究还是给了他最后一次机会。让他重生在了三十年前的自己身上,这一次重生,他能好好的把握吗?
  • 混沌神石:五色光华

    混沌神石:五色光华

    梦又揭开了那幅星辰变幻的古卷,再次让那个孤独的人留念这尘世的一草一木,他的生死却不由我,而是他们……看看我的前世,造了什么孽……
  • 仙魔谭

    仙魔谭

    天地之间,仙魔鬼怪。传闻尘世浮生,有无血之人,生不走轮回,死不入地狱。一世存活,一世罪恶。天道不允,一生阴霾。所谓前世何为果,今生受者是……------------------------------------开启码子之旅,感谢书友支持!
  • 小笺记

    小笺记

    小笺,一个现代普通女孩,来到异界之后,努力地生活,融入异世:遭遇诅咒,选择修仙;遇到帅哥,选择牵手;有了力量,找寻父母;天下大乱,拯救世界。小笺就是一个平凡的人,她也许很稚嫩,但是她会长大,请期待...
  • 谦虚礼貌(中华美德)

    谦虚礼貌(中华美德)

    中华美德的形成和发展历经五千年,内容博大而精深。中国是文明古国、礼仪之邦,重德行、贵礼仪。自古以来,中华传统美德始终是中华民族赖以生存的道德根基和思想基础,是中华民族发展的精神支柱和文化动力。青少年时期是品德形成的重要时期,对于以后的道德观的树立有着极大的影响,因此,从青少年时期就要给他们正确的引导,使之逐渐形成正确的道德认识、道德情感、道德行为和道德意志。本书通过故事告诉青少年孝、义、节、礼等传统道德规范和行为准则。在青少年学习传统文化的同时,也重新认识了“中国的美”。这对外来文化充斥审美和阅读的今天,有着一种增强民族自豪感,了解中华文化,从浮躁到宁静的“回归”的意义。
  • 问道元始

    问道元始

    他,是一个不平凡的孤儿;她,是一个传奇的开始!他为报父母家仇,立志变强;她为光大门庭,追寻天道!在战乱之中,他和妹妹失散,苦苦寻找多年……;在一场变故之中,她失去了自己的师父,却又偶遇自己……。踏破虚空,携手神游九天之外!板山书院QQ群455568153
  • 娘子不乖:抢手新娘

    娘子不乖:抢手新娘

    “逸尘,麻烦你在上面签字!”“好的!”写写画画。“逸尘,你会不会写太久?”“好了!”拿过一看,“洛逸尘,这上面是什么?”“飞雪写的错别字,我把它改了!”这哪是错别字,是简体字!!呜呜~~辛辛苦苦编造出来的退婚书。~~当从天而降的她碰上扮猪吃老虎的他,当憨憨的他碰上自喻聪慧的她,当明斗碰上暗斗,当真相来临时...