Back to Search
Start Over
Access control in feature-oriented programming
- Source :
- Science of Computer Programming. 77:174-187
- Publication Year :
- 2012
- Publisher :
- Elsevier BV, 2012.
-
Abstract
- In feature-oriented programming (FOP) a programmer decomposes a program in terms of features. Ideally, features are implemented modularly so that they can be developed in isolation. Access control mechanisms in the form of access or visibility modifiers are an important ingredient to attain feature modularity as they allow programmers to hide and expose internal details of a module’s implementation. But developers of contemporary feature-oriented languages have not considered access control mechanisms so far. The absence of a well-defined access control model for FOP breaks encapsulation of feature code and leads to unexpected program behaviors and inadvertent type errors. We raise awareness of this problem, propose three feature-oriented access modifiers, and present a corresponding access modifier model. We offer an implementation of the model on the basis of a fully-fledged feature-oriented compiler. Finally, by analyzing ten feature-oriented programs, we explore the potential of feature-oriented modifiers in FOP.
- Subjects :
- Fuji
Computer science
Programming language
business.industry
Access control
Access modifier model
computer.software_genre
Modularity
Encapsulation (networking)
Feature-oriented programming
Feature modularity
Compiler
Isolation (database systems)
Access modifiers
Programmer
business
computer
Software
Subjects
Details
- ISSN :
- 01676423
- Volume :
- 77
- Database :
- OpenAIRE
- Journal :
- Science of Computer Programming
- Accession number :
- edsair.doi.dedup.....ef6e3fa4c93b7e8fe634a933e2d5e68e
- Full Text :
- https://doi.org/10.1016/j.scico.2010.07.005