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

Jacques Le Roux commented on OFBIZ-9350:
----------------------------------------

One *important* thing we should not forget when replacing minilang is its 
ability to not need to compile. So for instance when replacing minilang 
services, and in general when writing *small* services, it's better to use 
Groovy (than eg Java) which as the same no compile needed ability. Of course 
when the service definition change this does not apply. At large it makes quite 
a difference when you want to develop fast. I did not say it's more reliable 
and easier to refactor (obviously it's not, Groovy is optionnaly typed, 
contrary to Java which is type safe)

> 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
>    Affects Versions: Trunk
>            Reporter: Michael Brohl
>            Assignee: Michael Brohl
>            Priority: Minor
>              Labels: documentation
>
> 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 Java code [3]
> 5. start an initiative to replace existing mini lang code with Java code 
> where applicable. This needs some more planning and discussion which parts 
> we'll like to replace with Java 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/OFBADMIN/Coding+Conventions



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to