Towards Specifying Constraints for Object-Oriented Frameworks

被引:0
|
作者
Daqing Hou
H. James Hoover
机构
[1] University of Alberta,Department of Computing Science
来源
关键词
object-oriented frameworks; framework constraints; FCL; FCL checker;
D O I
暂无
中图分类号
学科分类号
摘要
Object-oriented frameworks are often hard to learn and use (J. Bosch et al., In: ACM Computing Survey's Symposia on Object Oriented Application Frameworks, 1998; M. Fayad and D.C. Schmidt, Communication of the ACM, Special Issue on Object-Oriented Application Frameworks 1997;40(10)). 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 evolving syntax is designed to resemble that of programming languages as much as possible. We take examples from the MFC (Microsoft Foundation Classes) framework (G. Shepherd and S. Wingo, MFC Internals: Inside the Microsoft Foundation Classes Architecture. Reading, MA: Addison Wesley, 1996) 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.
引用
收藏
页码:393 / 407
页数:14
相关论文
共 50 条
  • [1] Towards specifying constraints for object-oriented frameworks
    Hou, DQ
    Hoover, HJ
    [J]. INFORMATION SYSTEMS FRONTIERS, 2002, 4 (04) : 393 - 407
  • [2] Specifying timing constraints in real-time object-oriented systems
    Vishnuvajjala, RV
    Tsai, WT
    Mojdehbakhsh, R
    Elliott, L
    [J]. IEEE HIGH-ASSURANCE SYSTEMS ENGINEERING WORKSHOP, PROCEEDINGS, 1997, : 32 - 39
  • [3] Classification of object-oriented frameworks
    Krajnc, A
    Hericko, M
    [J]. IEEE REGION 8 EUROCON 2003, VOL B, PROCEEDINGS: COMPUTER AS A TOOL, 2003, : 57 - 61
  • [4] Object-oriented application frameworks
    Fayad, ME
    Schmidt, DC
    [J]. COMMUNICATIONS OF THE ACM, 1997, 40 (10) : 32 - 38
  • [5] OBJECT-ORIENTED KNOWLEDGE FRAMEWORKS
    FORDE, BWR
    RUSSELL, AD
    STIEMER, SF
    [J]. ENGINEERING WITH COMPUTERS, 1989, 5 (02) : 79 - 89
  • [6] Specifying business rules in object-oriented analysis
    Devos F.
    Steegmans E.
    [J]. Software & Systems Modeling, 2005, 4 (3) : 297 - 309
  • [7] Specifying and analysing distributed object-oriented systems
    Frey, M
    Podolsky, A
    [J]. INTERNATIONAL SYMPOSIUM ON SOFTWARE ENGINEERING FOR PARALLEL AND DISTRIBUTED SYSTEMS, PROCEEDINGS, 1999, : 38 - 51
  • [8] Specifying and analysing distributed object-oriented systems
    Frey, Maximilian
    Podolsky, Markus
    [J]. International Workshop on Software Engineering for Parallel and Distributed Systems, Proceedings, 1999, : 38 - 51
  • [9] Object-oriented frameworks for distributed simulation
    Hunter, J
    Carson, JA
    Colley, M
    Standeven, J
    Callaghan, V
    [J]. ENABLING TECHNOLOGY FOR SIMULATION SCIENCE III, 1999, 3696 : 32 - 43
  • [10] Optimizations for parallel object-oriented frameworks
    Bassetti, F
    Davis, K
    Quinlan, D
    [J]. OBJECT ORIENTED METHODS FOR INTEROPERABLE SCIENTIFIC AND ENGINEERING COMPUTING, PROCEEDINGS, 1999, : 303 - 312