You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Rohit Koushal (Jira)" <ji...@apache.org> on 2023/02/08 18:08:00 UTC

[jira] [Commented] (OFBIZ-9350) Deprecate Mini Lang

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

Rohit Koushal commented on OFBIZ-9350:
--------------------------------------

Is the focus on this area still ongoing? I observe a considerable number of changes(patches, pull requests). I would like to respectfully highlight the possibility that these changes may eventually become outdated if there are any improvements or bug fixes implemented in the minilang.

> Deprecate Mini Lang
> -------------------
>
>                 Key: OFBIZ-9350
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9350
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL APPLICATIONS, ALL COMPONENTS, ALL PLUGINS
>    Affects Versions: Trunk, Upcoming Branch
>            Reporter: Michael Brohl
>            Assignee: Nicolas Malin
>            Priority: Minor
>              Labels: documentation, refactoring
>
> According to the proposal thread in [1] we decided to deprecate mini lang.
> This issue tracks the next steps proposed in the aformentioned thread, namely:
> 1. create a Wiki page for the documentation and description of the migration process and how mini lang will be replaced.
> 2. prominently state in the Wiki that minilang will be deprecated, e.g. in [2]
> 3. put deprecation tags in the corresponding code
> 4. kindly ask contributors with open patches written in mini lang to replace them by Groovy code [3]
> 5. start an initiative to replace existing mini lang code with Groovy code where applicable. This needs some more planning and discussion which parts we'll like to replace with Groovy code and which parts will better be replaced by some kind of DSL. A good starting point can be [4][5][6].
> [1] [https://lists.apache.org/thread.html/253b41060a295b8ab68bc78763cc129fc74b712cf776f8716022097f@%3Cdev.ofbiz.apache.org%3E]
>  [2] [https://cwiki.apache.org/confluence/display/OFBADMIN/Mini+Language+-+minilang+-+simple-method+-+Reference]
>  [3] does anyone know a way to batch comment Jira issues like it is possible in Redmine?
>  [4] [https://cwiki.apache.org/confluence/display/OFBIZ/Groovy+DSL+for+OFBiz+business+logic]
>  [5] [https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide]
>  [6] [https://cwiki.apache.org/confluence/display/OFBIZ/Coding+Conventions]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)