共查询到20条相似文献,搜索用时 109 毫秒
1.
2.
基于ASP.NET的观察者模式应用研究 总被引:1,自引:0,他引:1
观察者(Observer)模式是面向对象程序设计中常用的模式之一.介绍了观察者模式的相关概念,分析了观察者模型中目标和观察者之间的依赖关系.提出了ASP.NET下旨在简化设计、降低耦合的观察者模式实现方案,并结合一个电子商务实例进行了阐述. 相似文献
3.
4.
程序设计系统化思维模式培养是程序设计课程的内在要求,也是理工科大学生综合素质培养的要求。本文根据软件工程的思想,提出了程序设计系统化思维的培养模式,从学生学习方法,教师教学方法的角度提出了程序设计系统化思维的培养方法。并通过教学实践,说明该方法是行之有效的。 相似文献
5.
6.
7.
Linux下基于SPMD的排序算法及实现 总被引:1,自引:0,他引:1
本文介绍了并行程序设计SPMD模式的概念及其两个分类:主从模式和无主机模式,并以排序算法为例,详细阐述了如何在Linux操作系统并行环境PVM下综合利用这两个模式的编程实现,并介绍了此算法在Linux其他两种环境下(MPI环境和直接在Linux下直接编程)的实现方法。 相似文献
8.
一种策略模式的AOP实现及应用 总被引:1,自引:0,他引:1
基于面向方面编程(AOP)实现GoF设计模式是目前程序设计方法学的一个研究热点。针对GoF设计模式中的策略模式的传统面向对象实现方法所存在的问题,设计了一种基于AOP的实现方法,并应用到J2EE"应用服务"核心模式的实例中。分析结果表明,该方法能有效解决策略模式的传统面向对象实现方法中的混乱、间接影响、封装破坏等问题。 相似文献
9.
基于模式的程序设计教学方法是有益的尝试。本文分析客观存在于程序设计教学中的模式,并以算法实现级模式、程序构建级模式为例,探讨模式在程序设计教学中的应用,从思维工具、知识关联、教学效用三个方面总结这种教学新思维对于提高教学效率的作用。 相似文献
10.
11.
Schema matching is the task of providing correspondences between concepts describing the meaning of data in various heterogeneous, distributed data sources. It is recognized to be one of the basic operations required by the process of data and schema integration and its outcome serves in many tasks such as targeted content delivery and view integration. Schema matching research has been going on for more than 25 years now. An interesting research topic, that was largely left untouched involves the automatic selection of schema matchers to an ensemble, a set of schema matchers. To the best of our knowledge, none of the existing algorithmic solutions offer such a selection feature. In this paper we provide a thorough investigation of this research topic. We introduce a new heuristic, Schema Matcher Boosting (SMB). We show that SMB has the ability to choose among schema matchers and to tune their importance. As such, SMB introduces a new promise for schema matcher designers. Instead of trying to design a perfect schema matcher, a designer can instead focus on finding better than random schema matchers. For the effective utilization of SMB, we propose a complementary approach to the design of new schema matchers. We separate schema matchers into first-line and second-line matchers. First-line schema matchers were designed by-and-large as applications of existing works in other areas (e.g., machine learning and information retrieval) to schemata. Second-line schema matchers operate on the outcome of other schema matchers to improve their original outcome. SMB selects matcher pairs, where each pair contains a first-line matcher and a second-line matcher. We run a thorough set of experiments to analyze SMB ability to effectively choose schema matchers and show that SMB performs better than other, state-of-the-art ensemble matchers. 相似文献
12.
为了满足CIMS环境中信息集成的要求,本文为信息集成平台设计了一种具有集成功能的面向对象视图模型I-VIEW.I-VIEW对OO模型进行了扩充,定义了虚属性、虚对象的概念;引入了输入与隐藏机制和类派生机制,允许对对象的状态和行为进行提炼,能够很好地解决各类集成问题,如模式映射、评义冲突和模式合并与重构等。 相似文献
13.
Methodologies for data warehouse design are increasing more and more in last years, and each of them proposes a different point of view. Among all the methodologies present in literature, the promising ones are the hybrid methodologies—because they represent the only way to ensure a multidimensional schema to be both consistent with data sources and adherent to user business goals—and those able to support the designer by providing some kind of automation. However, the results obtainable by the methodologies can differ substantially in terms of schema quality and required efforts. In this paper, we provide metrics for evaluating the quality of multidimensional schemata in reference to the effort spent in the design process and the automation degree of the methodology. As a case study, we apply our evaluation to the major emerging hybrid methodologies for data warehouse schema design. 相似文献
14.
以工资管理系统为例,介绍利用数组技术构建数据的外模式/模式映象,它不仅为通用工资管理程序的设计提供了一个可行的方法,同时也为其它数据库应用程序的通用性设计提供了一种新的思路。 相似文献
15.
16.
用UML设计XML文档模式 总被引:2,自引:0,他引:2
XML是新一代的置标语言,它定义了一种描述数据、交换数据的标准。W3CXMLSchema是定义和描述XML文档结构的模式语言。UML是一种得到广泛应用的标准对象建模语言。文章以B2C中的电子定单为例,描述了用UML设计XML文档模式的方法。 相似文献
17.
鉴于P-Schema在XML Schema到关系模式映射中的局限性,对P-Schema进行了扩展,并提出了一种基于扩展P-Schema的XML模式到关系模式的映射方法,对映射中的一些难点问题,如多值元素映射,递归元素映射,关键字、唯一性约束映射等重要问题提出了解决方法。 相似文献
18.
In aspect-oriented programming (AOP) a cross-cutting concern is implemented in an aspect. An aspect weaver blends code from the aspect into a program’s code at programmer-specified cut points, yielding an aspect-enhanced program. In this paper, we apply some of the concepts from the AOP paradigm to data. Like code, data also has cross-cutting concerns such as versioning, security, privacy, and reliability. We propose modeling a cross-cutting data concern as a schema aspect. A schema aspect describes the structure of the metadata in the cross-cutting concern, identifies the types of data elements that can be wrapped with metadata, i.e., the cut points, and provides some simple constraints on the use of the metadata. Several schema aspects can be applied to a single data collection, though in this paper we focus on just two aspects: a reliability aspect and a temporal aspect. We show how to weave the schema for these two aspects together with the schema for the data into a single, unified schema that we call a schema tapestry. The tapestry guides the construction, interpretation, and validation of an aspect-enhanced data collection. 相似文献
19.
Integrated access to multiple data sources requires a homogeneous interface provided by a federated schema. Such a federated schema should correctly reflect the semantics of the component schemata of which it is composed. Since the semantics of a database schema is also determined by a set of semantic integrity constraints, a correct schema integration has to deal with integrity constraints existing in the different component schemata. Traditionally, most schema integration approaches solely concentrate on the structural integration of given database schemata. Local integrity constraints are often simply neglected. Their relationship to global extensional assertions, which form the basic integration constraints, are even ignored completely. In this paper, we discuss the impact of global extensional assertions and local integrity constraints on federated schemata. In particular, we point out the correspondence between local integrity constraints and global extensional assertions. The knowledge about the correspondences between the given integrity constraints and extensional assertions can then be utilized for an augmented schema integration process. 相似文献