Apache Cocoon

November 22nd, 2007 admin Posted in Information Technology No Comments »

Apache Cocoon is an Open Source Apache Software Foundation plan built on open standards. Recently it has swiftly gained popularity in the Web developer community. The perpetually growing diverse developer and user communities, and the attractiveness of recent Cocoon meets that are magnetizing large numbers, and attendees all across the globe, only further embellishes upon Cocoon’s growing popularity.
What is Apache Cocoon?

Fundamentally, Cocoon is an open Web development skeleton. All the facilities needed to build flexible, maintainable, scalable, and robust XML Server Applications are provided to the developer in this simple to operate program.

Cocoon can, as such, be run from both within an Application Server or from the command line since it is basically executed as an abstract Java engine. Cocoon brings to the fore the models of “component pipelines” and “Cocoon flow” to Web Application development, to form the basis of a potent Web structural design. It boasts of the following features:

1. Content aggregation
2. Pluggable multi-step XML transformations/augmentations (Typically via XSLT)
3. Pluggable Multi-Channeling
4. Internationalization
5. Form handling and validation (Cocoon Forms/Woody)
6. Centralized application flow logic with Cocoon Flow while at the same encouraging maintainable, robust code and promoting Separation of Concerns (SoC)

When considering it a component-based structural framework, Cocoon is deeply modular. It is essentially divided with multiple “prefabricated” pluggable components. Now since these components either consume or produce SAX events, they can therefore be linked together to form SAX processing pipelines. Hence, the term “component pipelines” is frequently used.

The theory of “component pipelines” makes SoC a nearly effortless exercise. How it works is that each component within a pipeline is usually task fitted with a pre designated concern. For example, rendering the same content to a Cell Phone or to a Web Browser becomes a simple matter of plugging in the appropriate “style” component into the pipeline, allowing the “styler” to work independently from the content provider.

AddThis Social Bookmark Button

Ant and Its Targets

November 13th, 2007 admin Posted in Information Technology No Comments »

Ant is a grand open-source improvement tool from the Jakarta Project.Properties (that is, variables) are a very central part of Ant’s functioning. Generally, the important strings — directory names, file names, the class path — are acknowledged as <property> elements. This allows the programmer to swiftly change their value later on, even if one refers to them in numerous places. It also facilitates an easy overriding of their values, using (a) -Dfoo=bar on the command line, (b) the <ant> task, calling one ant file from another one, or (c) <property file=”…”>.

The <property file=”…”> construct is more often than not used to incorporate a file called build.properties. This is a principle used so that you can supersede default values for your local build atmosphere, without having to alter build.xml (which may, after all, be a shared file, under version control). This means that build.properties should not be under version Read the rest of this entry »

AddThis Social Bookmark Button