Hello Hans,

Hans Bakker <h.bak...@antwebsystems.com> writes:

> It is now almost 15 years ago i started with OFBiz. I always followed
> new technology developments and used them when they became usable in a
> production environment. That is why i joined OFBiz early. I also
> proposed years ago to go from svn to git that now finally is approved
> for OFBiz. I also proposed to replace the OFBiz framework with
> Moqui.org, yes I know a much bigger change but believe me, that will
> also happen one time for you.

I don't think this kind of communication style is very helpful in
general.  This sounds a lot like you are saying to the rest of us “You
are doing it wrong, I know better!”.

> We now support Moqui for about a year and the main reason we switched
> over is the excellent REST interface Moqui has. This allows you to
> have a user interface fully independent from Moqui, yes a website or a
> mobile application just using the data from Moqui via REST. All screen
> rendering is now done with for example the vue.js framework using
> javascript in the client, not using ftl at all, improving the user
> interface experience dramatically. So all templates and the rendering
> is in the client making it completely static and can be loaded from
> cdn networks.

This is indeed highly desirable to let other interfaces like Single Page
Applications (SPA) consume the data and manipulate the services OFBiz
provides via a RESTlike interface.

On the SPA side, I personally encourage you to look at frameworks based
on what is often referred as the “Elm Architecture” [1] (React/Redux,
Re-agent, Elm, …) for the reason that are based on a “one way data flow”
and embraces functional programming.  They differs from frameworks like
Angular or Vue which has a “two way data-binding” which mean that they
are inherently more complex and harder to reason about.

> My advise? If you want to extend the life of OFBiz implement a REST
> interface quickly...or copy it over from Moqui, no problem, the
> license allows it.

Could you present the design of Moqui REST support (architecture,
advantages, drawbacks, limitations, …) and give some pointers to the
implementation?

Additionally what would be your recommended strategy to port this work?
Are you willing to do the work?

Thanks.

[1] https://guide.elm-lang.org/architecture/

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37

Reply via email to