After more than 4 yers in existance, 50 commiters and code base
bigger than most Apache sub-projects,
Cocoon is on its way to become a top level Apache project.
Voting procedure started a few days ago.
So far there have been over 20 positive votes and no negative ones.
If you are an Apache commiter, cast your vote on the community mailing list.
Saturday, November 02, 2002
Thursday, October 17, 2002
OpenWiki has exactly the architecture which allows it to be plugged in the CocoonHive.org portal.
Each of its web pages can be served in a rich, presentation neutral XML format.
To make life even easier, OpenWiki conveniently provides XSLT stylesheets.
I have slightly modified the origninals to align them with the portal look and feel.
Some more work has to be done for the templates which handle editing a wiki page.
Thanks to Michael Cote for pointing out OpenWiki.
Wednesday, October 09, 2002
The initial portal demonstrating syndication of Amazon.com functionality is available.
Source code is also provided. I think its value is the simplicity.
Using Cocoon's powerful sitemap and refactoring Amazon's sample stylesheets
anyone can build a personalized Amazon.com in hours.
0 lines of programming language code (Java,PHP,Perl,Pyhon, etc.)!
Only styling (XSLT)!
Here is the demo: http://www.cocoonhive.org/portal/home
Monday, October 07, 2002
Axis (previously known as Apache SOAP) has been in active development over a year.
It has finally reached a stable state which passes Sun's JAX-RPC and JAAS tests.
Although work remains to be done for full compiance with SOAP 1.2,
Java Web Services developers can now start working with something quite reliable.
See the webservices.org article here:
Tuesday, October 01, 2002
Based on recent research and work in the Portal Syndication area,
I have decided to step up to the next challange.
I will be implementing a syndication demo which will allow anyone to embed
Amazon.com search, navigation and purchase transactions within a web site,
by utilizing the Web Service Proxy component.
Check back in a week or so for more news.
Thursday, September 19, 2002
JRoundup.com published the web syndication article, which was originally presented
Available here http://www.jroundup.com/resources/resource.jsp?articleID=1032376635193.35&articleType=readit&articleStatus=live
Thursday, August 29, 2002
This article is an interesting piece showing how complete web syndication is possible for both content and functionality
by utilizing components in Cocoon 2.1.
Saturday, August 10, 2002
Steven Noels started a Wiki site which will stimulate contributions to the Cocoon documentation project.
Providing a fast and easy access for editing existing documents and adding new ones, the site has attracted a dozen
contributors and has been very active recently.
Documents which are considered stable and of good quality, will be ported to the main Cocoon documentation pages.
The Wiki site is located here
Sunday, August 04, 2002
Friday, July 12, 2002
Friday, July 05, 2002
Embedding One Web Site Functionality in Another with Cocoon 2
For quite some time web sites are exchanging news feeds and other one way
content via RSS. Some portals are even outsourcing and co-branding web
As appealing and feasible as this may seem, most of today's implementations
are quite rugged.
Let's follow a typical scenario:
User logs in to a familiar portal and happily browses around.
At some point the user clicks on a link which leads to a strange page.
It has the portal logo, might even show the user login id but looks very
different and unfamiliar... After some time and frustration the user gets
used to switching back and forth between the two faces of the portal...
while looking for another provider which offers both services in a coherent
This story is not uncommon and is an inherent problem with the traditional
HTML based publishing.
Outsourcing interactive components to a third party site, while preserving
the look & feel of the original portal is still possible when done right.
Cocoon has a solution.
The new Web Service Proxy component is built to help with this very problem.
Once plugged in the sitemap, it transparently pipes browser requests to a
remote web app and returns the response back to the sitemap.
Remote Web Site Integration is an easy task with Cocoon.
The WebServiceProxyGenerator sitemap component,
combined with the XMLForm framework and XSLT, allows
vendors to share interactive content with little effort.
The Web Service Proxy takes advantage of the fact that
a Cocoon web application produces XML content
which is later translated into multiple presentation formats, like HTML or WML.
Having a client independent XML format, allows the containing site to
pull the content and style it with XSLT in a desired the Look & Feel.
Ok, styling presentation is easy to understand, but how is a form submitted to the original site?
Since the form markup in the XML content of an embedded page uses relative URL
address for the target, once the end user submits, the form data is sent to the
containing site, which captures the form data and the relative URL.
The Web Service Proxy then takes this information and re-submits it to the
original site. It then reads the XML response and makes it available to the
sitemap for styling again.
Hm, but a typical web application maintains a session while going through
multiple pages. So, how is the containing site propagating the end user session to the
to the embedded site?
The answer is simple. The Web Service Proxy simply hooks to the end user session,
and automatically starts its own session with the remote site.
If the remote site does not require authentication, then everything is transparent
to the developer of the containing web site. Otherwise the WebServiceProxyGenerator
has to be extended to override the procedure for initating session with the remote site.
What transport protocols are supported?
HTTP 1.0, HTTP 1.1, HTTPS.
Have more questions? Look at the code, it is really simple.
If you need advise, search through the Cocoon mailing lists archives.
If you can't find the answer, email your question to the Cocoon mailing lists.
Finally, if you need to contact me, send email to Ivelin Ivanov, email@example.com.
Tuesday, July 02, 2002
Introduction to Cocoon: How to publish XML documents in HTML and PDF
Without requiring any prior knowledge of Cocoon, XSLT or XSL-FO, this How-To shows you how to publish XML documents in HTML and PDF using Cocoon.
by Bertrand Delacrétaz
Saturday, June 29, 2002
Tuesday, June 04, 2002
Monday, June 03, 2002
Tuesday, May 28, 2002
CocoonHive.org is a supporting site for the Apache Cocoon project. CocoonHive.org provides quality information about XML Publishing with Cocoon by maintaining a catalog of articles on Best Practices, Use Cases and Success Stories.
The site is currently being built. Please visit again after June 10, 2002