[RT] Decoupling Tasks from Doctypes

Andreas Hartmann <[email protected]>
Newsgroups gmane.comp.cms.wyona.devel
Message-ID <[email protected]>
Hi Wyona developers,

currently tasks are closely related to document types:

You can define a task set for every document type.
The scheduler screen takes a doctype as parameter and
displays all possible tasks for this doctype. This
leads to "dummy" doctypes that are only used for
task scheduling.

Maybe we should decouple tasks from doctypes.


My first idea:
You can define independent task sets and pass a task
set to the scheduler. Maybe it is useful to assign
a task set to a doctype.

The main drawback is that more configuration is
needed.


Another idea is to introduce a "page type" that contains
- menu definition
- tasks (optional) including parameter definitions
- a document type (optional)
- ...

This way, it might be possible to simplify the scheduler
interface (currently a lot of request parameters are
needed).

I have to think about the pros and cons of this solution.
Just an idea ...


Andreas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.