We examine Aspect-Oriented Programming (AOP) as it applies to web development. XHTML was designed to separate form from content, a fundamental principle of separation of concerns in AOP. Cascading Stylesheets and Javascript naturally provide support for AOP. The release of AOPHP (Aspect-Oriented PHP) provides a more traditional way to implement AOP in the LAMP (Linux, Apache, MySQL, PHP) web development environment, weaving advice code into PHP source code prior to the PHP preprocessing step.
This paper describes the process for documenting programs using Aspect-Oriented PHP through AOPHPdoc. We discuss some of the problems involved in documenting AspectOriented programs, solutions to these problems, and the creation of documentation with AOPHPdoc. A survey of programmers found no preference for Javadoc-styled documentation over the colored-coded AOPHP documentation.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.