If like me you have to write #PHP code but can't run it on your machine because company decision :nard:, an online PHP shell might be useful to tinker small stuff. I found this one: https://3v4l.org
=> More informations about this toot | More toots from meduz@m.nintendojo.fr
@meduz What about virtual machine with PHP? Also banned?
=> More informations about this toot | More toots from dusoft@fosstodon.org
@dusoft Yes. :nard:
But Node is allowed so we can run front-end development stuff… but of course querying the PHP remote dev server from the browser does not work, so I have to upload / rsync files to be able to test. 🙃
And today I had a situation where session tokens granted by yet-another-system were never working because their server timeout, so I was like “is it my code, is it the laptop network, is it the remote system, is it planet alignment”.
Super slow and painful. :nard:
=> More informations about this toot | More toots from meduz@m.nintendojo.fr
@meduz Sounds like dev environment is more like dev hell.
=> More informations about this toot | More toots from dusoft@fosstodon.org
@dusoft Yup it is, unless you are doing only UI work that does not need server data. And the arguments for this restriction are pointless (“we don't trust developers to write code that needs to work in another environment 🤡”).
But I still prefer this over previous work with React all over the place (here it's old school PHP + Vue).
=> More informations about this toot | More toots from meduz@m.nintendojo.fr
@meduz I would be careful there what you wish for: https://infrequently.org/2024/11/if-not-react-then-what/
Also calling PHP old-school... More like it's been stable part of the web for 25+ years. Let's see where frameworks like React and Vue are around after 25+ years.
=> More informations about this toot | More toots from dusoft@fosstodon.org
@dusoft Rephrasing: the PHP we do is old school, which doesn't mean PHP is (Laravel is my go-to backend of choice), and me saying Vue is far ahead of React doesn't mean I only do Vue.
Almost all my side projects are progressively enhanced, using 0 JS framework. :n8rd:
=> More informations about this toot | More toots from meduz@m.nintendojo.fr
@meduz Great, keep doing good job!
=> More informations about this toot | More toots from dusoft@fosstodon.org This content has been proxied by September (ba2dc).Proxy Information
text/gemini