First page Back Continue Last page Overview Graphics

Frameworks: Cocoon


Notes:

Cocoon 2 is a mature XML publishing framework

balanced design (around SoC) - idea of “contracts” between management, logic, content and presentation, the “pyramid of concerns”

solid implementation, complete rewrite since cocoon 1, excellent development team
acceptable performance, inbuilt caching provides big speedup as does compilation of XSP pages on first visit.

great usability – sitemap makes planning your architecture logical and easy.

A wealth of books coming out this year – up to 3 so far? 1st one reviewed and thumbs up from me.

getting there as web application framework. 2.1 will improve that with more support for procedural web serving (ie web applications) in addition to existing declarative web serving (ie publishing)

Cocoon will be first framework to fit both web application AND web publishing needs. “Cocoon is glue for your web needs” - Stefano Mazzocchi


Cocoon vs AxKit:
- scalability with sitemap (no sitemap concept in axkit)
- compartmentalisation of configuration (subsitemaps, separate pipelines)
- run anywhere.