[Cubicweb] CubicWeb 3.6 is (almost) out!

Aurélien Campeas aurelien.campeas at logilab.fr
Thu Feb 11 10:54:40 CET 2010

Le mercredi 10 février 2010 à 16:57 +0100, Sylvain Thénault a écrit :
> Hi list!

Hi sylvain,

thank you for the awesome work that went in 3.6 !

> here is the content of the blog I've just posted:
> http://www.logilab.org/blogentry/687465

that's http://www.cubicweb.org/blogentry/687465 actually

I've got a couple questions below.

> And that's a great news, after several months of development (things starts moved
> on the begin of august 2009...), it should be available on our debian repositories
> and ftp site in the next few hours.
> So, we can say this release contains a (too) wide set of improvments and
> refactorings.  I'll take about the most important ones here.
> Appobject/Entity classes namespace cleanup
> -------------------------------------------
> First of all, the namespace cleanup... 3.6 is a step toward cleaning the entity
> classes (hence more generally appobject), which are used for a hell lot of
> things, making impossible to tell for sure what could be used or not as an
> attribute or relation name. We decided to reserve names everything that begin
> with a '_cw' or 'cw_'. A lot of methods have been deprecated to cleanup the
> base appobject class name space. The remaining methods on entity classes will
> be removed in future version, by the introduction of an orm for database related
> methods, 

What does that mean (the "orm for database relatede methods") ?


> Hooks refactoring
> -----------------
> Hooks are now regular appobjects, with selectors (don't forget to reuse
> Hook.__select__, remember that !). They should simply implements __call__
> with no argument (well, only 'self') and will get info previously given as
> argument as instance attributes, according to the matching event.

Is this irrevocable (the instance attributes thing) ?

More information about the Cubicweb mailing list