This topic is locked

Improve the development of mobile applications

9/19/2024 7:38:21 AM
Suggestions
fhumanes author

I know that it cannot be in the short term, but I think that in the future the product should evolve to a UI of user developed in JavaScript, of the react type.

This would affect desktop applications, but above all, the "world" of mobile applications would open us, which I understand is important if our developments leave the office.

https://legacy.reactjs.org/

Greetings,
fernando

H
headingwest 10/18/2024

This one would be great

M
MikeT 10/22/2024

I disagree but will probably be in the minority. If you want to do a react app, you need a JSON backend, that you can do with PHPr, but keep the frontend js (bloat, I might add;-)) separate and as a separate repository / development environment.
We can already see a bit of a comeback of hypertext as it was always intended (JSON is not REST...). See htmx, data-star, turbo, unpoly, etc etc.

I can see the integration of something like htmx in phpr, but not something like react. htmx is a bit like jQuery on steroids for frontend enhancements with minimal effort and without the bloat.

Just my 2 cents.

fhumanes author 10/24/2024

Thanks @MikeT, for your opinion.

Almost all mobile application developers are developing with the SPA solution.

https://en.wikipedia.org/wiki/single-page_application

I think it would be very positive for evolution to be in that sense.

I am aware that the change is large and therefore, it cannot be in the short term, but at this time, many important companies are using this technology for desktop and mobile applications.

Greetings,
fernando

M
MikeT 10/25/2024

Yes I'm aware of that, but I think it was an error;-), and it's not suited for the "philosophy" of phpr to integrate such a complex other framework. Just my opinion.
You could still use phpr to create / admin a backend for a React etc. app if you go this route.

I urge everyone to take a look on hypertext libraries of the last several years (htmx, unploy, data-star etc etc). You 90% there with these libraries, it let's you create reactive UIs without the cruft.
And if you need more, phpr is not the right choice in my opinion.

fhumanes author 10/26/2024

Thanks @MikeT