On Tuesday 28 April 2009 07:37:34 am Robert Gravina wrote:

> How is that client-server communication done? If the same
> protocol/method can be used from Javascript, then you could write
> webapp without relying on those frameworks, I suppose.

At the highest level of abstraction, a GUI can be written by implementing some 
functions that are called by libmnemosyne, like set_question(), .... 
Communication also goes the other way, with e.g. grade_answer()

See

http://bazaar.launchpad.net/~peter-bienstman/mnemosyne-
proj/pbienst/annotate/head%3A/mnemosyne/mnemosyne/ppygui_ui/review_wdgt.py

All of this is being driven by a controller inside of libmnemoyse. I guess 
using that model could be enough to get a first working prototype.

If not, or for a later more sophisticated version, e.g. one that sends out 10 
cards at the same time to save bandwidth, there are more low level functions 
like get_next_card, which you can use to write your own controller. It would 
be nice that such a controller was written in a way that is independent of the 
exact framework one uses, so that it can be reused later on.

Peter


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mnemosyne-proj-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to