Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Bubbles66126y@C0D4 how and what would you use PHP for? Doesn’t it only run on a server (if not forgive I haven’t used PHP a whole lot)
-
C0D4669446y@Bubbles not at all.
You can use php for cli based programs, which I do a lot.
The binaries are also usable on windows (although some functionality behaves differently) giving you more options as to where you can use said tools. -
C0D4669446y@Bubbles
Basically I'll use Java for browser automation with selenium, something about that seems right.
PHP for any server automation or something I can add into a cli and set a scheduled job for.
Python for any desktop automation. The win32 lib is awesome for navigating around windows with. -
Wack61956yI usea lot of PHP (through CLI, Symfony has a nice package for it ;)) in cron jobs. Even got a web scrapper that checks for some events and other stuff and if they fit signs me up.
-
Depends on what you mean with "automation"
For me it means doing stuff for what I would have to type in more than three lengthy commands more than twice.
Then it depends on complexity:
Bash, Perl, C, C++ -
Bash scripts calling into python and vice versa. The whole thing is invoked using php most of the time. It's awful but it works.
Related Rants
Does anyone actually use another language that isn’t python for automation?
question
python
automation