Application View Controller

Application View Controller

AVC is a python module that makes very easy the display and the input of some data of an application program through a GUI.

AVC allow you to:
*free the application program from any code involved in setting or getting widget values;
*avoid widget signals connections and management;
*have a uniform support for the 5 most popular widgets toolkits, GTK, Qt3, Qt4, Tk, wxWidget.
*have a shorter (50% less) and simpler code than solutions based on MVC.

AVC essential concepts

# Any GUI has a subset of widgets that display values stored in variables of the application program, for example, a text widget can display a string, a spin button can display a float, etc. This functionality is called "view" in computer programming.
# Almost all "view" widgets can change the displayed value by user interaction, for example, a text widget can edit its content, a spin button can increase/decrease its value by clicking over its up/down arrows, etc. This functionality is called "control" in computer programming.
# In such a frame of relations between GUI and application, each widget displaying a value can be considered as "connected" to a corresponding application variable.
# A single application variable can have more than one "view", in other words, it can be displayed by more than one widget. While a widget can be connected to only one variable. So, the elements belonging to a "connection" are one or more widgets and one application variable.
# But which criteria to use for connecting widgets with variables? Of course, the simplest possible: names matching. It works by giving the same matching name to all the elements of a "connection".

References

* [http://avc.inrim.it/ AVC web site]


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Model–view–controller — A general representation of the MVC design pattern. Model view controller concept. The solid line represents a direct as …   Wikipedia

  • Model-view-controller — (MVC) is an architectural pattern used in software engineering. Successful use of the pattern isolates business logic from user interface considerations, resulting in an application where it is easier to modify either the visual appearance of the …   Wikipedia

  • Model View Controller — Modèle Vue Contrôleur Pour les articles homonymes, voir MVC. Le schéma de cette figure résume les différentes interactions entre le modèle, la vue et le contrôleur. Les lignes pleines indiquent une ass …   Wikipédia en Français

  • Controller area network — Controller–area network (CAN or CAN bus) is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other within a vehicle without a host computer. CAN is a message based protocol, designed specifically for… …   Wikipedia

  • Model View ViewModel — The Model View ViewModel (MVVM) is an architectural pattern used in software engineering that originated from Microsoft as a specialization of the Presentation Model design pattern introduced by Martin Fowler.[1] Largely based on the Model view… …   Wikipedia

  • Oracle Application Framework — Contents 1 Introduction 1.1 Self Service Purpose 1.2 Architecture 1.3 Framework Structure 1.3.1 …   Wikipedia

  • Model–view–presenter — (MVP) is a derivative of the model–view–controller (MVC) software pattern, also used mostly for building user interfaces. In MVP the presenter assumes the functionality of the middle man (played by the controller in MVC). Additionally, the view… …   Wikipedia

  • Model View Presenter — is a software pattern considered as a derivative of the Model view controller. Pattern description The View is defined as an interface that the Presenter will use for getting and setting data to and from the Model. The View implementation will… …   Wikipedia

  • Web application framework — A web application framework is a software framework that is designed to support the development of dynamic websites, Web applications and Web services. The framework aims to alleviate the overhead associated with common activities used in Web… …   Wikipedia

  • Oracle Application Development Framework — Oracle Application Development Framework, generalmente llamado Oracle ADF, es un framework comercial de Java para la creación de aplicaciones empresariales. Es una herramienta del tipo RAD que se basa en patrones de diseño listos para usar.… …   Wikipedia Español

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”