From: Patrick L. <pa...@la...> - 2001-11-09 22:43:25
|
Guys, (the purpose of this email is to get the web-dev group started and familiar with PHP code). After exploring the string functions of PHP (http://www.php.net/manual-lookup.php?pattern=string) I think the verse comparison can be done with purely PHP and we may be able to remove the PHP -> java bridge which is fast becoming awkward. http://hidetheword.org/demo/exam.php For the script writers out there, PHP as you'll notice is very similar to ASP or JSP. It's very close to Perl and Sed and also somewhat Java/C++ like. If there is someone who would like to volunteer in re-writing this very very simple sentence comparison algo, please feel free to re-write as necessary! Also Nick mentioned a while back that we shouldn't score the verse as 70% correct, 80% correct, but rather 100%. If you're wrong you're wrong and I think he's right, nothing less than perfection! (I did however add a grace option for practice purposes). The EXAM currently has the following (+ = has, - = needs) ========================================================== + crude UI + verse lookup + verse comparison - session management to count how many tries before they pass (web-dev ??) - write to the profile table to monitor the user and the verse they attempted (web-dev ??) - UI integration into the HTW look & feel. (dan,euge, lei) - able to handle multiple verses, i haven't checked for more than 1 verse comparison - make more pretty, very crude! have a good weekend everyone! -- </Patrick> http://patrick.lacson.org pa...@la... |