I am writing a web application that can automatically generate a word document. 
Users can select the grouping criteria and the generated document will show 
appropriate content according to what criteria is selected. More specifically, 
users can choose the name of the academic program and print batch admission 
letters for all the admitted students in that program. My plan is to put the 
main logics and conditions in the CFC and major document content in an INI 
file. There are a few questions, though:
1) Should the xml code of the word document go into the cfc and let the cfm 
pull the xml object? Dealing with xml is extremely tricky in this case because 
any change may cause errors in the word document. What is the best way to make 
the xml reusable?
2) Most paragraphs in the letter have a mix of general (static) content and 
data from the database, so I have to break the content down into many 
fragments. That makes the ini file looks extremely complicated and long (has 
too many sections and keynames). Would it will be better to create separate ini 
file for each section?
3) Many places in the letter have a specific date, for example the application 
deadline and academic term, which would change as the academic year changes. 
Would it be better to define new keynames that hold only the dates?
Ultimately it should allow users to edit the content and auto update the 
letter. What would a good practice for this application? Thanks a lot

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208954
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to