Home All Groups Group Topic Archive Search About

Plugin architecture questions

Author
12 Apr 2006 4:47 PM
Craig Buchanan
I am building an application to help researcher record the outcomes of their
studies.  These outcomes are document across a number of paper forms.  The
information documented on these forms varies widely.

My current approach is to use a Document class with a collection of Question
classes.  I create an instance of the Document, add a number of questions to
it, serialize the Document object to XML, then treat this XML file as a
'template'.  I've created a number of these 'template' files.  When I want
to use a specific template, I open the XML file, deserialize it, add data to
it, serialize it, then save the xml to a datasource associated w/ the study.

I started researching Plugsin and thought this architecture might provide a
more tight-bound solution.  Essentially, each template is a plugin.  The
sticking point is how to define and save a collection of Question classes
with the plugin.

I'd appreciate hearing others thoughts on these approaches.

Thanks,

Craig Buchanan

Author
12 Apr 2006 6:30 PM
Ken Halter
"Craig Buchanan" <some***@microsoft.com> wrote in message
news:OorGIDlXGHA.1084@TK2MSFTNGP04.phx.gbl...
>I am building an application to help researcher record the outcomes of
>their studies.  These outcomes are document across a number of paper forms.
>The information documented on these forms varies widely.

Since you crossposted to groups that don't share a common language, you'll
have to provide more info... for starters, what language will you be writing
your code in? If dotNet, the "public.vb" groups aren't appropriate. They're
for pre-dotNet versions of VB and are entirely different beasts.

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm