ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taher Alkhateeb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-5776) Move static resources from framework/images to framework/resources webapp
Date Mon, 29 Aug 2016 15:10:21 GMT

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

Taher Alkhateeb commented on OFBIZ-5776:

I do not have a firm opinion, and I am just brainstorming so feel free to correct me on anything:

My vision for the common theme is that of something that is completely compatible with the
widget DSL but nothing more. To say it in another way it is the minimum that is needed for
the widget DSL to work correctly. This would include the JavaScript libraries that we agree
on as being essential and the CSS Frameworks that we consider essential as well and any other
web artifacts. This would also include the essential data in the database for the themes to
operate correctly.

Now imagine that you have a bug in your user interface and you suspect that this bug has nothing
to do with the back end but it's strictly a web thing. So you go to Firebug or whatever your
tool is and you start investigating what is going on. The problem with the themes is that
they are too fat as they contain much more than what is needed. So what is the solution in
this case? You simply switch to the common theme and start investigating.

Also how do you know that your common theme is able to do everything that the widget DSL asks
of it? Well the best way to know is to watch it so you turn on the common theme and start
exploring the screens to make sure that everything works as intended

So these are some reasons why I would like it to be a theme and not just a folder. Again this
is nothing more than ideas cooking in my head right now.

> 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
>            Assignee: 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

View raw message