2 Replies - 1490 Views - Last Post: 05 August 2013 - 11:21 PM

#1 frankmau5   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 16
  • Joined: 20-January 13

how would you go about make a plugin

Posted 05 August 2013 - 09:33 AM

i want to learn how to make plugins but i am not to sure where to start. i know java and would like to find a book or a webpage that can help me understand what i need to do. i am not looking for someone to do it form me but i just want to read up about how to make a "core" app and what i would need to do to be able to add plugins to the app later and how to go about make a plugin. i have no code to show you because i just want to read up on how a plugin system would work. i am not to sure that if that all make sense but i hope so. so to sum up i am just looking for a book or a webpage to help me understand how plugins work. thanks

Is This A Good Question/Topic? 0
  • +

Replies To: how would you go about make a plugin

#2 modi123_1   User is offline

  • Suitor #2
  • member icon



Reputation: 16479
  • View blog
  • Posts: 65,313
  • Joined: 12-June 08

Re: how would you go about make a plugin

Posted 05 August 2013 - 09:37 AM

There not really books on making plugins. Loosely it is based on a decent understanding of OOP, predictable access points in and out of a class, and a way of having an application know it is supposed to load some compiled class/dll/library as a plugin.

Akin to shoehorning in "scripting" to a game.
Was This Post Helpful? 0
  • +
  • -

#3 Skydiver   User is offline

  • Code herder
  • member icon

Reputation: 7915
  • View blog
  • Posts: 26,425
  • Joined: 05-May 12

Re: how would you go about make a plugin

Posted 05 August 2013 - 11:21 PM

If you want to see how Microsoft is recommending how to do plugins now (after the abuse of IAddin interface in the past), you can read about MEF which has a well thought out (albeit over engineered) architecture:
http://msdn.microsof...y/dd460648.aspx
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1