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 条
  • [31] Application development by reusing object-oriented frameworks
    Lopes, SF
    Tavares, AC
    Silva, CA
    Monteiro, JL
    [J]. EUROCON 2005: THE INTERNATIONAL CONFERENCE ON COMPUTER AS A TOOL, VOL 1 AND 2 , PROCEEDINGS, 2005, : 583 - 586
  • [32] A MECHANISM FOR SPECIFYING THE STRUCTURE OF LARGE, LAYERED, OBJECT-ORIENTED PROGRAMS
    OSSHER, HL
    [J]. SIGPLAN NOTICES, 1986, 21 (10): : 143 - 152
  • [33] Towards Object-Oriented Context Modeling Object-Oriented Relational Database Data Storage
    Bhogal, Jagdev
    Moore, Philip
    [J]. 2014 28TH INTERNATIONAL CONFERENCE ON ADVANCED INFORMATION NETWORKING AND APPLICATIONS WORKSHOPS (WAINA), 2014, : 542 - 547
  • [34] TOWARDS OBJECT-ORIENTED ALGEBRAIC SPECIFICATIONS
    GROSSERHODE, M
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1991, 534 : 98 - 116
  • [35] TOWARDS OBJECT-ORIENTED GRAPHICS STANDARDS
    WISSKIRCHEN, P
    [J]. COMPUTERS & GRAPHICS, 1986, 10 (02) : 183 - 187
  • [36] Towards object-oriented graphs and grammars
    Ferreira, APL
    Ribeiro, L
    [J]. FORMAL METHODS FOR OPEN OBJECT-BASED DISTRIBUTED SYSTEMS, PROCEEDINGS, 2003, 2884 : 16 - 31
  • [37] Towards Object-Oriented Modeling in SCCharts
    Schulz-Rosengarten, Alexander
    Smyth, Steven
    Mendler, Michael
    [J]. PROCEEDINGS OF THE 2019 FORUM ON SPECIFICATION AND DESIGN LANGUAGES (FDL), 2019,
  • [38] Towards Interactive Object-Oriented Programming
    Kwon, Keehang
    Park, Kyunghwan
    Park, Mi-Young
    [J]. IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2015, E98D (02): : 437 - 438
  • [39] Towards a deductive object-oriented system
    Yoon, Suk-Chung
    Ku, Cyril S.
    [J]. International Journal of Computers and Applications, 1998, 20 (02): : 68 - 73
  • [40] Refining object-oriented invariants and dynamic constraints
    Shield, J
    Hayes, IJ
    [J]. APSEC 2002: NINTH ASIA PACIFIC SOFTWARE ENGINEERING CONFERENCE, 2002, : 52 - 61