Any web programming guru's out there....
Any web programming guru's out there....
Author
Discussion

tpivette

Original Poster:

348 posts

241 months

Thursday 22nd November 2007
quotequote all
Can anyone help?

What would be the best development tool/language/app for someone who wanted to create a web based internet quiz?

The scenario is....
a large number of users (lets just say 2000) are all logged in and are sat ready to receive and answer question1

They will key in/enter the answer to this question on the website and the time they do this is recorded. Only the first half of all contestants who correctly answered question1 are given question2.

it obviously follows on that.....
2000 users get question 1
1000 users first past post who got 1 correct get question 2
500 users first past post who got 2 correct get question 3
250 users first past post who got 3 correct get question 4
125 users first past post who got 4 correct get question 5
62 users first past post who got 5 correct get question 6
31 users first past post who got 6 correct get question 7
16 users first past post who got 7 correct get question 8
8 users first past post who got 8 correct get question 9
4 users first past post who got 9 correct get question 10
2 users first past post who got 10 correct get question 11
we have a winner.

The questions leading up the chain would be released only after the half is reached, so it may be 10secs or 10minutes.
All entries are recorded so the user can see how they performed compared to the rest of the entrants.
A money/Paypal link for a prize entry/fund would be good as well.


Don

28,378 posts

316 months

Thursday 22nd November 2007
quotequote all
Do you mind paying for the tool or do you need it to be free?

Personally I'd do that in ASP.NET and SQLExpress using Microsoft Visual Studio's Visual Web Developer.

Others might suggest PHP and MySQL. Which would be "free".

tpivette

Original Poster:

348 posts

241 months

Thursday 22nd November 2007
quotequote all
i wont be actually doing it. just submitting how i would go about approaching it.

Alex

9,978 posts

316 months

Thursday 22nd November 2007
quotequote all
ASP.NET with XML-based data.

You can get Visual Web Developer 2008 Express Edition for free:

http://www.microsoft.com/express/vwd/



SlidingSideways

1,345 posts

264 months

Thursday 22nd November 2007
quotequote all
It might be easier to code this as a Java Applet or ActiveX object which talks to your "Quiz Server" directly.

The big problem you face is sending updates to all clients automatically when the next question becomes available.
You could use an AJAX type auto-refresh function on a web page to keep checking for the next question, but it means that some players may have a couple of second advantage as they recieve the next question earlier than others.

School/Colledge/Uni assignment by any chance?

You may want to focus more on what architecture you'd use, rather than asking for specific programming languages as I suspect that is more what they're after.

Globulator

13,847 posts

263 months

Thursday 22nd November 2007
quotequote all
Don said:
Others might suggest PHP and MySQL. Which would be "free".
It isn't "free", it's FREE.

www.mysql.com/
http://www.php.net/

I am an 'Other'...

zaktoo

805 posts

239 months

Thursday 22nd November 2007
quotequote all
Globulator said:
Don said:
Others might suggest PHP and MySQL. Which would be "free".
It isn't "free", it's FREE.

www.mysql.com/
http://www.php.net/

I am an 'Other'...
Exactly what I wanted to reply smile

grumbledoak

32,571 posts

265 months

Thursday 22nd November 2007
quotequote all
SlidingSideways said:
It might be easier to code this as a Java Applet or ActiveX object which talks to your "Quiz Server" directly.
I would avoid those two technologies, myself, as they require client-side support that may not be present/enabled (or considered elegant). For a simple enough concept you should be able to find something more standard.

As this sounds like some sort of assignment, I'm stopping short of a positive suggestion, mind...

Don

28,378 posts

316 months

Thursday 22nd November 2007
quotequote all
zaktoo said:
Globulator said:
Don said:
Others might suggest PHP and MySQL. Which would be "free".
It isn't "free", it's FREE.

www.mysql.com/
http://www.php.net/

I am an 'Other'...
Exactly what I wanted to reply smile
My only point was whilst the tools may be FREE hehe the development work to build the quiz application would not. Nowt wrong with PHP and MySQL. If I was starting again today I might have built our firm's app in it rather than ASP/SQLServer.

cottonfoo

6,053 posts

242 months

Thursday 22nd November 2007
quotequote all
A simple CGI script could do all that. The problem will be handling 2000 clients quickly and efficiently, simultaneously.

tpivette

Original Poster:

348 posts

241 months

Friday 23rd November 2007
quotequote all
Thanks for those replies, much appreciated.
I am perusing some sites for additional info on those packages.

cheers

Pistonheaders know everything!

gopher

5,160 posts

291 months

Friday 23rd November 2007
quotequote all
Don said:
Do you mind paying for the tool or do you need it to be free?

Personally I'd do that in ASP.NET and SQLExpress using Microsoft Visual Studio's Visual Web Developer.

Others might suggest PHP and MySQL. Which would be "free".
All of the .net framework is "free" (ie there is nothing to buy if you want to write , compile and distribute .net based apps, web sites, web services, windows services etc etc), although they are not FREE, SQLExpress is also "free" and MS also do a version of Visual Studio for the various packages that is also "free".

The choice these days is largely down to what you want to code in and where\how you want to host it.

It's also worth mentioning that you can use asp.net with mysql, oracle, access (no don't!) etc etc and using Mono (which is now fairly advanced) you can write .net to run on open source OS servers.

dern

14,055 posts

311 months

Saturday 24th November 2007
quotequote all
You could do this with any server side solution to tie all the users together. I'd do it using Struts but that's because that's what I do. Your best bet is to find the right person to do the job and then let them use what they want to. However, my guess would be that someone who could knock this up for you in php/mysql would be cheaper to employ that someone who would do it in asp.net or java.

The main technical challenge would be developing an efficient server side solution that could handle that number of simultaneous requests without screwing up the data.

Edited by dern on Saturday 24th November 22:08

beakr

1,405 posts

243 months

Monday 26th November 2007
quotequote all
If it's just theoretical, go for Coldfusion - got to be the easiest way to do it....