Skip to main content

Cocoon 2 Programming: Web Publishing with XML and Java



Cocoon 2 Programming: Web Publishing with XML and Java

Bill Brogden, Conrad D'Cruz, Mark Gaither

ISBN: 978-0-782-15157-2 February 2006 384 Pages


Thanks to the tireless efforts of open-source developers, Cocoon has quickly gained visibility as the preeminent XML-based Web publishing framework. Unfortunately, its documentation remains a significant shortcoming. If you're new to Cocoon, gaining a sense of exactly what you can do with it can be difficult, and actually getting started can be even harder.
Cocoon 2 Programming: Web Publishing with XML and Java clearly explains the value of Cocoon and helps you build on your familiarity with XML and Java Servlets as you design, build, and implement a range of Cocoon applications. You'll begin by learning to control presentation for various platforms, both wired and wireless. Then you'll move on to Cocoon's capabilities for logic control and content management, using both sitemaps and XSP to create a site dynamically generated from a variety of data sources and types.
As you'll see, Cocoon also supports powerful organizing techniques known as design patterns, and you'll master their use in both presentation and content generation. These are essential tools for the planning of your site; for after it's implemented, you'll command powerful techniques for site management and optimization.
The Web's dependence on XML is growing rapidly--and with it the list of companies that have adopted Cocoon. Is Cocoon for you? Cocoon 2 Programming will guide you through your decision and far beyond, providing all the assistance you need to build a dynamic, XML-based site--and keep moving into the future.


Chapter 1: The Cocoon 2 Architecture.

Chapter 2: Uses of Cocoon.

Chapter 3: A Review of the Essential Technologies.

Chapter 4: The Cocoon Serializers.

Chapter 5: Logic Control: The Sitemap.

Chapter 6: Introducing XSP Usage.

Chapter 7: XSP Logicsheets.

Chapter 8: Content Generators.

Chapter 9: Configuration for Debugging and Optimization.

Chapter 10: Patterns of Presentation.

Chapter 11: Patterns of Content Generation.

Appendix A: Resources.

Appendix B: Sitemap Tag References.



Download All Code Used in the Book
Download a .zip file with all the source code and examples used in the book.
To uncompress the file, Windows users can use Windows built-in ZIP utilities or a 3rd party utility like WinZip or WinRAR. Macintosh users can simply double-click the downloaded file to extract using the built-in archive utility.