Re: [PHP] php quiz script/tutorial

2010-04-27 Thread tedd

At 4:12 PM +0100 4/26/10, Paul Jinks wrote:

I'm considering my options for making quizzes mostly multiple choice
type of thing, but also 'filling in the gaps'. This is in support of
educational materials I'm working on. So far I've looked at Flash and
javascript but have concerns about accessibility for both of these.

Does anyone have any experience of writing quizzes with php and if so,
can you recommend any resources to get me started?

TIA

Paul


Paul:

I have written surveys/quizzes, but have not found a lot of resources for it.

I use javascript usually to handle minor user things, such as Please 
answer the question before moving on or Rank these items in order 
of importance, or other such immediate demands of the user, but 
still the user input not to be trusted. IOW, you still have to scrub 
everything.


While I could use Flash, I choose not for it would simply make my 
work-load harder.


Quizzes and such are just a long cascade of forms.

I usually use one form and populate it with questions (content and 
type) from a database. Then when the user submits their data, I then 
save the answer as a independent record with ties to the test, 
question and responder. The database design takes some thought to 
set up correctly.


In the end, there is not really anything that hard about this, it's 
just collecting information from the user via a form and storing that 
information in a database.


Cheers,

tedd



--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php quiz script/tutorial

2010-04-27 Thread Dotan Cohen
On 26 April 2010 18:12, Paul Jinks p...@pauljinks.co.uk wrote:
 I'm considering my options for making quizzes mostly multiple choice
 type of thing, but also 'filling in the gaps'. This is in support of
 educational materials I'm working on. So far I've looked at Flash and
 javascript but have concerns about accessibility for both of these.

 Does anyone have any experience of writing quizzes with php and if so,
 can you recommend any resources to get me started?

 TIA

 Paul

HTML has a form element with radio buttons, text fields, and more. Use that.


-- 
Dotan Cohen

http://bido.com
http://what-is-what.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php quiz script/tutorial

2010-04-27 Thread Adam Richardson
On Tue, Apr 27, 2010 at 12:55 PM, tedd tedd.sperl...@gmail.com wrote:

 At 4:12 PM +0100 4/26/10, Paul Jinks wrote:

 I'm considering my options for making quizzes mostly multiple choice
 type of thing, but also 'filling in the gaps'. This is in support of
 educational materials I'm working on. So far I've looked at Flash and
 javascript but have concerns about accessibility for both of these.

 Does anyone have any experience of writing quizzes with php and if so,
 can you recommend any resources to get me started?

 TIA

 Paul


 Paul:

 I have written surveys/quizzes, but have not found a lot of resources for
 it.

 I use javascript usually to handle minor user things, such as Please
 answer the question before moving on or Rank these items in order of
 importance, or other such immediate demands of the user, but still the user
 input not to be trusted. IOW, you still have to scrub everything.

 While I could use Flash, I choose not for it would simply make my work-load
 harder.

 Quizzes and such are just a long cascade of forms.

 I usually use one form and populate it with questions (content and type)
 from a database. Then when the user submits their data, I then save the
 answer as a independent record with ties to the test, question and
 responder. The database design takes some thought to set up correctly.

 In the end, there is not really anything that hard about this, it's just
 collecting information from the user via a form and storing that information
 in a database.

 Cheers,

 tedd



 --
 ---
 http://sperling.com  http://ancientstones.com  http://earthstones.com


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


If you were going to use Flash, I'd go the Flex route as it makes short work
of this kind of view.

Ted already mentioned the DB route using PHP, but you could also use PHP to
set up an XML schema that represents quizes (e.g., quizquestion
id=1textWill this work?/textoptionsoptionYes this
will./optionoptionNo it won't./option/options/questionemail
respon...@msu.edu/email/quiz)  With this type of scheme (one in which
the html form is automatically built up from an XML document), you could
just have the results emailed to an account as individual TSV file
attachments (that's why I included the email tag in the example above),
making it easy for anyone to tally the results after dragging the documents
into Excel.

Last, you can also leverage existing technologies.  In addition to quiz
generators available online, Google Docs allows you to create forms that
store responses in spreadsheets (Create New - Form).  You can choose from a
variety of response types (text, multiple choice, etc.), and it works quite
well.

Just tossing out ideas ;)

Adam

-- 
Nephtali:  PHP web framework that functions beautifully
http://nephtaliproject.com


Re: [PHP] PHP Quiz

2009-03-18 Thread Ashley Sheridan
On Wed, 2009-03-18 at 10:57 +0530, satya narayan wrote:
 Hello Friends,
 
 I have started a FREE site for quizzes for PHP.
 
 I need your kind help, if possible please visit the site and take some
 quizzes, and then let me know your feedback. Should I add any thing
 else in that site?
 
 
 link: http://www.testmyphp.com
 
 
 Thanks in advance.
 
 
 -- 
 Satya
 Bangalore.
 
Maybe get rid of the required login to do anything :p


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Quiz

2009-03-18 Thread satya narayan
Hi ash,
Thanks for your feedback first.
Actually registration helps admin to track an user . Additionally if
you are registered you can see your previous results for different
Quizzes. That's what I thought It is good to have registration
restriction. I think its a small cost to pay for an User if all the
Quizzes are being provided Free.

If majority will say to remove the registration process I can do so.

--
Thanks and Regards.
Satya


On 3/18/09, Ashley Sheridan a...@ashleysheridan.co.uk wrote:
 On Wed, 2009-03-18 at 10:57 +0530, satya narayan wrote:
 Hello Friends,

 I have started a FREE site for quizzes for PHP.

 I need your kind help, if possible please visit the site and take some
 quizzes, and then let me know your feedback. Should I add any thing
 else in that site?


 link: http://www.testmyphp.com


 Thanks in advance.


 --
 Satya
 Bangalore.

 Maybe get rid of the required login to do anything :p


 Ash
 www.ashleysheridan.co.uk



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Quiz

2009-03-18 Thread Stuart
2009/3/18 satya narayan astra.sat...@gmail.com:
 Hi ash,
 Thanks for your feedback first.
 Actually registration helps admin to track an user . Additionally if
 you are registered you can see your previous results for different
 Quizzes. That's what I thought It is good to have registration
 restriction. I think its a small cost to pay for an User if all the
 Quizzes are being provided Free.

 If majority will say to remove the registration process I can do so.

You'll get more people doing the quizzes if they don't have to
register, but offer them the option at the end of the quiz explaining
what the benefits are for the user, don't bother with the benefits for
you.

I'd also recommend implementing a way for anonymous users to comment
on the quizzes, either publicly and/or privately.

-Stuart

-- 
http://stut.net/

 On 3/18/09, Ashley Sheridan a...@ashleysheridan.co.uk wrote:
 On Wed, 2009-03-18 at 10:57 +0530, satya narayan wrote:
 Hello Friends,

 I have started a FREE site for quizzes for PHP.

 I need your kind help, if possible please visit the site and take some
 quizzes, and then let me know your feedback. Should I add any thing
 else in that site?


 link: http://www.testmyphp.com


 Thanks in advance.


 --
 Satya
 Bangalore.

 Maybe get rid of the required login to do anything :p


 Ash
 www.ashleysheridan.co.uk



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Quiz

2009-03-18 Thread Dotan Cohen
Actually, I like the site. The pages take a long time to load, it
seems like server load. You might want to move your images to Amazon
S3 or something similar.

There are many spelling errors. Go through the quizes.

I like the way the quizzes are broken up into sets. Add more sets on a
regular basis and create an RSS feed of the new sets.


Which function can we use to creates a new XML parser?
xml_parsercreate()
xml_parser_create()
xmlparser_create()
xmlparsercreate()
The fact that this question must be asked is a bug in PHP, in my
opinion. Oh, and I got it wrong! The grammar is one of PHP's weak
points.

Whoever designed the HTML did a terrific job. The site displays
perfectly when increasing text font size. Give him a compliment.

Alright, I signed up!

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


Re: [PHP] PHP Quiz

2009-03-18 Thread satya narayan
Thank you very Much Dotan Cohen for visiting the Site.

I will look into the spelling errors problem



On 3/18/09, Dotan Cohen dotanco...@gmail.com wrote:
 Actually, I like the site. The pages take a long time to load, it
 seems like server load. You might want to move your images to Amazon
 S3 or something similar.

 There are many spelling errors. Go through the quizes.

 I like the way the quizzes are broken up into sets. Add more sets on a
 regular basis and create an RSS feed of the new sets.


 Which function can we use to creates a new XML parser?
 xml_parsercreate()
 xml_parser_create()
 xmlparser_create()
 xmlparsercreate()
 The fact that this question must be asked is a bug in PHP, in my
 opinion. Oh, and I got it wrong! The grammar is one of PHP's weak
 points.

 Whoever designed the HTML did a terrific job. The site displays
 perfectly when increasing text font size. Give him a compliment.

 Alright, I signed up!

 --
 Dotan Cohen

 http://what-is-what.com
 http://gibberish.co.il

 א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
 ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
 А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
 а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
 ä-ö-ü-ß-Ä-Ö-Ü



-- 
Satya
Bangalore.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Quiz

2009-03-18 Thread Dotan Cohen
 I need your kind help, if possible please visit the site and take some
 quizzes, and then let me know your feedback. Should I add any thing
 else in that site?


Regarding this question:
Which one is good to use, to send the output?
1) The question is not well worded
2) The answer is a matter of opinion.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


Re: [PHP] PHP Quiz

2009-03-18 Thread satya narayan
Thank you Stuart, I got your point I am going to Open all the quizzes for all.

On 3/18/09, Stuart stut...@gmail.com wrote:
 2009/3/18 satya narayan astra.sat...@gmail.com:
 Hi ash,
 Thanks for your feedback first.
 Actually registration helps admin to track an user . Additionally if
 you are registered you can see your previous results for different
 Quizzes. That's what I thought It is good to have registration
 restriction. I think its a small cost to pay for an User if all the
 Quizzes are being provided Free.

 If majority will say to remove the registration process I can do so.

 You'll get more people doing the quizzes if they don't have to
 register, but offer them the option at the end of the quiz explaining
 what the benefits are for the user, don't bother with the benefits for
 you.

 I'd also recommend implementing a way for anonymous users to comment
 on the quizzes, either publicly and/or privately.

 -Stuart

 --
 http://stut.net/

 On 3/18/09, Ashley Sheridan a...@ashleysheridan.co.uk wrote:
 On Wed, 2009-03-18 at 10:57 +0530, satya narayan wrote:
 Hello Friends,

 I have started a FREE site for quizzes for PHP.

 I need your kind help, if possible please visit the site and take some
 quizzes, and then let me know your feedback. Should I add any thing
 else in that site?


 link: http://www.testmyphp.com


 Thanks in advance.


 --
 Satya
 Bangalore.

 Maybe get rid of the required login to do anything :p


 Ash
 www.ashleysheridan.co.uk



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php





-- 
Satya
Bangalore.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php