burtonator wrote:
> Raphael Luta wrote:
> >
> > burtonator wrote:
> >
> > > I am going to implement this... I am fairly sure that no one will -1 me
> > > :)
> > >
> > > In order to keep things consistent... and to avoid class naming
> > > collisions. I decided that in <psml> we should have
> > >
> > > <portlet-entry-ref name="BASE_PORTLET"/>
> > >
> > > instead of the current <portlet-entry ref="BASE_PORTLET"/>
> > >
> >
> > I knew you'd come to see the truth... :)
> >
> > Actually, I currently think the best construct is something like this:
> >
> > <view base="portlet_name" href="datasource_name_or_url" />
> >
> > Where portlet_name is a reference to the portlets as defined in the portlet
> > registry and the datasource_url_or_name is a reference to an entry in a
> > datasource registry.
>
> I am +0... are there any technical reasons to go this route?
>
> but maybe..
>
Mainly semantic. I view the Jetspeed system as using 3 kinds of non-engine
related components :
- viewers: basically takes a datasource and a set of parameters and produce
output an output from this. RSSPortlet is a typical case.
- datasources: these are data used to build the content, they must be uniquely
referenced by an URL and may be defined externally (from a content feed
for example). The FeeddDaemon currently builds a list of datasources (
except that it's implemented as portlets definition in the registry)
- producers: these components may be used to produce content based on
a URL and request parameters. (typical producers would be HttpProducer
to fetch URLs from the web, FileProducer to monitor local disk files,
MailProducer...)
The output of a producer is a datasource which can be displayed by a viewer.
Actions on the viewer can trigger updates on a datasource by notifying the
producer.
This *is* a kind of MVC (viewer=view, model = datasource,
producer = controller).
User PSML should only deal with the View part of this model, hence the
<view..> element.
>
> <view base-portlet""/> instead of just base. It does avoid
> confusion.... but then we would have:
>
> <portlet-set>
> <view/>
>
> ........ shouldn't this become view-set?
>
> Kevin
>
--
Raphael Luta - [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]