[Yanel-dev] What is a "usecase"?

Evaldas Taroza etaroza at optaros.com
Mon Feb 11 08:56:44 CET 2008


Michael Wechner wrote:
> Hi
> 
> We often use the term "usecase" and it seems to me it's 
> considered/defined some kind of action on a resource.
> 
> But what is it exactly? Is there some clear definition?

I also was confused in the beginning. As far as I understand there are 
two kinds of usecases:

1. Usecases that are refered through yanel.resource.usecase=XXX request 
parameter. These include for instance "delete" (or corresponds to 
DeletableV2).

2. Usecases that are part of the usecase framework by Josias:) There are 
resources that extend UsecaseResource which is actually an enhanced 
BasicXMLResource that allows nicer control on view descriptors. So to 
this kind of usecases you refer through yanel.resource.viewid=XXX 
request parameter.

Anyway, this ambiguity is not a very pleasant thing to have...

Evaldas

-- 
+41 79 616 53 76
www.linkedin.com/in/taroza

Optaros - www.optaros.com


More information about the Yanel-development mailing list