One of the more interesting developments recently gaining popularity in the server-side JavaScript space is ***. It\'s a framework for developing high-performance, concurrent programs that don\'t rely on the m...
详细信息
One of the more interesting developments recently gaining popularity in the server-side JavaScript space is ***. It\'s a framework for developing high-performance, concurrent programs that don\'t rely on the mainstream multithreading approach but use asynchronous I/O with an event-driven programming model.
Through implicit invocation, procedures are called without explicitly referencing them. Implicit announcement adds to this implicitness by not only keeping implicit which procedures are called, but also where or when-...
详细信息
Through implicit invocation, procedures are called without explicitly referencing them. Implicit announcement adds to this implicitness by not only keeping implicit which procedures are called, but also where or when-under implicit invocation with implicit announcement, the call site contains no signs of that, or what it calls. Recently, aspect-oriented programming has popularized implicit invocation with implicit announcement as a possibility to separate concerns that lead to interwoven code if conventional programming techniques are used. However, as has been noted elsewhere, as currently implemented it establishes strong implicit dependencies between components, hampering independent software development and evolution. To address this problem, we present a type-based modularization of implicit invocation with implicit announcement that is inspired by how interfaces and exceptions are realized in JAVA. By extending an existing compiler and by rewriting several programs to make use of our proposed language constructs, we found that the imposed declaration clutter tends to be moderate;in particular, we found that, for general applications of implicit invocation with implicit announcement, fears that programs utilizing our form of modularization become unreasonably verbose are unjustified.
A fundamental requirement for modern large-scale distributed applications is the need to quickly adapt to the fast variations in their operational environment. In SOA the need for adaptation influences design, enactme...
详细信息
ISBN:
(纸本)9789896740108
A fundamental requirement for modern large-scale distributed applications is the need to quickly adapt to the fast variations in their operational environment. In SOA the need for adaptation influences design, enactment and execution of service compositions (workflows). To maintain a high quality standard and to support continuous improvements of workflows, the quality of intermediate steps has to be assessed during execution and, if needed, interventions have to be performed at the same time. The key concept is to avoid problems, anticipating the detection of their causes. We propose a monitoring system based on the definition of general management policies that are translated in management rules using an event-driven approach. Rules are employed to react to unexpected events, malfunctions, errors or violations of constraints with the objective of dynamically adapting the process in order to overcome the problems still maintaining a high-quality delivery.
This paper presents an event-driven framework for inter-user communication applications, such as Internet gaming or chatting, that require frequent communication among users. This paper addresses two major blocking pr...
详细信息
This paper presents an event-driven framework for inter-user communication applications, such as Internet gaming or chatting, that require frequent communication among users. This paper addresses two major blocking problems for event-driven programming for inter-user communication applications, namely output blocking and request blocking. For the former, an output buffering mechanism is presented to solve this problem. For the latter, a service requesting mechanism with helper processes is presented to solve this problem. The above two mechanisms are incorporated into the framework presented in this paper to facilitate application development. In practice, this framework has been applied to online game development. (C) 2005 Elsevier B.V. All rights reserved.
作者:
Pere, LKoniorczyk, MSlovak Acad Sci
Res Ctr Quantum Informat Bratislava 84511 Slovakia Univ Pecs
Fac Sci Ctr Comp Sci H-7624 Pecs Hungary Univ Pecs
Fac Sci Dept Informat & Gen Technol H-7624 Pecs Hungary Hungarian Acad Sci
Comp & Automat Res Inst MTA SZTAKI H-1051 Budapest Hungary
We consider the issue of implementing graphical user interfaces (GUIs): we present an easy-to-use and fast GUI building tool, specially designed to be used with interpreters. It supports a variety of communication met...
详细信息
We consider the issue of implementing graphical user interfaces (GUIs): we present an easy-to-use and fast GUI building tool, specially designed to be used with interpreters. It supports a variety of communication methods and interaction models, therefore being able to collaborate with a huge diversity of interpreters in a natural way, in POSIX compliant (or similar) environment. Thus it enables the programmer to easily create a GUI, no matter what kind of language or model the actual interpreter implements. event-driven programs in UNIX shells and graphical user interfaces in a data oriented language are presented as example applications. (c) 2004 Elsevier Ltd. All rights reserved.
In this paper we describe a library we have developed that supports an "OO-from-the-beginning" approach to CS 1. The use of real graphics "objects" and event-driven programming are important compon...
详细信息
ISBN:
(纸本)1581133294
In this paper we describe a library we have developed that supports an "OO-from-the-beginning" approach to CS 1. The use of real graphics "objects" and event-driven programming are important components of our approach. The design of interactive graphical programs helps students to both use objects and write methods early while designing and implementing interesting programs.
This paper deals with software design principles and guidelines to improve the reusability and maintainability of event-driven (ED) programs. The paper examines how well the principles of structured software design fr...
详细信息
This paper deals with software design principles and guidelines to improve the reusability and maintainability of event-driven (ED) programs. The paper examines how well the principles of structured software design from the procedural programming field can be applied to the event-driven environment. Taking into account the unique characteristics of event-driven programming (E-DP), additional guidelines that are specific to this field are proposed. The guidelines presented here deal with modularizing event procedures, graphical representation of E-D programs, sharing data between event/general procedures, using user-defined objects, and developing cohesive procedures and forms. (C) 1998 Elsevier Science Inc. All rights reserved.
In this paper, we describe techniques of integrating the traditional, object-oriented console model with an object-oriented, event-driven model of programming in the first course. We present a design methodology succe...
详细信息
ISBN:
(纸本)1581130856
In this paper, we describe techniques of integrating the traditional, object-oriented console model with an object-oriented, event-driven model of programming in the first course. We present a design methodology successfully used to provide a transition from the console model to an event-driven model, relating both to problem-solving strategies.
暂无评论