Post
Topic
Board Securities
Re: kongzi.ca going live -- investment/presales opportunities
by
usagi
on 23/11/2012, 15:55:37 UTC
Announcement! The flashcard system is almost ready! This means the site will be usably operational very soon. You cannot see the recent work I have done unless you look at the page source; but I have already finished the backend which connects the database to the modal window! Right now the server side scripting pulls the data off the database and creates dynamic javascript code to feed it into your browser! That's absolutely amazing!

Here are two sample snippets of the dynamic code to show that the interaction is working as intended:

sample test run #1
Code:

sample test run #2
Code:

This is really fantastic news for kongzi.ca. I think, that I will have a usable system done by the weekend. It won't have all the features I intend yet of course, but it will start providing value to the community as a set of online flashcards. I can't wait to soup it up and open for business!

For those who are interested in critiquing my code, or to see proof that I am actually writing code and capable of doing this (which is material information for anyone interested in supporting this project with a personal business loan), I've decided to release the snippet of code which creates this:

Code:
// Loader which creates quizdata structure.
$i=0;
$n count($quiz);

echo 
"var quizdata = {\n";

while (
$i $n)
{
$question $quiz[$i];
echo "  " $i ": {";
echo "  entry: \"" $question['entry'] . "\",";
echo "  definition: \"" $question['definition'] . "\"";
echo "  }";

$i $i 1;

if ($i != $n) echo ",";

echo "\n";
}
echo 
"};\n";
?>

Thanks and good luck!