User Interfaces with Object-Oriented Programming in APL2 Manuel Alfonseca Escuela de lngenieria Informatica, Universidad Autonoma de Madrid Ciudad Universitaria de Cantoblanco, 28049 Madrid SPAIN Tel.: (34) 1397 4467; FAX: (34) 1397 5277 Manuel.Alfonseca@ii.uam.es The power of general arrays is used to provide APL2 with object-oriented capabilities, which are used to generate user interface object classes such as windows, menus, dialog boxes and messages, among others, all of which can be created as persistent objects. This makes very straightforward the development of user interfaces for real applications. Systems that only provide the first step are called object-based. Those that also provide the second step are called class-based. Inheritance is required for an object-oriented system. Thus, the Microsoft COM standard is object-based, while the CORBA standard is object-oriented. OOP systems characteristics: provide three important The two OOP paradigms According to Peter Wegner [Weg 951, there are three steps towards Object-Oriented Programming (OOP in short): l Encapsulation: complete isolation of objects from their environment, except for a subset of its behavior, which constitutes its public interface. Polymorphism: the fact that different objects may have behaviors (programs or methods) with the same name, but with different code, according to the class of
/lp/association-for-computing-machinery/user-interfaces-with-object-oriented-programming-in-apl2-U7Pn00ZY4y