[web] Template-based producers should be a single producer
----------------------------------------------------------

                 Key: LABS-250
                 URL: https://issues.apache.org/jira/browse/LABS-250
             Project: Labs
          Issue Type: Improvement
          Components: Magma
    Affects Versions: Current
            Reporter: Simone Gianni
            Assignee: Simone Gianni
             Fix For: Future


Currently there are different producers for different templating systems, like 
VelocityHtmlProducer, JSPHtmlProducer etc.. 

This is not the kind of iterative development we are searching for, instead 
there should be a single TemplateBasedProducer, and using aspects on the 
constructor (the AOP equivalent of the factory pattern), each templating system 
should replace this producer with the proper subclass after detecting the 
presence of a template file it can use.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to