3 ms·
I tried Latavel, but there were some points that made me want to drop it very fast. I work on Windows and I chose a PHP variant (don't remember, maybe one that
by 7bit 2y ago
I tried Latavel, but there were some points that made me want to drop it very fast.
I work on Windows and I chose a PHP variant (don't remember, maybe one that supports threads or async) that did not work on Windows very well. Starting up a Latavel server took minutes. Took me hours to finally find that the PHP binary itself was the root cause. It should not be that way.
Then installing Compose on Windows was horrible. I believe I had to install PHP and compose in C:\php or it just would not work. The compose "installer" did a bunch of stuff to my Windows which I did not want. Installing it manually was a pain in the ass.
All in all, the experience was exactly the same as in the 2000's (horrible).
After I setup my first Latavel project and had some question, it was really difficult to get answers. The docs are really good, but also fragmented as hell with all the approaches one could take to rendering content, depending on what you choose and how you approach it. The forums - although big - seemed dead when I stated my question.
I don't know man, my experience with Django is so much better.
- graemep 2y agoYou are not likely to deploy it to Windows in production, so develop on Windows? Does WSL not solve this problem? Or a VM of any sort?
- 7bit 2y agoI could solve these issues with the suggestions you made, but why? I can develop stuff in many languages directly in Windows just fine, and I frankly am not willing to jump through hoops so I can do the same stuff with PHP -- that I can conveniently with Python, JS, dotnet, Java, Elixir, Rust, C/C++ and many other languages. I never found anything so complex and buggy as PHP.
- graemep 2y agoCertainly if you do not like PHP. However, if you wanted to use it there is no real reason not to. My usage of PHP has been using software written by other people but customising - and there is a lot of useful stiff written in PHP. I prefer Python if doing something from scratch, but I would rather write a small amount of PHP to add a bit of functionality rather than write 10× the amount of Python because I need to write everything from scratch.
- 7bit 2y agoThat's completely besides the topic I was commenting.
- nchmy 2y agoWsl2 is the way. And for php development, use ddev.