DownmarkerWPF icon indicating copy to clipboard operation
DownmarkerWPF copied to clipboard

Removing Plugins

Open distantcam opened this issue 12 years ago • 4 comments
trafficstars

Does anyone have objections if I remove the plugins?

I'll fold the only plugin we have into the main code.

I don't like plugins because:

  • The plugin API has to be versioned. This is a pain, especially if you want to support backwards compatibility.
  • Plugins are either run in the same app-domain, or in their own app-domain so as to not cause the whole app to crash. In either case handling a crashing plugin needs work.
  • When a plugin crashes, the main app gets blamed.
  • How are plugins installed? If we're using clickonce how would that work?

Thoughs? @JakeGinnivan @shiftkey

distantcam avatar Jul 20 '13 15:07 distantcam

Yeah, happy to drop them. I still like separation of concerns etc, so we can still have IEnumerable<IRenderTransformer> etc, but not as a plugin model

JakeGinnivan avatar Jul 20 '13 15:07 JakeGinnivan

I still like separation of concerns etc, so we can still have IEnumerable<IRenderTransformer> etc, but not as a plugin model

Why? Separation of concerns is nice and all, but why add it to the render transforms? How do you handle order and dependencies?

Again, KISS and avoid unnecessary complexity.

distantcam avatar Jul 21 '13 04:07 distantcam

Doesn't have to be that abstraction.

I'm just saying it was a bitch pulling the DocumentViewModel apart because it had the entire applications logic in it. Happy for them to be moved into application services or something

JakeGinnivan avatar Jul 21 '13 06:07 JakeGinnivan

I'll fold the only plugin we have into the main code.

:+1:

If it's unused code or abstractions, let's kill it off.

I'm just saying it was a bitch pulling the DocumentViewModel apart because it had the entire applications logic in it. Happy for them to be moved into application services or something

Is this worth a separate discussion?

shiftkey avatar Jul 22 '13 15:07 shiftkey