FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » query: how many use PHP for linux scripts
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: query: how many use PHP for linux scripts [message #185899 is a reply to message #185886] Wed, 14 May 2014 09:00 Go to previous messageGo to previous message
crankypuss is currently offline  crankypuss
Messages: 147
Registered: March 2011
Karma:
Senior Member
On 05/13/2014 04:03 PM, Tim Streater wrote:
> In article <slrnln52i9(dot)nki(dot)jedi(at)nomad(dot)mishnet>, JEDIDIAH
> <jedi(at)nomad(dot)mishnet> wrote:

<snip>

>> PHP is fine if you're working with the web, kind of pointless
>> otherwise.
>
> Depends what you're doing. My app has 74 PHP scripts, some of which do
> things like communicate with remote hosts, rotate logs, move files
> around, read/write a variety of SQLite databases. Doubtless all this
> could be done in C, but why should I bother.

On my netbook (which runs only linux) I have a number of applications
that would be difficult to implement using the default scripting
language because of its lack of facilities.

For example, there is an upstart exit that runs during boot, checks to
see if I've updated the kernel since it was last run, then modifies the
Ubuntu logon graphic to include information like the label of the boot
device, install date, and linux kernel version. I find it nice, given
that I could have booted from any of several production or test
partitions, to see as I am logging in that I've done what I intended.

I've a nautilus extension that provides a bunch of functionality that is
in use constantly. I've a "boot setup" utility that will do the
configuration necessary to set up grub2 or extlinux as the boot program.
I've a fullscreen backup utility that gets run at least once daily and
enables me to perform a backup using either rsync or tar by entering
fewer keystrokes than typing either command would require (and which
lets me do that even when I'm half asleep).

And some other stuff that would be "unmanageable" if I'd attempted to
write it using the default scripting language, even if I were expert in
using that crude "language", which I admittedly avoid becoming.

The idea that PHP is "pointless" unless one is working with the web is
one that I cannot agree with.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to get the POST name of a field in a form that uses a counter
Next Topic: PHP-SOAP/5.4.21 SoapClient terminating POST without waiting for reply, but still complaining "error fetching http headers".
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 08:32:27 GMT 2024

Total time taken to generate the page: 0.04718 seconds