My favorites | Sign in
Logo
                
Search
for

Updated Jan 11, 2009 by danielpalme82
Labels: Phase-Design, Phase-Requirements
DifferencesBetweenForrestCocoonAndPiwi  
Differences between Apache Forrest, Apache Cocoon and PIWI.

Introduction

For those of you who don't know the other two frameworks: read this article to know more about the differences. There has been a discussion on the Forrest Mailinglist in the past if PIWI would fit as a subproject. In short terms: no, it doesn't. The following article explains why.

What is Apache Cocoon and Apache Forrest

Ross Gardler (from Apache Forrest project) said:

Historically Cocoon was an XML publishing framework. Over the years it migrated into being a web framework as requirements like forms processing and authentication crept in (I carefully chose those examples for obvious reasons, but I could have provided so many more such examples).
Forrest was created around the time it was clear Cocoon was more than an XML publishing framework, Forrest came along to satisfy a specific need of XML publishing (many formats in, many formats out) and stripped out most of the dynamic web framework stuff that had crept into Cocoon. Forrest was originally targeted at creating web sites and documentation for ASF projects. Over the years it has grown into more general publishing jobs.

Further reading: Original discussion

What is PIWI compared to Apache Cocoon and Apache Forrest

With the knowledge Ross Gardler provided, we can take a look at PIWI. PIWI provides web framework features aswell as xml publishing features. The latter features are not the main goal of PIWI: PIWI can render static pages, but since PIWI has been written in PHP, the need to render static pages is of course a very extraordinary need.

PIWI has web framework features like Cocoon has: Forms, Authentication and such. But compared to Cocoon PIWI has much less features. Well, it's a scripting language and so much stuff which can be done by the powers of Java can't be done with such a scripting language as PHP. You could say, PIWI is a less featured Cocoon, but seems to aim a similar goal.

Come on, what IS PIWI now?

PIWI is a web framework, light weight, simple, which shall provide output formats from various input sources. It shall provide a framework which gives a developer the chance integrate various other projects. It has some publishing features for those, who are looking for a static content generation engine. At least, we think PIWI is a XML processing framework.


Sign in to add a comment
Hosted by Google Code