plugin architecture - repost
- From: "Craig Buchanan" <someone@xxxxxxxxxxxxx>
- Date: Wed, 12 Apr 2006 14:36:52 -0500
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
.
- Prev by Date: Re: string value to new form instance?
- Next by Date: Re: How do I determine if a control has a specific property
- Previous by thread: string value to new form instance?
- Next by thread: Re: Datagrid Error
- Index(es):
Relevant Pages
|