rejetto forum

plugin

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
i'm thinking of a plugin system for HFS, based on XML + macros scripting.
this is still at a design stage.

You'll find all details in this wiki page.
http://www.rejetto.com/wiki/index.php/HFS:_plugins_design

i guess we may need something to handle extra files.
we should focus on real needs. it's not meant to be very comprehensive system at this stage. it should be initially quick and easy to make, but open for future extensions.
« Last Edit: February 03, 2010, 11:47:06 AM by rejetto »


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile

Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
Will this plugins be based on the same principle as packages  of smf?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
only slightly similar.
at the moment i don't think the plugin should make any change to the template text or the events file.
all the stuff should be applied by HFS on the fly, as for the "diff template".


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
i moved all details to a wiki page, so that it will be easier to trace changes.
http://www.rejetto.com/wiki/index.php/HFS:_plugins_design


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
It would be good if the treatment and the analysis of plugins made entirely from a file plugins.pas, this not to overload main.pas which is already laborious.  (On the same theme quite the treatment of the macros would have been able to be separated in a file macros.pas what would have allowed a simpler comparison between the main.pas of the 2.2f and 2.3 beta.)

I have just crossed the wiki on plugins, my question is the following one:

Have you some elements of comparison on internet which would allow us to encircle better than will be effectively the usage of a plugins (as comparison, the macro are similar in the php but under another shape.)
Will plugins be close to scripts IRC for example? ???

Nice this piece of news 'routes' that sets hfs, it promises new sleepless nights in perspective ....... especially for our friend silentpliz  ;D



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
> this not to overload main.pas which is already laborious. 

you are right, and a long time ago i already tried to move cbMacros() to a different file (just splitting, by using directive $I) and found some features of the delphi IDE not working in the splitted file.
i don't know why i didn't think of just making a unit/lib. maybe i was drunk at the time.
from #254 you'll get it in a different file. thank you for making it come to mind.

> Have you some elements of comparison on internet which would allow us to encircle better than will be effectively the usage of a plugins

i didn't understand

> Will plugins be close to scripts IRC for example? ???

i never saw (m)irc scripts