Application MFC

Application MFC

Microsoft Foundation Class Library

Les Microsoft Foundation Class (MFC) sont une bibliothèque de classes en C++ encapsulant l'API Win32 (écrite en C) de Windows. Leur première apparition date de 1992.

Elle offre également un framework de développement de type Document/Vue inspirée du motif de conception modèle-Vue-Contrôleur (MVC).

Critiques

Ses détracteurs lui reprochent son manque d'abstraction de l'API Win32, ainsi que son manque d'encapsulation, tandis que ses aficionados apprécient la possibilité d'accéder à la plus grande partie des fonctionnalités de cette API.[réf. nécessaire] Les MFC ont atteint leur maturité avec la version 7.0 de Visual Studio. Microsoft n'a pas voulu arrêter le support des MFC malgré le passage de Win32/MFC vers .Net/CLR. Bien que .NET soit portable et facile d'accès, MFC reste plus abouti notamment pour Win32 kernel API, DirectX, STL, ATL, (pas ADO). Microsoft supporte la MFC par l'utilisation de wrapper.

Parmi les inconvénients de la MFC, on trouve :

  • documentation pléthorique, mais pas structurée ;
  • problème de gestion de l’unicode
  • internationalisation dans le code (au lieu d'être une simple option à indiquer)
  • emploi de templates figés qui créent souvent les vues (document - vue) ;
  • utilisation de boucle d'évènements (messages) et pas de callback /listener ;
  • surcouche orientée objet (pas objet) permettant d'accéder à l'API windows qui est en C
  • utilisation exclusive de Visual Studio ;

Voir aussi

Lien externe

Ce document provient de « Microsoft Foundation Class Library ».

Wikimedia Foundation. 2010.

Contenu soumis à la licence CC-BY-SA. Source : Article Application MFC de Wikipédia en français (auteurs)

Игры ⚽ Поможем сделать НИР

Regardez d'autres dictionnaires:

  • Application Development Facility — (ADF II) was a 4GL application package developed by IBM for use under IMS databases. It allowed a programmer to define a set of rules , which, when combined with a simple to use screen painter, could be used to generate an IMS DC application.The… …   Wikipedia

  • Application framework — In computer programming, an application framework is a software framework that is used to implement the standard structure of an application for a specific operating system. Application frameworks became popular with the rise of the graphical… …   Wikipedia

  • List of Microsoft Windows application programming interfaces and frameworks — The following is a list of Microsoft APIs and frameworks. Contents 1 APIs 1.1 Current 1.2 Deprecated 2 Frameworks 2.1 …   Wikipedia

  • List of rapid application development tools — Cross Platform Rapid Application Development Tools = * Boa constructor is a cross platform, wxPython based Python RAD IDE. * is a cross platform C/C++ RAD IDE using wxWidgets; the latest developmental builds have a built in form designer wxSmith …   Wikipedia

  • Internet Server Application Programming Interface — The Internet Server Application Programming Interface (ISAPI) is an N tier API of Internet Information Services (IIS), Microsoft s collection of Windows based web server services. The most prominent application of IIS and ISAPI is Microsoft s web …   Wikipedia

  • Netscape Plugin Application Programming Interface — (NPAPI) is a cross platform plugin architecture used by many web browsers.It was first developed for the Netscape family of browsers starting with Netscape Navigator 2.0 but has subsequently been implemented in other browsers including Mozilla… …   Wikipedia

  • MAGMA (Molecular Animation, Graphics and Modeling Application framework) — Infobox Software name = MAGMA caption = developer = Advanced Molecular Software latest release version = 0.0.6.0 latest release date = February 6, 2008 operating system = Microsoft Windows genre = Bioinformatics/Cheminformatics/Molecular… …   Wikipedia

  • Windows Application Programming Interface — Windows API (application programming interfaces) общее наименование целого набора базовых функций интерфейсов программирования приложений операционных систем семейств Windows и Windows NT корпорации «Майкрософт». Является самым прямым способом… …   Википедия

  • Messaging Application Programming Interface — (MAPI) is a messaging architecture and a Component Object Model based API for Microsoft Windows. MAPI allows client programmes to become (e mail) messaging enabled, aware, or based by calling MAPI subsystem routines that interface with certain… …   Wikipedia

  • Windows Application Programming Interface — Das Windows Application Programming Interface (kurz: WinAPI; Englisch für: Windows Anwendungs Programmierschnittstelle) ist eine Programmierschnittstelle und Laufzeitumgebung, welche Programmierern bereitsteht, um Anwendungsprogramme für… …   Deutsch Wikipedia

Share the article and excerpts

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