You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Simone Tripodi (JIRA)" <ji...@apache.org> on 2008/11/04 15:38:44 UTC

[jira] Created: (COCOON3-10) Packages could be re-organized

Packages could be re-organized
------------------------------

                 Key: COCOON3-10
                 URL: https://issues.apache.org/jira/browse/COCOON3-10
             Project: Cocoon 3
          Issue Type: Improvement
          Components: cocoon-pipeline
    Affects Versions: 3.0.0-alpha-2
            Reporter: Simone Tripodi
            Assignee: Cocoon Developers Team
             Fix For: 3.0.0-alpha-2
         Attachments: PackageOrganizing.patch

According to older cocoon's taxonomy, packages - particularly the xml package - could be re-organized, discerning the roles of cocoon's components:

- generators
- serializers
- transformer

This is a nice way to maintain well-organized the code.

What do you think about it?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COCOON3-10) Packages could be re-organized

Posted by "Simone Tripodi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON3-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Tripodi updated COCOON3-10:
----------------------------------

    Attachment: PackageOrganizing.patch

The attached patch demonstrates how components could be organized

> Packages could be re-organized
> ------------------------------
>
>                 Key: COCOON3-10
>                 URL: https://issues.apache.org/jira/browse/COCOON3-10
>             Project: Cocoon 3
>          Issue Type: Improvement
>          Components: cocoon-pipeline
>    Affects Versions: 3.0.0-alpha-2
>            Reporter: Simone Tripodi
>            Assignee: Cocoon Developers Team
>            Priority: Trivial
>             Fix For: 3.0.0-alpha-2
>
>         Attachments: PackageOrganizing.patch
>
>
> According to older cocoon's taxonomy, packages - particularly the xml package - could be re-organized, discerning the roles of cocoon's components:
> - generators
> - serializers
> - transformer
> This is a nice way to maintain well-organized the code.
> What do you think about it?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (COCOON3-10) Packages could be re-organized

Posted by "Reinhard Poetz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON3-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reinhard Poetz closed COCOON3-10.
---------------------------------

    Resolution: Fixed

All SAX specific classes were moved into a separate module. While doing this the package structure was also restructured.

> Packages could be re-organized
> ------------------------------
>
>                 Key: COCOON3-10
>                 URL: https://issues.apache.org/jira/browse/COCOON3-10
>             Project: Cocoon 3
>          Issue Type: Improvement
>          Components: cocoon-pipeline
>    Affects Versions: 3.0.0-alpha-2
>            Reporter: Simone Tripodi
>            Assignee: Cocoon Developers Team
>            Priority: Trivial
>             Fix For: 3.0.0-alpha-2
>
>         Attachments: PackageOrganizing.patch
>
>
> According to older cocoon's taxonomy, packages - particularly the xml package - could be re-organized, discerning the roles of cocoon's components:
> - generators
> - serializers
> - transformer
> This is a nice way to maintain well-organized the code.
> What do you think about it?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON3-10) Packages could be re-organized

Posted by "Steven Dolg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON3-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645830#action_12645830 ] 

Steven Dolg commented on COCOON3-10:
------------------------------------

That is something we should do - rater sooner than later.
Distinguishing between the roles components can have seems to be a good idea.

What I thought about was moving all XML components from the pipeline into their own module.
Actually that's an idea someone else (I believe it was Carsten) had quite some time ago - I just didn't thought it was necessary.
However the pipeline module has grown quite large since that.

On top of that a package reorganisation as proposed here should be done.

> Packages could be re-organized
> ------------------------------
>
>                 Key: COCOON3-10
>                 URL: https://issues.apache.org/jira/browse/COCOON3-10
>             Project: Cocoon 3
>          Issue Type: Improvement
>          Components: cocoon-pipeline
>    Affects Versions: 3.0.0-alpha-2
>            Reporter: Simone Tripodi
>            Assignee: Cocoon Developers Team
>            Priority: Trivial
>             Fix For: 3.0.0-alpha-2
>
>         Attachments: PackageOrganizing.patch
>
>
> According to older cocoon's taxonomy, packages - particularly the xml package - could be re-organized, discerning the roles of cocoon's components:
> - generators
> - serializers
> - transformer
> This is a nice way to maintain well-organized the code.
> What do you think about it?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COCOON3-10) Packages could be re-organized

Posted by "Simone Tripodi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON3-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Tripodi updated COCOON3-10:
----------------------------------

    Priority: Trivial  (was: Major)

This issue priority is very low...

> Packages could be re-organized
> ------------------------------
>
>                 Key: COCOON3-10
>                 URL: https://issues.apache.org/jira/browse/COCOON3-10
>             Project: Cocoon 3
>          Issue Type: Improvement
>          Components: cocoon-pipeline
>    Affects Versions: 3.0.0-alpha-2
>            Reporter: Simone Tripodi
>            Assignee: Cocoon Developers Team
>            Priority: Trivial
>             Fix For: 3.0.0-alpha-2
>
>         Attachments: PackageOrganizing.patch
>
>
> According to older cocoon's taxonomy, packages - particularly the xml package - could be re-organized, discerning the roles of cocoon's components:
> - generators
> - serializers
> - transformer
> This is a nice way to maintain well-organized the code.
> What do you think about it?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON3-10) Packages could be re-organized

Posted by "Simone Tripodi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON3-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645841#action_12645841 ] 

Simone Tripodi commented on COCOON3-10:
---------------------------------------

I agree with you, Steven!

Even if it's not necessary, it could be useful (and nice in therms of design) separating the pure pipeline APIs from XML specific APIs, one scope could be reusing the basic APIs to implement other different - and XML independent - kinds of pipelines, like text processors, filters, and so on. 

In that way, the pipeline package is a light and self-contained package, without any dependency - at least the Logger, like now.

The XML module could be merged with the optional module, that contains XML only related classes + dependencies.


> Packages could be re-organized
> ------------------------------
>
>                 Key: COCOON3-10
>                 URL: https://issues.apache.org/jira/browse/COCOON3-10
>             Project: Cocoon 3
>          Issue Type: Improvement
>          Components: cocoon-pipeline
>    Affects Versions: 3.0.0-alpha-2
>            Reporter: Simone Tripodi
>            Assignee: Cocoon Developers Team
>            Priority: Trivial
>             Fix For: 3.0.0-alpha-2
>
>         Attachments: PackageOrganizing.patch
>
>
> According to older cocoon's taxonomy, packages - particularly the xml package - could be re-organized, discerning the roles of cocoon's components:
> - generators
> - serializers
> - transformer
> This is a nice way to maintain well-organized the code.
> What do you think about it?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.