[jira] [Comment Edited] (OFBIZ-5776) Move static resources from framework/images to framework/resources webapp

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (OFBIZ-5776) Move static resources from framework/images to framework/resources webapp

Nicolas Malin (Jira)

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

Pierre Smits edited comment on OFBIZ-5776 at 11/21/14 7:52 AM:
---------------------------------------------------------------

Deepak,

Your last posting showed something that made me wonder about this a bit. Basically you're saying that you must remove the static stuff out from where it is, because the same place gets filled with product images when used in a production setup.

That seems to me the wrong way around, as you would - in a sense - end up storing production data (images in this case) in a code location (the component in the framework stack). Better is it to separate (production) data locations from code locations.

There are means available to define where images are (or can be) stored.

Regards,

Pierre


was (Author: pfm.smits):
Deepak,

Your last posting showed something that made me wonder about this a bit. Basically you're saying that you must remove the static stuff out where it is, because the same place gets filled with product images when used in a production setup.

That seems to me the wrong way around, as you would - in a sense - end up storing production data (images in this case) in a code location (the component in the framework stack). Better is it to separate (production) data locations from code locations.

There are means available to define where images are (or can be) stored.

Regards,

Pierre

> Move static resources from framework/images to framework/resources webapp
> -------------------------------------------------------------------------
>
>                 Key: OFBIZ-5776
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5776
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Deepak Dixit
>            Priority: Minor
>         Attachments: OFBIZ-5776.patch
>
>
> Move all the static resources form images webapp to resources webapp, as they all are more related to resources rather then images.
> Also we need to rearrange these resources based on their purpose, like
> - Move all js related files and plugins under resources/js
> - Move all the css related files and plugins under resources/css
> - Move all the images related to js and css under resources/images or resources/img



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)