Hi all,

 

I have a little web site here that I�m redeveloping. It is for high school kids to do sample multiple-choice tests online. Last year I did a html version (http://www4.boardofstudies.nsw.edu.au/online_mcq) and it had huge usage. On one day before the School Certificate started I had 22,000 tests with nearly a half million questions completed in one day.

 

So this year, Mark Lynch and I have done a new version using Flash. With me doing most of the CF and Mark doing the flash stuff. It�s still very much a beta version but here it is: http://www4.boardofstudies.nsw.edu.au/online-mcq-dev/.  

 

At the moment it�s all black and white, there�s CFDUMPs everywhere etc but most of the functionality works. In terms of functionality, what�s left to do is:

  • On the homepage, there will be a flash movie showing the users previous tests, allowing them to sort and filter.
  • On the results page, when you click a question you will see the question, a cfchart of the actual HSC data for kids who did that question and a summary of users who attempted it online.

Now I was thinking of putting this in farcry as part of a larger Board of Studies farcry site that I�m building. I have outlined below roughly how I would do this, and wondered if there are any blatant holes in my plan.

 

There are only a few pages that the user sees:

index.cfm � Home page with list of links to the subjects, and flash movie of previous tests (with link to results pages), along with some html (introduction etc).

 

specTest.cfm � Page where the user specifies how many questions etc. This also actually prepares the exam for them.

 

bostest.cfm � Page containing the actual flash test

 

testResults.cfm � Page containing the test results, with a self submitting form that will show you the question summary (not completed yet).

 

Home Page:

Use a normal dmHTML page with a display method using cfmodule or cfinclude to include the table (will be list) of subjects. This will use the buildlink tag to create the links based on navalias of the courses (see below).

 

Use another cfinclude to include the swf that will show the previous user tests.

 

The url would be something like: /go/mcq/

 

Configure Test in a subject:

I was going to create a navigation node for each subject each containing an include in farcry. These would be arranged by exam so the structure would be something like:

 

-High School Certificate

--Mathematics

--English

-School Certificate

--Mathematics

--English

 

And then the url would be /go/mcq/hsc/Mathematics

 

The navalias for each subject would be say subject_12345 where 12345 is the subject id. This means the my include on the home page could loop thru the subjects and do a buildlink based on �subject_� & subject_id.

 

This is a form that submits to itself, so that should be ok using a farcry include.

 

The redirect when this is completed is not done yet because CFCOOKIE may be used on this page, and if it is that messes up using a CFLOCATION. I was thinking of using getPageContext().forward(url) to send the user to the test page�..

 

Test Page:

I was just going to leave this page as is in the root folder, and the Application.cfm and OnRequestEnd.cfm will log the time spent etc (we already do this but no harm!). So this would be out of farcry really.

 

Test Results Page:

Was going to do this as an include in a navnode off the multiple-choice homepage. So the url for a particular test would be something like: /go/mcq/test-results?testid=123&testuuid=some_uuid

 

Then, of course, I will put all the admin stuff in a custom tab in the farcry admin.

 

Is this the right way to be going about it, or should I be using custom types or something else?

 

I am expecting up to a few hundred thousand page views in this part of the site per day around the time of the real HSC exams in October/ November. This is based on 20,000 tests or more by 5 or ten page views per test. If I have my navigation etc cached properly do you think farcry would be ok for this task?

 

I would appreciate any help or advise anyone could offer.

 

Regards

 

Gavin

 
---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to