Skip to content

u/chrish162

In this archive from Jul 2014 to Dec 2018

1
posts
10
comments
0
media
46
score

Didn’t follow the link but I wanted to chime in on the topic- About ~1.5 years ago I wrote some PHP CLI scripts to automate a lot of my job (think repetitive/paperwork tasks for a management job in retail/entertainment, the scripts would take some input and then generate and execute appropriate AutoHotkey scripts). A lot of fellow managers had heard about my “productivity” and kept requesting copies of my tools. But I didn’t feel like explaining terminal usage to other managers, so I looked for a quick way to develop a GUI. I settled on PHP Desktop as it seemed like it would be the quickest way to port everything. Brought the project to life in about 6 hours on a Saturday evening. It’s reduced 8hr shifts to 10min tasks, and ultimately saves the company over $1.5M in payroll annually. So thanks OP, it was fabulous to use and is a great project.

(Eventually my project reached a point where I wanted to create a v2, and I considered doing a rewrite in JavaScript/Electron because I wanted more native system dialogues [particularly opening/saving files and menu bars]. I ultimately still haven’t started on v2 because I’m lazy 🤷‍♂️. There was also an issue with JavaScript alert()s displaying in a weird way, but who knows, that’s probably been fixed by now.)

9 points

You post this every week, so alright, I'll bite.

I don't quite understand your disdain for this thread. Clearly it exists to help reduce the /r/phphelp -esque question clutter. So it helps the experienced devs who visit this sub every day feel like the integrity of the sub is being maintained. And at the the same time it helps newer devs learn things from experienced devs who don't mind helping- because they are the ones that come in here to answer questions anyway. Wouldn't you rather people come in here and seek advice than see more newbie tutorials pop up that reek of bad practices? Isn't this thread helping the community overall? Who exactly is this hurting?

9 points

This is a great question and I almost want to make a new thread to ask it, because like you said, I don't know if anyone will see it because you're joining this thread a little late :P but I would love to hear more opinions.

Personally I think the spirit of the advice is still good (using that same codebase as an example). Rewriting would probably result in losing features because even as crappy as the system is (maybe a reason why it is so crappy): it does so many things, and has so many unexpected behaviors, many of which would probably be lost in a rewrite because no one would know for sure everything that needed to be included.

There have been days though where I really wanted to just wipe the server and rewrite it =/

1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.