design - Architecture Options - forms and a cms-like pdf producing system -
customer has asked system involves set of pdf forms, web ui , various functions (log-in, administration, permissions, usual) , there's few rubs i've identified , feedback or maybe different ideas on how go it. main focus data contained within these forms. (don't think winforms, think forms fill out , file)
first off, pdf forms uncontrollable in sense can. not. be. modified. wrote tool while (pdf-orm on codeplex) take pdf forms (the fill-out kind) , turn them objects they're easier work in code , return pdf. part handled rather nicely. problem begins come out of data contained within forms , how best handle that. granted, of field names horrible (person1 instance) @ least they're manageable.
these forms -will- change , must changed in reasonable time frame (ideally few days) maintainability/flexibility huge focus. granted, not forms change @ same time necessarily, on course of few months few years, change. more concerning, names/fields of generated pdf can change -- no control on them (so can't use field-name-generated class truth, there has translator of kind).
my first pass @ this, came "definition" classes heart, 1 per form interface (and use interface viewmodel ... comes later). these classes define data contained within form. translator convert definition class pdf class (handling changes on forms incase goofy person1 becomes personone). validation contained within -- of testable.
i presented different idea, 1 focuses strictly on data itself. data saved (xml format) pass though xslt or 2 render ui. ui created admin tool (no developers) wiring of pdf fields , ui fields done, along validation. i'm not real familiar how work, if can work @ all, i've been exploring past few days minimal success. we've yet answer -how- on lot of approach.
i'm interested hear other thoughts, opinions, directions.
do these forms absolutely have in pdf in browser or infopath option? e.g. setup http://www.bizsupportonline.net/browserforms/print-infopath-browser-form-pdf.htm
Comments
Post a Comment