microsling: SlingScriptResolver should use more user-friendly script names
--------------------------------------------------------------------------

                 Key: SLING-52
                 URL: https://issues.apache.org/jira/browse/SLING-52
             Project: Sling
          Issue Type: Improvement
          Components: microsling
            Reporter: Bertrand Delacretaz
            Priority: Minor


Script names like get.text_html.vlt are not very user-friendly: GET is the most 
often used method by far so we could probably get rid of it in names, and we 
could use only the second part of the response content-type, at least for 
well-known content types.

So script names could be something like:

html.vlt = GET that returns HTML
edit/html.vlt = same but with an "edit" selector, request = something.edit.html

pdf.xsl = GET that returns PDF (we don't have that one yet though)

POST.js = POST that is processed in javascript (response Content-Type is 
defined by POST code)
PUT.js = same for a PUT

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

Reply via email to