[jira] [Created] (OFBIZ-4750) ProductCategories.groovy loads the full Category-Tree

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

[jira] [Created] (OFBIZ-4750) ProductCategories.groovy loads the full Category-Tree

Nicolas Malin (Jira)
ProductCategories.groovy loads the full Category-Tree
-----------------------------------------------------

                 Key: OFBIZ-4750
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4750
             Project: OFBiz
          Issue Type: Improvement
          Components: specialpurpose/ecommerce
    Affects Versions: SVN trunk
            Reporter: Markus M. May
            Priority: Minor


For the leftbar-screen in the ecommerce application the ProductCategories.groovy loads the full category tree. This is nice as long as the data records are beneath a certain amount. Also currently the "center" of the main decorator is loaded via AJAX.

This is in principle a valid solution, but IMHO the ecommerce application is a showcase, where we should think slightly more about the design.

I would suggest the following:

Load only the first category-level via the ProductCategories.groovy and reload a certain branch of the category-tree via ajax. This would speed up the load process and enables users of ofbiz to not use the projectlist reload via ajax, which is impossible due to changes in the leftbar during the navigation in the category-tree.

What do you think?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4750) ProductCategories.groovy loads the full Category-Tree

Nicolas Malin (Jira)

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

Hans Bakker commented on OFBIZ-4750:
------------------------------------

sounds very food....however, please note only categories are loaded which have at least a relation to one product OR a lower level category has at least a single product......

Then you proposal gets difficult to implement?

Regards,
Hans
               

> ProductCategories.groovy loads the full Category-Tree
> -----------------------------------------------------
>
>                 Key: OFBIZ-4750
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4750
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: specialpurpose/ecommerce
>    Affects Versions: SVN trunk
>            Reporter: Markus M. May
>            Priority: Minor
>
> For the leftbar-screen in the ecommerce application the ProductCategories.groovy loads the full category tree. This is nice as long as the data records are beneath a certain amount. Also currently the "center" of the main decorator is loaded via AJAX.
> This is in principle a valid solution, but IMHO the ecommerce application is a showcase, where we should think slightly more about the design.
> I would suggest the following:
> Load only the first category-level via the ProductCategories.groovy and reload a certain branch of the category-tree via ajax. This would speed up the load process and enables users of ofbiz to not use the projectlist reload via ajax, which is impossible due to changes in the leftbar during the navigation in the category-tree.
> What do you think?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Issue Comment Edited] (OFBIZ-4750) ProductCategories.groovy loads the full Category-Tree

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Hans Bakker edited comment on OFBIZ-4750 at 3/22/12 11:34 AM:
--------------------------------------------------------------

sounds very good....however, please note only categories are shown which have at least a relation to one product OR a lower level category has at least a single product......

Then you proposal gets difficult to implement?

Regards,
Hans
               
      was (Author: hansbak):
    sounds very food....however, please note only categories are loaded which have at least a relation to one product OR a lower level category has at least a single product......

Then you proposal gets difficult to implement?

Regards,
Hans
                 

> ProductCategories.groovy loads the full Category-Tree
> -----------------------------------------------------
>
>                 Key: OFBIZ-4750
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4750
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: specialpurpose/ecommerce
>    Affects Versions: SVN trunk
>            Reporter: Markus M. May
>            Priority: Minor
>
> For the leftbar-screen in the ecommerce application the ProductCategories.groovy loads the full category tree. This is nice as long as the data records are beneath a certain amount. Also currently the "center" of the main decorator is loaded via AJAX.
> This is in principle a valid solution, but IMHO the ecommerce application is a showcase, where we should think slightly more about the design.
> I would suggest the following:
> Load only the first category-level via the ProductCategories.groovy and reload a certain branch of the category-tree via ajax. This would speed up the load process and enables users of ofbiz to not use the projectlist reload via ajax, which is impossible due to changes in the leftbar during the navigation in the category-tree.
> What do you think?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira