You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/02/26 11:21:51 UTC
[jira] Closed: (SLING-272) Change default server-side JavaScript
extension
[ https://issues.apache.org/jira/browse/SLING-272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger closed SLING-272.
-----------------------------------
Resolution: Fixed
Adapted unit tests in Rev. 631158.
Now considering this issue fixed.
> Change default server-side JavaScript extension
> -----------------------------------------------
>
> Key: SLING-272
> URL: https://issues.apache.org/jira/browse/SLING-272
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: 2.0.0
>
>
> As discussed on the dev list [1], the server-side file extension for JavaScript sources should be changed. Currently it is ".js", which is also used to identify client-side JavaScript to be run in browsers. To prevent collisions in both server-side script execution support and human recognization, the server-side file extension should be changed.
> Two options are at discussion: .ecma or .es. As .es reminds me of the two-letter country code of Spain (yes, this a human brain thing, not technical ...), I would actually prefer .ecma. This also leans to wards the official name of the language ECMAScript.
> In addition, it alligns well with the jsp extension: "jsp" is short for "java server pages", where java is also used as a file extension for source code. For JavaScript it is "esp" for "ECMAScript server pages" and "ecma" for the plain language source code.
> [1] http://www.mail-archive.com/sling-dev@incubator.apache.org/msg02830.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.