|
What's the best and easiest way to parse an RSS feed? I don't want to do anything advanced, just add a weather feature to the side of my web application that downloads its information from an Aussie weather site. (It's necessary for the kind of work that we do).
|
# ¿ Nov 11, 2008 00:34 |
|
|
# ¿ May 17, 2024 16:24 |
|
Can someone give me a rundown on state machines and any reputable libraries? For something simple like a support ticket being opened, moving to a different status level, and closing, etc.
|
# ¿ Dec 24, 2018 02:12 |
|
I'm in perpetual PHP5 refactor hell and I don't see the end in sight. I'm so, so tired.
|
# ¿ Nov 3, 2022 16:23 |
|
I'm trying to get up to speed on modern PHP since I haven't touched it in 15 years and probably would have made these same mistakes back then too. I think laravel is probably going to be the quickest way to migrate and rewrite this trash fire, but I'm not sure how to put the old site behind the laravel authentication. The old app is exactly what you'd expect. Include with a check login against php session. I've been replacing the old db connections to pdo.. discovered that moving to MySQL 8 broke some hard coded queries that aren't compatible. Oh yeah global variables too. It isn't worth any more headaches to keep trying to fiddle with it. I want to give the users a laravel login, find a way to also link it to their old authentication, and then tackle each page at a time. I also want to refactor the old database tables into a new schema. I started making views to query instead, which renamed the columns to something more consistent. And ultimately drop the old mysql when it's all in a framework and maintainable. Any advice would be welcome. I've had a week of sleepless nights on this and I'm second guessing a lot of the little changes I've made. EDIT: forgot to mention the best part. It's nearly impossible to build a local dev environment because it's all linked up to dozens of undocumented shell scripts that send data over serial cables on premises to old hardware in a factory. In unpredictable ways it will just fail if it can't receive data from them. I didn't want to test in prod so I've got a virtualhost set up... on prod, but I feel like all I can do now is continue contributing bad decisions to this. SpaceAceJase fucked around with this message at 04:48 on Nov 4, 2022 |
# ¿ Nov 4, 2022 04:39 |
|
Other than 443 https exposed to the world I'm not seeing any real security problems. The shell scripts are running and parsing responses from some very old manufacturing equipment and obtuse old devices but this is the least of my issues with it. I'll eventually rewrite it when I can document what is going on and why the webserver is even involved in something that should be cronjobs but I'm looking into the Chernobyl reactor core over here. It's really just the PHP I'm trying to sort out. I haven't slept for a couple of days dealing with this whole company and operation I've reluctantly inherited. I.e. I'm management and not spending any money on tech debt. Just the will to live SpaceAceJase fucked around with this message at 12:21 on Nov 4, 2022 |
# ¿ Nov 4, 2022 12:18 |
|
|
# ¿ May 17, 2024 16:24 |
|
Is Laravel Livewire worth looking at? I tried a few demo apps hosted remotely and performance didn't seem great on a simple toggle switch
|
# ¿ Jul 8, 2023 05:01 |