@bhaidar Modular? If the framework doesn't provide anything, it isn't modular; it's simply a micro-framework. You can compare FastAPI to a Slim/Lumen, nothing close to Laravel. The only advantage I see is the async I/O support, but that's basically a feat of Python as a language.
PHP teams are getting confused by the meaning of stateful applications in Laravel. It's not PHP-FPM anymore! I've compiled a list of things you might consider when using Laravel Octane. You can contribute if I'm missing something! ๐ค
#PHP#Laravel#Octane
https://t.co/2uWGEFM4ix
@catalinbanu@michabbb Yeah, there is an Octane compatibility rule in Larastan, but it doesn't check everything. Some custom rules will be required to fully automate this.
https://t.co/adCEhH6aAJ
@ShawnMcCool Have you tried things like Temporal in PHP for concurrency and distributed architecture? It was a killer feature when I discovered it. PHP workers may be less efficient than Java though the engine is written in Golang, and spawning a bit more workers is not a problem usually.
@TheCelavi @askonth @PovilasKorop Personally, I don't see why I shouldn't use the repository pattern even with Eloquent. C'mon, it's basic SoC. Less coupling and better testability. Those oversimplifications are going from people who never wrote a single unit test in their life.
@lucassahdo @JackEllis Genuinely curious why people say things like this. As a person who uses both Laravel and Symfony, I don't see how Laravel is different except you need to isolate Eloquent into the units of work.
@Sarvendev@imanthonyholmes@taylorotwell@driesvints ๐ No, I don't have it since my packages aren't so popular. I'm trying to keep them up-to-date anyway if I use them in production or if they are used by people according to Packagist stats. And yes, you can contribute to any of my packages, the response will be generally fast.
@ShawnMcCool As far as I remember, Liveview relies on websockets, while Livewire is on stateless web requests. Both frameworks are legit, and the question is still correct. I'd say SPA would be better only in one case: you need pure browser interactivity without relying on the server.
Need a simple PHP web service installation? Did you know you can run your Laravel Octane application without Nginx at all? Configure it to listen on port 80 and let Cloudflare handle SSL termination and asset caching. โจ
#php#laravel#octane