You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2017/09/23 12:36:02 UTC

[jira] [Comment Edited] (OFBIZ-9760) Using Bootstrap Framework for E-Commerce Website

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

Deepak Dixit edited comment on OFBIZ-9760 at 9/23/17 12:35 PM:
---------------------------------------------------------------

Taher Comments from User List

=========================================================
Essentially there are only certain locations in the ecommerce
component that require bling bling and fancy UI, and even some of
those can be done through Macros for the benefit of using them
elsewhere in the framework. So perhaps maybe we should think of the
items below in implementing what is proposed in this thread:
- If the feature is easy and straight forward, then the widget
implementation can be pure.
- If the feature is difficult, then it depends:
  - is it worth introducing in other components? If yes, it's better
to enhance the widget system by having XML translation to freemarker
macros
  - is it specific to the e-commerce component and not reusable
elsewhere? Then yeah fine drop down to <platform-specific ...> and do
your thing

The above approach might give us some advantages like:
- Reducing complexity: As it stands, I find the e-commerce component
to be one of the most challenging components to maintain and develop
because of the handcrafted interface
- Reuse: If we are apply the implementation through macros then we can
reuse everything in themes which means other components gain value
automatically.
- Reducing fragmentation: Having e-commerce behave one way and other
components behave another way is an added layer of complexity that can
be avoided if we work at the underlying widget infrastructure level.

Overall, good initiative. I'm always attracted first and foremost to
DRY so whenever people make suggestions for improvement the automatic
first thought in my mind is ... well how can we unify that everywhere.

Cheers
=========================================================



was (Author: deepak.dixit):
Taher Comments from Dev List

=========================================================
Essentially there are only certain locations in the ecommerce
component that require bling bling and fancy UI, and even some of
those can be done through Macros for the benefit of using them
elsewhere in the framework. So perhaps maybe we should think of the
items below in implementing what is proposed in this thread:
- If the feature is easy and straight forward, then the widget
implementation can be pure.
- If the feature is difficult, then it depends:
  - is it worth introducing in other components? If yes, it's better
to enhance the widget system by having XML translation to freemarker
macros
  - is it specific to the e-commerce component and not reusable
elsewhere? Then yeah fine drop down to <platform-specific ...> and do
your thing

The above approach might give us some advantages like:
- Reducing complexity: As it stands, I find the e-commerce component
to be one of the most challenging components to maintain and develop
because of the handcrafted interface
- Reuse: If we are apply the implementation through macros then we can
reuse everything in themes which means other components gain value
automatically.
- Reducing fragmentation: Having e-commerce behave one way and other
components behave another way is an added layer of complexity that can
be avoided if we work at the underlying widget infrastructure level.

Overall, good initiative. I'm always attracted first and foremost to
DRY so whenever people make suggestions for improvement the automatic
first thought in my mind is ... well how can we unify that everywhere.

Cheers
=========================================================


> Using Bootstrap Framework for E-Commerce Website
> ------------------------------------------------
>
>                 Key: OFBIZ-9760
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9760
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ecommerce
>    Affects Versions: Trunk
>            Reporter: Saurabh Dixit
>            Assignee: Saurabh Dixit
>
> Use of the bootstrap framework so that the UI of the e-commerce would be more arranged and user-friendly



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)