[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Demexp-dev] Which architecture and languages for next developments?

From: David MENTRE
Subject: [Demexp-dev] Which architecture and languages for next developments?
Date: Sat, 24 Dec 2005 14:00:48 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)


At last demexp meeting, we have decided to focus developments on a web
interface to help the spreading of demexp.

We should face now the choice of architecture and language to accomplish

I have already made a web interface to demexp[1] using the WDialog
framework[2], which is using the OCaml language. WDialog allows to write
web interface, and other OCaml modules allow to interface with SQL
databases. If I follow the same approach, I would have roughly the
following architecture:

 Web browser <--HTTP--> WDialog interface <--demexp RPC--> demexp server
                                ^                               ^
                                |                               |
                                v                               v
                          SQL database                       XML file

The demexp server stores the bases of participants (including their
login/password for vote) and questions. Please notice that in the long
term (after delegation and i18n is implemented), the demexp server will
also use a SQL database.

The Wdialog interface and associated SQL base would store the state of
question seen, voted, etc. for each participant, as well as maybe
WDialog state.

What could be wrong with this architecture:

 - WDialog is using OCaml, which is an unknown language. Since Thomas
   has released PyDemexp[3], it is know possible to use the Python
   language to make the web interface;

 - WDialog provides basic functionnality and OCaml allows to use about
   any frameworks, but I have sometime the feeling to reinvent the
   wheel, especially regarding web technologies.

What do you think of it? Do you think it would be better to use known
frameworks like ? Any Python framework you would
be aware of (except Zope, which I find too slow)?

If I'm alone to develop, I think I'll keep OCaml because it can be quite
fast (compile to native code) and it is such a nice language. But I
might change my mind the avoid the same mistake as with the client
(i.e. to gather developers). It should be notice that if we use web
technologies (like AJAX), we will use more popular languages
(javascript, HTML, CSS or SQL for example) so it might be easier to
gather developers for them.





pub  1024D/A3AD7A2A 2004-10-03 David MENTRE <address@hidden>
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A

reply via email to

[Prev in Thread] Current Thread [Next in Thread]