portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Ruttimann <roger...@apache.org>
Subject Re: [J2] Portlet Frameworks subproject proposal
Date Mon, 26 Jul 2004 04:51:55 GMT
+1 on the Framework.
I submitted the Perl and PHP framework as portlet applications (no 
dependencies on J2) which could easily ported over to the the proposed 
framework.

Roger

Ate Douma wrote:

> Hi all,
>
> Currently, the struts-portlet framework is within its own subproject.
> Recently, Roger Ruttiman added PHP and Perl portlet support to J2.
>
> Other web frameworks I expect J2 to support for Portlet development in 
> the (near) future are at least Velocity, JSF and Spring.
>
> I propose to create a new portlet-frameworks subfolder under J2 to 
> group these these framework wrappers/bridges, each as a separate 
> subproject so they can be used independently.
>
> To allow as much independence on J2 itself so portlets based on the 
> bridges can also be deployed on other JSR-168 compliant portals, I 
> also propose that these bridges should not contain any J2 specific 
> code but only use J2 agnostic interfaces. The StrutsPortlet and the 
> PHPPortlet already have such a spi. Jetspeed implementations of these 
> interfaces should of course *not* be part of these subprojects but can 
> go into the commons subproject.
>
> Several common features of these bridges (like the spi of the 
> StrutsPortlet and PHPPortlet which have the same functionality, or url 
> parameter rewriting) should as much possibly be put in a common 
> subproject.
>
> The current o.a.j.portlet.ServletPortlet is also generic enough to be 
> put there.
>
> As a side note:
> Next week I will start creating a base ServletRenderFilterPortlet 
> which will (optional) allow SiteMesh to decorate the render result of 
> portlets using servlet 2.3 (only from servlet 2.4 servlet filters can 
> be used for included requests). I will then extend StrutsPortlet from 
> the ServletRenderFilterPortlet so SiteMesh can be used to decorate 
> Struts portlets. If it all works out well the 
> ServletRenderFilterPortlet can also go into the framework common package.
>
> I like also to propose a common base package for these bridges:
>   org.apache.jetspeed.portlet.framework.
>
> Then you will get:
>   org.apache.jetspeed.portlet.framework.cocoon
>   org.apache.jetspeed.portlet.framework.common
>   org.apache.jetspeed.portlet.framework.myfaces
>   org.apache.jetspeed.portlet.framework.perl
>   org.apache.jetspeed.portlet.framework.php
>   org.apache.jetspeed.portlet.framework.spring
>   org.apache.jetspeed.portlet.framework.struts
>   org.apache.jetspeed.portlet.framework.velocity
>   ...
>   (getting excited here)
>
> As artifacts of these projects I propose:
>   jetspeed-framework-<framework>-<version>.jar, and
>   jetspeed-framework-<framework>-spi-<version>.jar (if needed)
>
> Then you will get artifacts like 
> jetspeed-framework-struts-2.0-a1-dev.jar and 
> jetspeed-framework-common-2.0-a1-dev.jar
>
> If we can agree on this proposal I'd like to have the struts portlet 
> moved into this new structure early next week, so please be kind to 
> respond asap.
>
> Regards,
>
> Ate
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message