Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Trying to write some educational/study guide software

Author
Message
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 22nd Sep 2011 11:21
The title says it all. I'm trying to write a study guide/educational, general purpose java applet.

I've come up with a few requirements it should have
1. Be able to display paragraphs of rich text information. This means colored text, different fonts and font sizes, and indenting.
2. Be able to display embedded images, either downloaded from an external webpage, my website, or distributed along with the java program.
3. Be able to display embedded LaTeX math symbols, so that the tool is usable for math courses.
4. Be able to display video and audio information. I tried several options, but I finally settled on opening up a youtube page in an external browser.
5. Be able to display other embedded programs (eg, my math applet)
6. Able to quiz you on both vocabulary, and other questions
7. Built in such a way that you can create new lessons with relative ease.

So, that's a big list, especially because of the "rich text" part of it. I figure the best way to have rich text, images, and pop-out players is to build the text renderer myself.

Before building the text renderer, I have to define the input syntax. I was thinking just to use XML syntax. Here's a mock-up of what the xml file for a course would look like:


Then, the XML would be taken, validated, and compiled. In the compiling process, every beginning/end tag would be replaced with a numerical value. Any errors in syntax would be checked, it would make sure all the images exist in the given directories, and any LaTeX would be rendered to a .png and saved, so that the java applet doesn't have to deal with any LaTeX rendering.

If you noticed, I have a section before the given lesson defining Vocabulary. This is so that we can have random vocab questions, and so that we can have embedded definitions. eg, when you surround a word or phrase with the <v></v> tags, it either turns it blue and bold and has the definition appear when you hover your mouse over it, or it bolds it if it can't find the given word in any <vocab> section.

Since a file like this would be massively annoying to code in notepad, there will be a GUI editor where all the XML is masked, and instead the whole course information would be displayed as a nested tree. You'd be able to, say, right click the "quizinfo" node, and select "add new question". For plaintext editing, I'd imagine there would be a rich text editor for the actual lesson text, with utilities to add in graph applets, youtube videos, images, or LaTeX.

So that's three major things.
(1) A java application to edit a lesson plan
(2) An application to compile the lesson plan into an easier to read format (with all LaTeX and what not compiled)
(3) The actual application, responsible for displaying the rich text correctly, and of course displaying the lessons and quizzes.

So, I have two questions. One: Am I making this too hard on myself? Two: Any other suggestions or must-haves for this program?


Why does blue text appear every time you are near?
zenassem
22
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 23rd Sep 2011 02:46
Seems like an interesting project. I did somethwing way less ambitiouse with dbpro when I was studying electronics. Basically it was a flash-card program, and sample test creator. I think I learned the material more just by writing the program,, so in the end I guess it worked out.

Good luck with this.

Your signature has been erased by a mod please reduce it to 600 x 120.

Login to post a reply

Server time is: 2025-05-20 14:40:46
Your offset time is: 2025-05-20 14:40:46