You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Henry Story (JIRA)" <ji...@apache.org> on 2011/03/16 11:24:29 UTC

[jira] Commented: (CLEREZZA-460) Use whiteboard pattern for Renderlets

    [ https://issues.apache.org/jira/browse/CLEREZZA-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13007402#comment-13007402 ] 

Henry Story commented on CLEREZZA-460:
--------------------------------------

I am not sure about the priority maths, but I suppose we will when we see the code. Having a system that makes it easier to register renderlets seems like a good idea.

btw. I just came across this
http://doc.akka.io/http

A Scala, JSR311 actor based framework that functions with Jetty.

> Use whiteboard pattern for Renderlets
> -------------------------------------
>
>                 Key: CLEREZZA-460
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-460
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Reto Bachmann-Gmür
>            Assignee: Reto Bachmann-Gmür
>
> The current mechanism for renderlets is overly complex. Instead of describing renderlets in a graph rendelets should be services that have properties indicating the rdf type and the mode-pattern they handle.
> The priority for selecting renderlets should be:
> - type, according to type-priority list
> - length of regex math (the matching regex with the most alphanumeric characters wins)
> - startlevel of the bundle providing the service

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira