cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <>
Subject Re: What is the deal with "blocks"
Date Thu, 28 Dec 2006 18:00:21 GMT
Mark Lundquist wrote:
> Hi, I've been wanting to ask this question in one form or another for at 
> least the last year, but never gotten around to it until now... at 
> various points I've scanned the archives for the early discussions about 
> "real blocks", and skimmed discussions btwn. Daniel and others on the 
> dev list as they went by, which by that time were too advanced for me to 
> really follow...
> There are two different meanings of "block", right? :-)
> The first sense of "block" denotes an optional part of Cocoon, e.g. 
> "forms", "batik", "html", etc.).  In 2.1 we would configure 
> to include or exclude blocks from the build.


> The second sense — I'll refer to it as "Block", with a captial "B" — is 
> apparently something different, with new protocols, etc., which is 
> implemented by the cocoon-blocks-fw module.
> This terminology overloading is kind of confusing even to me, and I'm 
> not really a newbie anymore... is there a plan to resolve the 
> nomenclature issue?  Or is the intent that all of today's "blocks" will 
> someday become "Blocks", or what?

blocks don't provide any contracts. Their main purpose is spliting the large 
codebase into smaller pieces.

> Can somebody point me to the most current/definitive discussions or Wiki 
> posts or whatever to help me sort out what the new "Blocks" are all about?

For the upcoming Cocoon homepage I try to find some definition. Have a look at 
the latest version 
( Also see 
Daniel's presentation at the GT 

> Also: how do I run the sample/demo from cocoon-blocks-fw?

Haven't tried it for some time but if you follow the getting started guide at and add the 
sample block as further dependency to the myWebapp module (make sure that you 
have installed them to the local Maven repo before), you should be able to run them.

Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}


View raw message