Ancestors

Toot

Written by meduz' on 2024-12-02 at 17:35

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

Descendants

Written by meduz' on 2025-01-05 at 18:27

Alternatively, as soon as I have time at work (worst case scenario, will happen during Summer), I might try to run #PHP in the browser using #WebAssembly (https://github.com/seanmorris/php-wasm).

Won't be able to call remote APIs but I'll be able to at least do some stuff faster (at least form validation). 🤞

=> More informations about this toot | More toots from meduz@m.nintendojo.fr

Written by dusoft on 2024-12-02 at 18:14

@meduz What about virtual machine with PHP? Also banned?

=> More informations about this toot | More toots from dusoft@fosstodon.org

Written by meduz' on 2024-12-02 at 22:39

@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

Written by dusoft on 2024-12-03 at 09:54

@meduz Sounds like dev environment is more like dev hell.

=> More informations about this toot | More toots from dusoft@fosstodon.org

Written by meduz' on 2024-12-03 at 11:35

@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

Written by dusoft on 2024-12-03 at 11:45

@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

Written by meduz' on 2024-12-03 at 13:21

@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

Written by dusoft on 2024-12-03 at 13:23

@meduz Great, keep doing good job!

=> More informations about this toot | More toots from dusoft@fosstodon.org

Written by Larry Garfield on 2025-01-06 at 00:58

@meduz Wait, wait, your company has you writing PHP code but won't let you run that code locally???

=> More informations about this toot | More toots from Crell@phpc.social

Written by meduz' on 2025-01-06 at 03:27

@Crell Yup, exactly. Not a “company”, but a government entity. I slightly elaborate in https://m.nintendojo.fr/@meduz/113585629663593437 and https://m.nintendojo.fr/@meduz/113588681923706449.

=> More informations about this toot | More toots from meduz@m.nintendojo.fr

Written by Larry Garfield on 2025-01-06 at 03:29

@meduz Uh, yeah, hostile work environment. If we had IT unions I'd say call your union rep. That's grossly unprofessional. And self-defeatingly stupid, as they're guaranteeing more bugs in production.

=> More informations about this toot | More toots from Crell@phpc.social

Written by meduz' on 2025-01-06 at 08:34

@Crell Yes it definitely is. It also make devs aiming at lower quality software.

I'm new to the org so it's still very early for me to try to change things. Also, the decision and power dynamics seem screwed, so for now my only goal is to practice more plain PHP and Vue, then I'll consider switching job if nothing changes and if I stop learning/practicing things I'm interested in.

=> More informations about this toot | More toots from meduz@m.nintendojo.fr

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113584435428274407
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
359.142295 milliseconds
Gemini-to-HTML Time
2.118449 milliseconds

This content has been proxied by September (ba2dc).