filyb.info

Tag - Programmation

Fil des billets - Fil des commentaires

mercredi 9 juillet 2008

SoC 2008: Croquant 1.0

I'm proud to announce the release of Croquant 1.0!

This is the first release of Croquant, the set of MoinMoin plugins for an integration with Crunchy. Right now, Croquant consists in:

  • A parser to embed python code, with VLAM, to add interpreters, editors, doctests, etc in Crunchy
  • Three macros to add some forms and links in Crunchy
  • A MoinMoin theme, which looks like python.org and is designed to be used with Crunchy (by example, the edition link in Crunchy will open the edition page outside Crunchy). An option can force the theme to behave exactly like the one of the Python wiki

You can already download Croquant 1.0.

jeudi 19 juin 2008

Mon premier plugin DotClear : welcomeIpv6

Depuis que le serveur est accessible par IPv6, un sympathique message félicite les utilisateurs de cette nouvelle norme.

Seulement voilà, avec le passage de cette installation de DotClear 2 en version RC 1, j'ai modifié mon thème pour qu'il hérite plus du thème par défaut (sans en modifier l'aspect visuel). Et au passage, j'ai perdu le gentil message.

J'ai donc décidé de créer un widget pour DotClear 2, qui vous permet d'afficher un message selon que l'utilisateur accède à votre site via IPv4 ou IPv6. Vous le trouverez à la fin du billet.

Un grand merci merci à la documentation de DotClear (qui sera en lien ici quand le site se fera le plaisir de répondre), grâce à laquelle j'ai pu coder ce plugin sans connaître trois mots de PHP. 95 % du code en est du copié-collé, j'aurais presque envie de vous demander de leur adresser directement les rapports de bug :-p

(Maintenant, on va essayer de mettre ça sur Dotaddict.)

mercredi 11 juin 2008

SoC 2008: the Croquant project

I'm proud to announce the birth of Croquant !

Croquant is a set of MoinMoin plugins (well... just one for the moment), and aims to allow the writing of Crunchy tutorials directly from the wiki.

From the Croquant website, you can the documentation (okay, it's just a ReadMe), and get the code, using svn.

And you can see Croquant in action, thanks to the screencast of André Roberge: Test Driven Learning (TDL) using Crunchy and MoinMoin.

lundi 26 mai 2008

SoC 2008 : Start of coding

Today is the time to start working on my Summer of Code project.

Crunchy use a special markup, the VLAM, integrated in the XHTML, to define where add a python interpreter, a text editor, etc.

The first step of my work is to find an elegant and wiki-like syntax to add VLAM-like attributes inside a wiki page. This syntax must no be misinterpreted by MoinMoin, and should match the VLAM to help further improvement in Crunchy be used directly in wiki pages.

See also:

lundi 19 mai 2008

Mai, joli mai... en vrac

- page 1 de 8