ACM Home Page
Please provide us with feedback. Feedback
Towards specifying constraints for object-oriented frameworks
Full text PdfPdf (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
NRC : National Research Council - Canada
IBM Canada : IBM Canada
Publisher
IBM Press 
Bibliometrics
Downloads (6 Weeks): 5,   Downloads (12 Months): 19,   Citation Count: 2
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Review this Article  

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
 
6
7
8
9
10
 
11
12
13
 
14
 
15
16
 
17
 
18
{18} W. Pree, G. Pomberger, A. Schappert, and P. Sommerlad. Active guidance of framework development. Software-Concepts and Tools, 1995.
 
19
20
21
22
 
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/.


Collaborative Colleagues:
Daqing Hou: colleagues
H. James Hoover: colleagues