[Yanel-dev] Comment Status [WAS: Re: First prototype re commenting resources

Michael Wechner michael.wechner at wyona.com
Wed Mar 9 08:38:11 CET 2011


Hi Balz

On 3/9/11 7:49 AM, Balz Schreier wrote:
> Hi Michael,
> i was looking for a general term of "not public but approved and ok".
> so I quickly decided for "invisible".
> it is not only for achiving, it could also mean that a web site allows 
> a user, who is the author of a comment, to make his comment invisible 
> after the approval.
> so this status can be used for various use cases.

ok
>
> maybe there is a better name for it?

I  guess I would consider INVISIBLE as an additonal flag instead a 
workflow status on its own.

Hence the workflow status would be PUBLIC, but it has the flag 
invisible, because the end user
is given the right to "pull back" his/her comment, but is not allowed to 
change the workflow

Makes sense?

Thanks

Michael
> cheers
> balz
>
> On Tue, Mar 8, 2011 at 11:48 PM, Michael Wechner 
> <michael.wechner at wyona.com <mailto:michael.wechner at wyona.com>> wrote:
>
>     Hi Balz
>
>     The class
>     src/core/java/org/wyona/yanel/core/attributes/commentable/CommentStatusV1.java
>
>     current contains DRAFT, PUBLIC and INVISIBLE, whereas draft and
>     public are clear to me,
>     but what was your intention re INVISIBLE?
>
>     You mean in order to "archive" a comment (without deleting=?
>
>     Thanks
>
>     Michael
>
>     On 3/8/11 4:51 PM, Balz Schreier wrote:
>>     nice!
>>     JAXB has finally entered the world of Yanel :-)
>>
>>     The intention of introducing the YarepXMLBindingUtil class is
>>     also of course that realm specific XML<>JavaBean conversion
>>     should become a no brainer.
>>
>>     Cheers
>>     Balz
>>
>>     On Tue, Mar 8, 2011 at 4:45 PM, Michael Wechner
>>     <michael.wechner at wyona.com <mailto:michael.wechner at wyona.com>> wrote:
>>
>>         Hi
>>
>>         Based on the interfaces which Balz and I have created and
>>         based on Balz'
>>         src/core/java/org/wyona/yanel/core/util/YarepXMLBindingUtil.java
>>         class I have now created Comment Resource in order to comment
>>         (commentable) resources (like for example the XML resource).
>>
>>         Please find a first prototype within my personal Mercurial
>>         repository
>>
>>         http://hg.wyona.com/personal-michi/
>>
>>         whereas you can give it a try on the pages of the yanel
>>         website realm, e.g.
>>
>>         http://127.0.0.1:8280/yanel/yanel-website/en/about.html
>>
>>         (see at the bottom of the page the link "Add comment")
>>
>>         whereas with the current implementation an XML will be saved at
>>
>>         src/realms/yanel-website/data-repo/data/comments/en/about.html
>>
>>         Cheers
>>
>>         Michael
>>         -- 
>>         Yanel-development mailing list Yanel-development at wyona.com
>>         <mailto:Yanel-development at wyona.com>
>>         http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>>
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20110309/33060fb2/attachment.html>


More information about the Yanel-development mailing list