I wrote a little JHS app that can be used to practice learning the vocabulary

I'm hosting it here on linux:

http://csilo.com/vocflash

Here is the code: https://github.com/joebo/vocflash, specifically flash.ijs

I have nginx forwarding it to jhs

I intentionally wanted to start very simple. I may enhance it to track
scores and use ajax to submit. I also wanted to be 'close to the
metal' and skip the traditional JHS app boiler plate.

I'm using jev_post_raw to handle the post instead of using jdo. I
didn't particularly like having to submit a form element with jdo in
it.

It also irked me that I had to reload the script every time I made a
change. There may be a better/built-in way, but I came up with a DEBUG
flag that will load the script on a request if it hasn't been loaded
in the past second.

jev_get=: 3 : 0
if. DEBUG do. checkLatestScript'' end.
showForm _1
)

The dictionary content is auto-generated from a script I wrote awhile
back to parse the html files. There might be some formatting or other
oddities. Not meant to really be production quality.

Any feedback is welcome!

Joe
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to