Hi Michael, Trust me it's not a kind of hype, Take a look at this video, https://www.youtube.com/watch?v=POK4Zp1oRN8 This man, Wim Deblauwe , Explains it with thymeleaf and spring framework. But the same also applies with OFBiz and freemarker. And of course, we have to provide complex examples for OFBIz, And search for more videos for this man , He is considered a Spring+thymeleaf+Htmx tech leader (he has written 2 books about).
Best Regards On Thu, Oct 31, 2024 at 7:20 PM Michael Brohl <michael.br...@ecomify.de> wrote: > Hi, > > htmx seems have some kind of hype even though the project has it's roots > in 2013 with intercooler.js. So, not a new idea but interesting for > simple use cases. > > afaik, from some brief investigations, htmx cannot replace jQuery, as it > is expected that the server does provide rendered html to be displayed > in the corresponding container. > Even though JSON plugins exist, it does not seem to have a great > importance. > > For more complex use cases, where you need templates to render the > response of an ajax call, it seems not to be sufficient. > > Best way to prove its usefulness would be to provide more complex, OFBiz > related examples and compare the legacy and htmx solutions. > > Best regards, > > Michael Brohl > > ecomify GmbH - www.ecomify.de > > > Am 31.10.24 um 15:05 schrieb Florian Motteau: > > Hi, > > > > Indeed htmx seems to be a very convenient tool, I've been wanting to > > try it for a long time (never did though, read about it, watched > > videos showcasing it). > > > > Nevertheless, AFAIK htmlx (which is a JavaScript library) could be a > > great replacement for AJAX stuff (sending asynchronous requests, > > updating the DOM on response), but I think we would still a lot of > > what lives in OfbizUtil.js and handles UI things like datepickers, > > popups, fields validation etc. That could be a great addition for > > sure, but IMHO it cannot replace on its own jQuery and the jQuery > > plugins used in OFBiz. > > > > I would be very interested to see what you made so far to integrate > > htmx to OFBiz. > > > > Le 31/10/2024 à 14:39, Jacques Le Roux a écrit : > >> Great, > >> > >> That sound to confirm again > >> https://lists.apache.org/thread/pxoq4484jws79jvw3ct501nt3t26hlyw > >> > >> We really need to seriously investigate now... > >> > >> Jacques > >> > >> Le 31/10/2024 à 14:25, Omar Abdullwahhab a écrit : > >>> Hi All. > >>> > >>> Today I was playing around the client side in OFBIZ, > >>> I'm actually not a fan of JS or its frameworks. > >>> I tried making a test to replace it with htmx. > >>> It was very good and easy to integrate with OFBiz and Freemarker. > >>> Please have a look > >>> https://htmx.org/docs/ > >>> I am sure it will be a proven technology for OFBiz. > >>> Regards > -- Omar Abu-Arab Java Engineer