You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Divesh Dutta (JIRA)" <ji...@apache.org> on 2016/06/21 10:46:57 UTC

[jira] [Commented] (OFBIZ-7520) Minilang code readability and consistency improvements

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

Divesh Dutta commented on OFBIZ-7520:
-------------------------------------

In this ticket we will also improve code readability in all the data files . In current code developer needs to scroll horizontally to read data. We will break the data so that developer will have to scroll vertically which will increase readability of data files. 

> Minilang code readability and consistency improvements
> ------------------------------------------------------
>
>                 Key: OFBIZ-7520
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7520
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Upcoming Branch
>            Reporter: Divesh Dutta
>            Assignee: Divesh Dutta
>
> Code written in minilang is not consistent through out the application and some times its hard to read. For eg:
> {code}
> <set from-field="productFacility.minimumStock"  field="minimumStock"/>
> {code}
> should be written as :
> {code}
> <set  field="minimumStock" from-field="productFacility.minimumStock" />
> {code}
> There are many such examples where code for all such tags in minilang can be improved, which will improve code readability and we will have consistency through out the application. This is a parent/place holder ticket, I will create logical sub-tickets for managing the effort. 



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