|
I'm not so much concerned with its merits. I just like hearing people say it so I can crack immature jokes. It's the little things in life.
Jeremy Falcon
|
|
|
|
|
Using MAF leads to psychosis. The people who came up with it likely were very antisocial and wanted to inflict pain on all developers.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Well sure, since MS employees rarely get any time off, how else you think they get to have fun?
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: so I can crack immature jokes I see what you did there.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
|
He is a real hero in my eyes.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Where do you get the MAF initialism from? Neither of the articles you linked uses it.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
The fact that it uses a multi-step pipeline requiring numerous assemblies to do even simple tasks.
The fact that everything has to be marshaled between appdomains.
The fact that it internally uses the .NET remoting system.
The fact that so few people want to work with it.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
I sense a bunch of tirades forthcoming.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Never used MEF, and when I look at it, I run. Seems so overly complicated for something that needs to load and initialize a DLL at runtime.
Maybe I'm missing something?
Marc
|
|
|
|
|
Marc Clifton wrote: Maybe I'm missing something? Maybe...
I found MEF very easy to utilize...
Extensible Web Application[^]
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: I found MEF very easy to utilize...
Same here. I also have used Prism and Unity application block stuff too, in the past. After you breach the learning curve barrier, it is actually pretty cool stuff, and I see why some apps uses it.
|
|
|
|
|
|
MAF is different from MEF in a couple of interesting ways. I need it because I need to be able to a) isolate the add-in module so if/when it crashes, it doesn't bring down the host app or other add-ins, and b) I need to be able to dynamically load/unload new/updated add-ins without shutting the host app down.
You can't really do either of those things with MEF (and that's why MEF is easier to use than MAF) - from what I gather.
The downside is that if you want to communicate with a MAF module from the host app, you have to implement some sort of messaging mechanism, like WCF, which adds even more complexity...
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
John Simmons / outlaw programmer wrote: You can't really do either of those things with MEF Let me not to agree - see my tip about hosting WCF in Windows service...It is isolated and nothing easier than add a helper to reload WCF services while the Windows service running...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
|
Where did you see me, mentioning GUI! WCF in Windows Service...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
At not enough caffeine in the morning the letters C and P look identical.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
I had the same requirements for my app. It's basically a job manager where each plugin does a specific maintenance task. It runs nearly constantly but does support "hot swapping" plug-in .DLL's if they are running with Shadow Copy support.
I initially looked at MAF and pretty much spit my drink all over the monitor while looking at the documentation.
I then went and found The Simple Plugins Framework[^] out on SourceForge (yeah, I know...) and found it did just about everything I needed out of the box, including ShadowCopy support and automatic AppDomain load and unload.
The code hasn't been updated in about 5 years now but it worked brilliantly. I had to tweak it a little bit to get everything I needed but that was simple to do.
And I'm even using log4net between the plugins and the job manager. It required coming up with a custom appender that supported marshalling log events between AppDomains but that was pretty easy to find.
|
|
|
|
|
Dave Kreskowiak wrote: I then went and found The Simple Plugins Framework[^] out on SourceForge (yeah, I know...) and found it did just about everything I needed out of the box, including ShadowCopy support and automatic AppDomain load and unload.
Thanks for that. That looks much easier to use than MAF.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Dave Kreskowiak wrote: The Simple Plugins Framework[^] Me like!
Thanks!
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
I like it.
I may do a fork of it on Github when my computer gets back (likely within the first two weeks of next month).
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
So I got home and downloaded the DLL (I should have GOTTEN the source as well).
When I got to work, sourceforge is blocked (as is github). I can't find any examples anywhere of anyone that's using this. :/
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I ALWAYS get the for source for anything I use like this. I even picked up the source for Irony when I used that too.
Anyway, the only thing I used to get this running was this[^].
I'm on vacation as of today and all my code using this project is at work.
|
|
|
|
|
Well, like I said, sourceforge is blocked here at work. It would really help if the simpleplugins code implemented intellisense comments... It ain't that hard to do, and there are very few public components.
In any case, I have to wait until I get home to get the source and get a copy of the html page that shows how to use the library.
Do you know of any other web resources other than sourceforge?
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|