| Towards specifying constraints for object-oriented frameworks |
| Full text |
Pdf
(276 KB)
|
| Source
|
IBM Centre for Advanced Studies Conference
archive
Proceedings of the 2001 conference of the Centre for Advanced Studies on Collaborative research
table of contents
Toronto, Ontario, Canada
Page: 5
Year of Publication: 2001
|
|
Authors
|
|
Daqing Hou
|
Department of Computing Science, University of Alberta, Edmonton, Alberta, Canada T6G 2E8
|
|
H. James Hoover
|
Department of Computing Science, University of Alberta, Edmonton, Alberta, Canada T6G 2E8
|
|
| Sponsors |
|
| Publisher |
IBM Press
|
| Bibliometrics |
Downloads (6 Weeks): 5, Downloads (12 Months): 19, Citation Count: 2
|
|
|
ABSTRACT
Object-oriented frameworks are often hard to learn and use [1, 3]. As a result, software cost rises and quality suffers. Thus the capability to automatically detect errors occurring at the boundary between frameworks and applications is considered crucial to mitigate the problem. This paper introduces the notion of framework constraints and a specification language, FCL (Framework Constraints Language), to formally specify them. Framework constraints are rules that frameworks impose on the code of framework-based applications. The semantics of FCL is primarily based on first order predicate logic and set theory though the syntax is designed to resemble that of programming languages as much as possible. We take examples from the MFC (Microsoft Foundation Classes) framework [19] demonstrating both the nature of framework constraints and the semantics of FCL. Essentially, framework constraints can be regarded as framework-specific typing rules conveyed by the specification language FCL, and thus can be enforced by techniques analogous to those of conventional type checking.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
{1} J. Bosch, P. Molin, M. Mattsson, and P. Bengtsson. Obstacles in object-oriented framework-based software development. ACM Computing Survey's Symposia on Object Oriented Application Frameworks, 1998.
|
 |
2
|
|
 |
3
|
|
| |
4
|
{4} M. F. Fontoura, C. Braga, L. Moura, and C. J. Lucena. Using domain specific languages to instantiate object-oriented frameworks. In IEE Proceedings-Software, volume 147, 2000.
|
 |
5
|
Gary Froehlich , H. James Hoover , Ling Liu , Paul Sorenson, Hooking into object-oriented application frameworks, Proceedings of the 19th international conference on Software engineering, p.491-501, May 17-23, 1997, Boston, Massachusetts, United States
[doi> 10.1145/253228.253432]
|
| |
6
|
|
 |
7
|
Richard Helm , Ian M. Holland , Dipayan Gangopadhyay, Contracts: specifying behavioral compositions in object-oriented systems, Proceedings of the European conference on object-oriented programming on Object-oriented programming systems, languages, and applications, p.169-180, September 1990, Ottawa, Canada
|
 |
8
|
Ralph E. Johnson, Documenting frameworks using patterns, conference proceedings on Object-oriented programming systems, languages, and applications, p.63-76, October 18-22, 1992, Vancouver, British Columbia, Canada
|
 |
9
|
Ralph E. Johnson, Components, frameworks, patterns, Proceedings of the 1997 symposium on Software reusability, p.10-17, May 17-20, 1997, Boston, Massachusetts, United States
|
 |
10
|
Gregor Kiczales , John Lamping, Issues in the design and specification of class libraries, conference proceedings on Object-oriented programming systems, languages, and applications, p.435-451, October 18-22, 1992, Vancouver, British Columbia, Canada
|
| |
11
|
|
 |
12
|
John Lamping, Typing the specialization interface, Proceedings of the eighth annual conference on Object-oriented programming systems, languages, and applications, p.201-214, September 26-October 01, 1993, Washington, D.C., United States
|
 |
13
|
|
| |
14
|
|
| |
15
|
|
 |
16
|
Alvaro Ortigosa , Marcelo Campo , Roberto Moriyón, Towards agent-oriented assistance for framework instantiation, Proceedings of the 15th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications, p.253-263, October 2000, Minneapolis, Minnesota, United States
|
| |
17
|
|
| |
18
|
{18} W. Pree, G. Pomberger, A. Schappert, and P. Sommerlad. Active guidance of framework development. Software-Concepts and Tools, 1995.
|
| |
19
|
|
 |
20
|
Webb Stacy , Richard Helm , Gail E. Kaiser , Bertrand Meyer, Ensuring semantic integrity of reusable objects (panel), conference proceedings on Object-oriented programming systems, languages, and applications, p.298-302, October 18-22, 1992, Vancouver, British Columbia, Canada
|
 |
21
|
Raymie Stata , John V. Guttag, Modular reasoning in the presence of subclassing, Proceedings of the tenth annual conference on Object-oriented programming systems, languages, and applications, p.200-214, October 15-19, 1995, Austin, Texas, United States
|
 |
22
|
Patrick Steyaert , Carine Lucas , Kim Mens , Theo D'Hondt, Reuse contracts: managing the evolution of reusable assets, Proceedings of the 11th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications, p.268-285, October 06-10, 1996, San Jose, California, United States
|
| |
23
|
{23} IBM VisualAge for Java. at http://software.ibm.com/software/ad/vajava. Microsoft Visual Studio. at http://msdn.microsoft.com/vstudio/.
|
| |
24
|
{24} Joseph M. Newcomer Co. at http://www.pgh.net/newcomer/.
|
|