[ 
https://issues.apache.org/jira/browse/SLING-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13618788#comment-13618788
 ] 

Bob Paulin commented on SLING-2805:
-----------------------------------

This makes sense.  Switching to InputStreams is pretty straightforward and so 
is allowing compilers to read mime type as well as extension.  Consolidation 
and chaining will take some thought.  My current thinking is to create a mixin 
that may be added to a folder containing web resources (some compiled and some 
not).  So that all the resources in the folder with the mixin would be compiled 
and consolidated into a single js or css.  Then it would be up to a new 
consolidator service to combine the files of the same type together. Then the 
tablib could output the proper tag for the given compiled resource.
                
> Sling Web Resource Cache and Compiler
> -------------------------------------
>
>                 Key: SLING-2805
>                 URL: https://issues.apache.org/jira/browse/SLING-2805
>             Project: Sling
>          Issue Type: New Feature
>          Components: Samples
>            Reporter: Bob Paulin
>            Priority: Minor
>
> Implemented contrib project to allow for the development web resource 
> compiler plugins for languages such as CoffeeScript to compile and cache 
> content on the JCR.  This might make a nice addition to the contrib section.  
> See implementations at
> https://github.com/bobpaulin/sling-web-resource.git
> Example implementation for CoffeeScript.  Includes CoffeeScript unit tests.
> https://github.com/bobpaulin/sling-coffee.git

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to