|
Home Why? Getting Started Installing Transformations Resources Contributing Changes Todo |
Getting StartedWhat is Cocoon?Cocoon is a framework for delivering web sites and applications that are based around XML technologies. In addition to being able to do XML and XSL transformations, it provides it's own page logic templating system called XSP which is basically analogous to ASP, JSP, PHP, CFM etc. Of course this is XML based as well. Why use Cocoon?For me it's because it really can help you develop applications that have content, layout and logic truly separated. ASP, JSP etc are all OK but for any one (like me) who has had to develop and support multi-lingual, branded, customisable and highly dynamic sites, they just do not cut the mustard. On top of that it is free, supported by proven open source development principles and augments other frameworks and platforms such as EJB. What do I need to make it work?Primarily you need a servlet engine. This would be something like (but not exclusively) Tomcat, JRun or Weblogic. This is because Cocoon is a servlet and needs the servlet engine. Most servlet engines provide a web (HTTP) server which is fine for development purposes but in most production environments you would want to sit the servlet engine on a web server such as Apache or IIS. The only other usual requirement is the Java SDK. Where do I get it from?Go to http://www.apache.org/cocoon2 and download it from there. The latest distribution for Windows machines is Cocoon 2 Release Candidate 1a. This file contains the Cocoon code, samples, documentation and the Java libraries that enable the Cocoon to work such as Xerces and Xalan. What assumptions have you made?I assume no knowledege of Cocoon but:
|