Document Actions
04/29/2006
Zope community portraits, meet the guys
I have started to collect portraits from Zope community people on this page. Meet them !
Posted by Tarek Ziadé @ 04/29/2006 03:15 PM. - Categories: zope, zope3 -  0 comments
04/25/2006
CPS4/Z3ECM sprint, Final wrapup

The week went very fast, but was very productive indeed, here's a quick wrapup of sprinters work:

Florent & Dario: The boys managed to write a parser to leverage the schemas that exists in JCR into Python structures. They create Zope 3 schemas, rather than CPSSchemas. Everything will be hooked through JackRabbit, so JCR content will become a good citizen for beeing used within Zope 3. They've also created a hierarchy of interfaces for this in Zope 3. All the work is here: nuxeo.jcr

Michael & Lennart: They struggled with Zope 2 & 3 publishers to continue Sidnei's work and came up with an advanced prototype. And, as this was one of the concern, they benched a bit twisted behavior in Zope 2, using funkload and it seem not too slow compared to zserver. The work is on a branch on svn.zope.org.

Jean-Marc: That guy knows everything about Zope 2 and Zope 3 branches now ;). Philipp helped a lot through IRC (thanks) and Jean Marc came up with... wait a minute... a blog entry that resumes it all.

Tarek: After a first release of CPSResourceLibrary, and nuxeo.javascript, I focused on doing tests automation in Javascript. OK that might not be very easy to set up on a buildbot, but on my laptop, it's going to be just perfect to TDD js code in zope.

Joachim: He played with Jean-Marc Cpsskins v3 concepts, by creating some Ajax Portlets in CPS 3.4, relying on CPSResourceLibrary, and nuxeo.javascript. Watch it in CPSAjaxPortlets, it's coming soon babe !


Posted by Tarek Ziadé @ 04/25/2006 12:23 AM. - Categories: AJAX, cps, ecm, python, sprint, zope, zope31 comments
04/21/2006
CPS4/Z3ECM sprint, day 4, Javascript unit testing automation
For the last day of sprint, I wanted to set up a Javascript unit test automation,
in order to be able to run all Js unitests like Python tests are through buildbot.

Scriptaculous unit testing framework provides a way to do it: the tests results are sent to a url through an Ajax call.

More infos on unit testing javascript here: Scriptaculous Unit testing

Therefore, I have coded:

  • a small python script that launches html unit tests with mozilla-firefox, then close it
  • a small python http server that retrieves results sent by the javascript

Some caveats to correct before its useable in a Zope project:

  • Right now the results sent by the unit test is just a simple 'SUCESS' or 'ERROR' string, and I need to change it so I can get the full error log when they are errors, like the one displayed in the browser, and convert it to Python assertions.
  • The ajax call to send results is done from the filesystem html to the localhost. So a trick is needed to make cross-domain ajax posts. The python http server could be used to serve the html tests file as well to avoid this problem, so I would have a complete js test server.
  • It needs to work on IE as well, maybe through Wine

So to the question "Can I do TDD in JS as smoothly as in Python ?", I'd answer: "Yes, it's coming up :)"

You can check the work here: nuxeo.javascript cps tests

I might try to release the js test runner in a clean package sometimes, as it might be reused.

This entry contains a screencast, you should check it in a browser

Posted by Tarek Ziadé @ 04/21/2006 04:13 PM. - Categories: AJAX, cps, python, sprint, web, zope3 -  0 comments
04/12/2006
Python event in "Le Monde en Tique" book store in Paris the 13th May
We'll continue our Python evangelism work with Stéfane the 13th May, at le Monde en Tique, a book store in Paris.

We'll meet people from 3 to 6 pm, around the "Programmation Python" book to convince more developers to switch to Python and join the community ;)

Web site: http://lmet.com

Address:  6 rue Maître Albert - 75005 PARIS - FRANCE

Access map: Mappy

Tube, RER:
Ligne 10 : Station Maubert - Mutualité
Rer B : Saint Michel - Notre Dame, Sortie : Notre-Dame
Rer C : Cluny - La  Sorbonne, Sortie : Boulevard Saint-Michel /
Boulevard Saint-Germain


Posted by Tarek Ziadé @ 04/12/2006 02:23 PM. - Categories: python -  0 comments
04/09/2006
zope-cookbook.org, an open Zope 3 cookbook launched !
zope-cookbook.org is a website that starts to gather recipes and tutorials for Zope 3.

The cookbook aims to provide a complete sight of Zope 3 through various recipes written by project participants, both in french and english.

Recipes are made available on the website when they are tagged as 'readable' in all languages.

The code examples in the recipes are run for real by the zope tests tools, so they are up to date and should be therefore with a bit less errors.

If you are a writer, a translator, a z3 developer etc.. please join the zope-cookbook.org project, to enhance its quality and build a good documentation source.

Posted by Tarek Ziadé @ 04/09/2006 09:12 PM. - Categories: python, zope, zope31 comments
Last modified: 01/25/2005 06:15 PM

Nuxeo Bloggers: Log in!
Nuxeo - Indesko - Nuxeo 5 Project
All content is copyrighted by their author.
CPSSkins is Copyright © 2003-2006 by Jean-Marc Orliaguet. | CPS is Copyright © 2002-2006 by Nuxeo SAS.