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

David E. Jones commented on OFBIZ-1648:
---------------------------------------

As far as that design philosophy goes, you're right. We disagree there.

Interfaces and base classes (along with many many other things) are easy to add 
when they are needed. This is the general philosophy behind refactoring. Keep 
things simple and implement for the clear requirements you have at the time. 
The nice thing about code is that it is easy to change... well, it is easy to 
change if one keeps the code as simple as possible in order to avoid the need 
for excessive refactoring effort later on.

The problem with speculative coding is that it is too easy to go in the wrong 
direction. Most of the OFBiz framework was written to replace things that were 
developed with lower level tools dozens of times before the higher level tool 
was written. The ones that were not created this way show and have generally 
more issues than others. Certain parts of the Menu Widget are examples of this, 
but far from the only ones.



> Sandbox: Improved Screen Widgets, adding 3rd party rendering library support
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-1648
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1648
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Adrian Crum
>            Priority: Minor
>         Attachments: widget_improvements.patch
>
>
> Discuss screen widget modifications and enhancements that will make the 
> screen widgets more robust. Everyone is welcome to review and comment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to