Re: Online Test
Database is best because it gives you much more flexibility and allows you to reuse the code. The percentage is the number of right answers divided by the number of questions time one hundred. correct/total*100 On Thu, Mar 3, 2011 at 3:50 PM, John Eubanks jae...@hotmail.com wrote: I am building an online test (actually, several of them) and need some help. Would it be easier to build a db with the questions, answers, etc. or just set them manually using cfset? If using the second method, how would you display a percentage showing the grade for the test? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342736 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Online Test
I would think the DB approach would be easier to maintain and scalable... -Original Message- From: John Eubanks [mailto:jae...@hotmail.com] Sent: Thursday, March 03, 2011 12:51 PM To: cf-talk Subject: Online Test I am building an online test (actually, several of them) and need some help. Would it be easier to build a db with the questions, answers, etc. or just set them manually using cfset? If using the second method, how would you display a percentage showing the grade for the test? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342737 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Online Test
Given that you plan to build several, it would be easiest to make one generic codebase that can query the Database for all questions belonging to a certain test. Then your one codebase can server as all tests =] On Thu, Mar 3, 2011 at 2:00 PM, Jacob ja...@excaliburfilms.com wrote: I would think the DB approach would be easier to maintain and scalable... -Original Message- From: John Eubanks [mailto:jae...@hotmail.com] Sent: Thursday, March 03, 2011 12:51 PM To: cf-talk Subject: Online Test I am building an online test (actually, several of them) and need some help. Would it be easier to build a db with the questions, answers, etc. or just set them manually using cfset? If using the second method, how would you display a percentage showing the grade for the test? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342738 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm