Recent

Author Topic: P.I.S.S. a PlugIn-framework / Service-locator Solution  (Read 2023 times)

cdbc

  • Hero Member
  • *****
  • Posts: 2818
    • http://www.cdbc.dk
Re: P.I.S.S. a PlugIn-framework / Service-locator Solution
« Reply #30 on: June 09, 2026, 08:07:36 am »
Hi
Right, got my hedge trimmed around the house and several other chores out of the way... Pheeeww  ;D
I've been preparing a small tool to view the 'log-files' generated by P.I.S.S. in color no less  8) and put it in THIS repo on Gitlab, you can have a look at the "Before" project (fpg-logviewer-no-piss), which is now functional. 8-)
I guess I'll then get on with an article describing the "Retro-fitting-an-existing-app" with the piss-framework & plugins...  :D
Stay tuned...
Regards Benny

ETA: Ohh, forgot to say, it compiles with FPC & Lazarus release-versions  ;)
...At a later date, I'll prolly do a LCL-version with "Pixie" as the viewing component, I just have to familiarize myself with 'Pixie' first  :D
« Last Edit: June 09, 2026, 09:45:06 am by cdbc »
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

cdbc

  • Hero Member
  • *****
  • Posts: 2818
    • http://www.cdbc.dk
Re: P.I.S.S. a PlugIn-framework / Service-locator Solution
« Reply #31 on: June 09, 2026, 11:27:35 am »
Hi
In the meantime you could check out the new feature in P.I.S.S. 'per app svc' tailoring -- made easier, it concerns 2 added lines in 'pluginconsts.inc' & 'plugintypes.inc', which if you define '-dappsvc' in Lazarus' custom options will defer the service-lookups to the app repo... 8)
I've implemented this new feature in THIS fpGUI project. Look in the 'utils' subdirectory... 8-)
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

cdbc

  • Hero Member
  • *****
  • Posts: 2818
    • http://www.cdbc.dk
Re: P.I.S.S. a PlugIn-framework / Service-locator Solution
« Reply #32 on: June 11, 2026, 11:35:42 am »
Helllooooo \ö/
Right, so I've finished the retro-fitting of P.I.S.S. onto THIS "Demo-project", namely the contents of directory 'fpg-logviewer-with-piss'...
I haven't written the article yet, but you should have a 'LookSee' for yourselves, to see if it's even necessary with an article for this  %)
As always, got questions, just ask them here  ;D Otherwise have fun out there 8-)
Regards Benny

edit: Added a screenshot...
« Last Edit: June 11, 2026, 07:52:38 pm by cdbc »
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

 

TinyPortal © 2005-2018