Re: [Demexp-dev] Questions..

2007-08-01 Par sujet David MENTRE
Bonjour,

[ Note: This is an English speaking mailing list. I reply in French
because its quicker but please try to speak English on demexp-dev,
except if this is an issue for you, of course.

English summary:
 * Why Augustin module is no longer used? Because Augustin and myself
did not agree on the login procedure;

 * Which language will be used for the web interface? OCaml right now,
but if anybody does an interface in another language, we don't mind. ]

Le 31/07/07, Diogene Laerce[EMAIL PROTECTED] a écrit :
 http://demexp.ouvaton.org/

 qui moffre une belle page vide..

 Augustin qui me dit que son client a ete abandonne..
 Pourquoi dailleurs ??

Désaccord entre Augustin et moi (je crois pouvoir même dire nous avec
Fred et Félix) sur la façon dont techniquement son interface web et le
serveur demexp doivent interagir.

La trop longue procédure de login est détaillée ici :
 https://demexp.org/dokuwiki/doku.php?id=en:drupal_and_demexp_account_creation

Quelques messages sur le sujet. Lire les threads en entier pour
comprendre précisemment et vous faire votre propre opinion.
 http://www.mail-archive.com/demexp-dev@nongnu.org/msg00888.html
 http://www.mail-archive.com/demexp-dev@nongnu.org/msg00893.html

Qui plus est, je n'ai jamais réussi à refaire chez moi un serveur
Drupal avec le module d'Augustin qui marche et Augustin n'a jamais
voulu m'aider à trouver d'où venait le problème (il a fait une réponse
du style « donnez moi accès au serveur et je le ferai marcher »). Ce
n'est pas comme ça que je vois la coopération sur un projet libre.
 http://www.mail-archive.com/demexp-dev@nongnu.org/msg00884.html

 http://demexp.org/dokuwiki/doku.php?id=en:web_client_development_framework

 Jaimerais savoir quel langage a ete (ou sera) retenu pour un eventuel
 client web ?

J'ai une nette préférence pour le langage OCaml. J'avais développé une
première interface avec le framework Dialog qui finalement ne me
plaisait pas. J'ai commencé un nouveau prototype avec Ocisgen
(http://ocsigen.org/) qui me semble plus prometteur, mais je n'ai pas
beaucoup avancé et j'ai surtout perdu la motivation (cf. mon blog).

Mais aucun langage n'a été « retenu ». C'est le développeur qui
décide. Pour l'instant, puisque je suis le seul à coder, je choisi
OCaml. Mais quand Augustin a fait son module en PHP, on l'a mis en
place et testé sans aucun soucis (cf. les archives de demexp-dev et
les liens ci-dessus). Si tu veux faire une interface web en PHP ou
Python, je n'y vois aucun inconvénient. À choisir entre les deux, j'ai
quand même une préférence pour le Python (et Thomas à déjà fait une
interface ONC-RPC en Python). ;-)

Amicalement,
d.


___
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev


[Demexp-dev] A question : 2nd edition.. :)

2007-08-01 Par sujet Diogene Laerce
Hello David

 [ Note: This is an English speaking mailing list. I reply in French
 because its quicker but please try to speak English on demexp-dev,
 except if this is an issue for you, of course.


Sorry for the french but it seems that I got difficulties to manage all
the different email adresses and lists.

Thanks anyway for your detailed answer, I got now a little reading to
make up my mind.

Got another question : Id like to know if the demexp software can be easily
changed to allow only global question (answer yes/no) ?

The purpose is to restrict the way people can propose a question - to control
its formulation.

People who wants to say yes but.. or no we should.. etc.. still can propose
another question of the same form as an answer so demexp-server has got to 
handle
only global questions.

For the other forms of questions : it appears that they are mostly (but I think
in fact all of them) propositions/solutions calls, so their answers can be
derivated into global questions too.

That kind of restriction, I think is a first step to limit the number of 
questions
and a easier way to sort the questions later - less parameters to handle.

Can you tell me what you think about that ?

Yours,
Diogene




___
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev


Re: [Demexp-dev] A question : 2nd edition.. :)

2007-08-01 Par sujet David MENTRE
Hello Diogene,

2007/8/1, Diogene Laerce [EMAIL PROTECTED]:
 Got another question : Id like to know if the demexp software can be easily
 changed to allow only global question (answer yes/no) ?

Easily is quite relative but I don't think such a requirement would be
difficult to do. We already automatically add new answers when a
question is created and it is easy to remove the ability to add new
answers. So yes, this can be done without extended knowledge of the
code.

See function `add_question'  around line 244 in
  
http://www.linux-france.org/cgi-bin/hgwebdir.cgi/demexp/latest-dev?f=666a5cc3302d;file=srv/posbase.ml.nw

The automatic response is added at line 264. You would modify this
call to `add_response' to add the No answer and add a second call to
add the Yes answer.

Regarding the ability to add a new response, you would have to remove
this ability by modifying handler `add_response'  in srv/work.ml.nw.
The handler would always respond  `rt_not_enough_rights' without
trying to add a response. See the corresponding code at line 229 in
  
http://www.linux-france.org/cgi-bin/hgwebdir.cgi/demexp/latest-dev?f=8064410717e0;file=srv/work.ml.nw

Of course, you would have to do similar modification on the client
side, but removing or disabling the code to add a response is always
easier than adding new code. ;-)

I hope I'm clear.

 That kind of restriction, I think is a first step to limit the number of 
 questions
 and a easier way to sort the questions later - less parameters to handle.

 Can you tell me what you think about that ?

I don't have any opinion regarding the usefulness of this proposal.

Yours,
d.


___
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev