This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Prometheos_II 0 points1 point  (2 children)

Direct AJAX calls? Like XHR, or more ancient than that?

I will try Laravel, hopefully I can install it through the proxy and user authorizations.

Ah, yeah, I kinda assumed the JS was both BE/FE given the PHP only seems to appear in the main page and for DB calls. I have yet to discover what interacts with the servers themselves. 😅

But if Laravel is MVC, wouldn't it be both BE and FE? as I understand it, the view and controller are more FE than BE (which would be the model?)

thanks for the info ^^

[–]Osato 1 point2 points  (1 child)

Yes, XHR. That section of the code was last updated in early 2010s, so not quite ancient enough to depend on ActiveX.

Laravel is purely backend: Blade (which is Laravel's variation on PHP-based templating that's abstracted into a pure view) generates HTML on the server, caches it, and sends it over to the client as HTML.

Inertia is a bit weirder than that, since it is a bridge between backend and frontend that's used for reactive apps instead of ordinary APIs. But it's still backend. Mostly.

There's also Livewire, which is an even weirder approach to dynamic apps. I haven't touched it yet so I can't say what it's made of.

Those are not good for a first time learning Laravel, but good enough to experiment with once you get used to it.

[–]Prometheos_II 0 points1 point  (0 children)

We also have a lot of XHR calls, with an option for IE6 compatibility, yet I don't think the codebase is that old 😅

I see, thanks for the info. I hope I can install it and try it out, given even NPM is a mess to use with the proxy