Demexp content on the web (Re: [Demexp-dev] First XML RPC proxy available

2006-09-08 Par sujet Augustin
On Saturday 09 September 2006 06:08 am, Thomas Petazzoni wrote:
> Hi Augustin,
>
> Thanks for your work on motivation!

And thanks for your support.
See my earlier email about what motivates me :)

> Le Thu, 7 Sep 2006 23:50:04 +0800,
>
> Augustin <[EMAIL PROTECTED]> a écrit :
> > But I'm making some progress already. I have a rough code outline.
> > The main theming functions and the most important hooks are in place.
> > Cron can already import and store the 270 questions (and the new
> > ones, if any).
>
> I don't understand how Drupal interacts with the demexp server. From
> this paragraph, I understand that you make a replica of the questions
> of the demexp server on the Drupal side using a cron job. Am I
> understanding correctly ?

yes.
Ealier, I posted:
""
I will pull all the public data from the server (all the questions, and  the 
answers, nb of votes and elected choice). I will create a "node" (a page of 
content in the Drupal lingo) for each question. The node will be displayed to 
anonymous users, and for the search engines to index.

The nodes (questions) will be updated each time a registered user uses the web 
client [or their hard client] to submit an answer, or cast a vote.
""

Technically speaking, I am creating a different 'node type' so that the demexp 
questions can be handled and styled differently from the other content in the 
site.


A.


-- 
http://www.wechange.org/
Because we and the world need to change.
 
http://www.reuniting.info/
Intimate Relationships, peace and harmony in the couple.

http://www.gnosis-usa.com/
Revolutionary Psychology, White Tantrism, Dream Yoga...

http://www.masquilier.org/
Condorcet, Approval alternative, better voting methods.


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


[Demexp-dev] about Complexity and technical choices and about personal motivation.

2006-09-08 Par sujet Augustin
Bonjour Thomas,


On Saturday 09 September 2006 05:58 am, Thomas Petazzoni wrote:
> At first, I thought that this approach was overkill, but after thinking
> a bit about it, I think like David that it's the best option. It allows
> to not bloatify the code of the demexp server itself by not supporting
> two RPCs types, and 

> it's better since we don't know if XML RPC will be 
> kept on the long term.

I certainly do hope it will be kept. If it is not, it means that all the time 
I am spending coding the client would be wasted. And the same can be said of 
David's time spent on the proxy itself.

As I have abundantly made clear 1-2 weeks ago, I am not coding for pleasure, 
but I am coding to see concrete results (I'm sure David will concur). 

I have given up another project so that I can invest more time into this one, 
because I felt that my input into this project could have quicker results on 
the society. 

I care about democracy, about voting systems (which you are probably aware of, 
if you've read my introductionnary material) and I am concerned about the 
direction our world in going towards.


That's why I felt uneasy when you didn't directly answer the question I asked 
you two weeks ago about the python/php choice.
I hope the python web client is currently no longer an option. 


> However, I suggest to be careful about the complexity of the demexp
> software. It's starting to be:
>  - a server in OCaml with lots of dependencies, making it hard to
>compile when you're not using a good distribution (Debian)
>  - a proxy in Python that uses unpackaged library (pyrpc)
>  - a web client in PHP/Drupal which runs over Apache.

I don't see this as a problem. Each part can be replaced independently of the 
others. We can keep the client and change the server, or keep the server and 
change the client. (But I hope we won't have to change either!!)
The modularity is a feature!

> For the newcomer, it's probably going to be harder and harder to get
> involved in the projet if so many languages, library and compilers are
> used, and if the architecture becomes more complex.

Not necessarily. I only know php, and I found out that I don't even need to 
understand xml rpc (even though it's dead simple) because I just use the 
Drupal handlers. I don't know Python, or OCaml, and I still can very actively 
contribute to the project. 
A php coder could join me to improve the client, a python coder can work on 
the proxy and an OCaml coder can work on the server.
To each their specialty. 

Now, the only problem is if an organization needs to create a new 
server/client setup for their own purposes. Installing a Drupal client is 
very easy and possible on almost any hosting company (php+mysql). I guess the 
proxy and the server would be somewhat harder to install and configure.
But who would need to do that? Not an individual, but as I said: an 
organization: they have IT professionals or some funds to get the job done.
David or you could even offer to do it for a fee: a good opportunity for you 
to make some pocket money   :)


> Anyway, I think that the current experimentations around Drupal are a
> nice thing, and the motivation of Augustin is promising.


I truly appreciate your encouragement.

But as I said from the very beginning and repeated above, my motivation is 
linked to the belief that I am spending time on something that is going to be 
used. Yourself gave up compiling the client for Mandriva when there was talk 
of a web client, because you understood that your efforts would be wasted.

All this to say: I am looking forward to the time when I'll be able to install 
Drupal on demexp.org!

If things carry on going at this pace, we'll have a solid, debugged web client 
by the end of the year. 
I certainly hope that by early 2007, the Democratic Experience can make a 
positive contribution to the democratic debate for the 2007 French elections.
That's my goal and my motivation :)


Thanks for your support and encouragement
:)


Augustin.





-- 
http://www.wechange.org/
Because we and the world need to change.
 
http://www.reuniting.info/
Intimate Relationships, peace and harmony in the couple.

http://www.gnosis-usa.com/
Revolutionary Psychology, White Tantrism, Dream Yoga...

http://www.masquilier.org/
Condorcet, Approval alternative, better voting methods.


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


Re: [Demexp-dev] First XML RPC proxy available

2006-09-08 Par sujet Thomas Petazzoni
Hi Augustin,

Thanks for your work on motivation!

Le Thu, 7 Sep 2006 23:50:04 +0800,
Augustin <[EMAIL PROTECTED]> a écrit :

> But I'm making some progress already. I have a rough code outline.
> The main theming functions and the most important hooks are in place.
> Cron can already import and store the 270 questions (and the new
> ones, if any).

I don't understand how Drupal interacts with the demexp server. From
this paragraph, I understand that you make a replica of the questions
of the demexp server on the Drupal side using a cron job. Am I
understanding correctly ?

Sincerly,

Thomas
-- 
PETAZZONI Thomas - [EMAIL PROTECTED] 
http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED]
http://{agenda,livret}dulibre.org - http://www.toulibre.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7


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


Re: [Demexp-dev] On web client, XML and ONC RPC and their integration with demexp

2006-09-08 Par sujet Thomas Petazzoni
Hi,

Le Thu, 31 Aug 2006 13:48:07 +0200,
David MENTRE <[EMAIL PROTECTED]> a écrit :

> This leads me to a fourth approach: implement a XML RPC <-> ONC RPC
> proxy as an interface between the XML RPC side (Drupal) and the ONC
> RPC side (demexp server). It would act as a server on the XML RPC
> side and as a client on the ONC RPC side. This approach seems to me
> nicer because there is no need for a re-implementation of all server
> network API: the same ONC RPC interface is used for both the web and
> native clients on the server side. Moreover, such a proxy would be an
> independant software, with well defined interfaces, so easier to
> maintain, understand and modify.

At first, I thought that this approach was overkill, but after thinking
a bit about it, I think like David that it's the best option. It allows
to not bloatify the code of the demexp server itself by not supporting
two RPCs types, and it's better since we don't know if XML RPC will be
kept on the long term.

However, I suggest to be careful about the complexity of the demexp
software. It's starting to be:
 - a server in OCaml with lots of dependencies, making it hard to
   compile when you're not using a good distribution (Debian)
 - a proxy in Python that uses unpackaged library (pyrpc)
 - a web client in PHP/Drupal which runs over Apache.

For the newcomer, it's probably going to be harder and harder to get
involved in the projet if so many languages, library and compilers are
used, and if the architecture becomes more complex.

Anyway, I think that the current experimentations around Drupal are a
nice thing, and the motivation of Augustin is promising.

Sincerly,

Thomas
-- 
PETAZZONI Thomas - [EMAIL PROTECTED] 
http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED]
http://{agenda,livret}dulibre.org - http://www.toulibre.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7


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


demexp.org Re: [Demexp-dev] Theme questions

2006-09-08 Par sujet Augustin
Hi,

About demexp.org, it is of course my understanding that as soon as the module 
I'm working on is stable enough, Drupal will be install on demexp.org, where 
spip used to be.

Of course, the two docuwiki (fr and en) will stay, but the 4-5 html pages that 
you have at the root will be included within the drupal site. 
The details of the organization/ layout of the site can be discussed later.

Within a few weeks, I will need to have ftp access to the root of demexp.org 
to install Drupal. 
Is there a panel? MySQL, phpmyadmin?
What version of php?


Augustin.






-- 
http://www.wechange.org/
Because we and the world need to change.
 
http://www.reuniting.info/
Intimate Relationships, peace and harmony in the couple.

http://www.gnosis-usa.com/
Revolutionary Psychology, White Tantrism, Dream Yoga...

http://www.masquilier.org/
Condorcet, Approval alternative, better voting methods.


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


[Demexp-dev] Theme questions

2006-09-08 Par sujet Augustin

Hello,

I've almost coded everything I could do so far, so I am starting working on 
the theme/design.

There are a few elements of the demexp.module that will have to be coded at 
the theme level, so I am starting to have a look at how to do certain things.

What is the status of the demexp.org theme? 

Is someone working on a new one, or is the current theme the one I need to 
replicate within Drupal?
I can certainly implement the current one: it's simple and clean. 
The theme can still be expanded at a later date.



Augustin.




-- 
http://www.wechange.org/
Because we and the world need to change.
 
http://www.reuniting.info/
Intimate Relationships, peace and harmony in the couple.

http://www.gnosis-usa.com/
Revolutionary Psychology, White Tantrism, Dream Yoga...

http://www.masquilier.org/
Condorcet, Approval alternative, better voting methods.


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