CSHARP make plugin (addin) program C # compile plug-in-based programs

Source: Internet
Author: User

In order to make the software more reusable and scalable, the idea of plug-in (plug-in) is put forward, and some excellent foreign programs are written based on this. IE, Firefox, Eclipse, etc... I will not talk much about the specific theoretical knowledge. I have extracted two paragraphs from the Internet .....

 

In computing,Plug-in
(Also:Plugin
,Addin
,Add-in
,Addon
,Add-on
,Snap-in
OrSnapin
; But see alsoExtension
) Consists of a computer program that interacts with a Host application (a Web browser or an email client
, For example) to provide a certain, usually very specific, function "on demand". Often,Add-on
Is considered the general term comprising plugins, extensions, and themes as subcategories[Citation needed
]
.

Applications Support plugins for collections reasons. Some of the main reasons include:

  • To enable third-party developers
    To create capabilities to extend an application
  • To support features yet unforeseen
  • To reduce the size of an application
  • To separate source code from an application because of incompatible software licenses.

Examples of applications and their plug-ins include:

  • Microsoft Office uses plug-ins (better known as add-ins) to extend the capabilities of its application by adding commandm commands and specialized features
  • Rockbox, a firmware for digital audio players, can use plug-ins, for example: play games, use the text editor
  • Email clients
    Use plug-ins to decrypt and encrypt email (Pretty Good Privacy) or to send oversized email attachments (Globalscape Mail Express
    )
  • Graphics software use plug-ins to support file formats and process images (Adobe Photoshop)
  • Media players
    Use plug-ins to support file formats and apply filters (foobar2000, GStreamer, Quintessential
    , VST, Winamp, XMMS)
  • Packet sniffers
    Use plug-ins to decode packet formats (OmniPeek)
  • Remote sensing applications use plug-ins to process data from different sensor types (Opticks
    )
  • Software development environments use plug-ins to support programming languages
    (Eclipse
    , JEdit, MonoDevelop)
  • Web browsers use plug-ins to play video and presentation formats (Flash, QuickTime, Microsoft Silverlight, 3 DMLW)
  • Some digital mixing protocols les allow plug-ins to extend features such as reverberation effects, equalization and compression.
  • Some Web content management systems use plug-ins to increase functionality.

Basic Principles:

The Host application provides services which the plug-in can use,
Including a way for plug-ins to register themselves with the host
Application and a protocol
For the exchange of data with plug-ins. Plug-ins depend on the services
Provided by the Host application and do not usually work by themselves.
Conversely, the host application operates independently of
Plug-ins, making it possible for end-users to add and update plug-ins
Dynamically without needing to make changes to the Host application.

Open application programming interfaces
(APIS) provide a standard interface, allowing third parties to create
Plug-ins that interact with the Host application. A stable API allows
Third-party plug-ins to continue to function as the original version
Changes and to extend the life-cycle of obsolete applications. The Adobe Photoshop and After Effects plug-in APIs have become a standard[Citation needed
]
And competing applications such as Corel Paint Shop Pro have adopted them to some extent. Other examples of such APIs include Audio Units and VST.

Games and productivity applications often use plug-in ubuntures
Which allow original and third-party publishers to add functionality.

The Microsoft Flight Simulator series has become well-known for its aircraft add-ons.

Outside software, a network switch may ship with an unoccupied but non-standard port to accommodate various optional physical-layer connectors.

Outside software again, manufacturers can use plug-ins to create vendor lock-in by limiting upgrade options solely to those available from or endorsed by the original manufacturer. IBM's Micro Channel Architecture
, Technically superior to Industry Standard Architecture
As a way to add components to IBM PCs, largely failed to gain wide
Support due to the difficulty in getting certification for third-party
Devices.

 

Above the original connection address: http://en.wikipedia.org/wiki/Plug-in_%28computing%29#Plug-ins_and_extensions

Csdn has an introduction to the implementation of the plug-in bolog: http://blog.csdn.net/stella_tangxing/archive/2005/04/28/366850.aspx

 

In my resources, there is a simple program I wrote with CSharp, explaining the specific implementation of the plug-in ..... or mail me to you... please kindly advise .....

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.