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 #185891 is a reply to message #185890] Wed, 14 May 2014 00:37 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 5/13/2014 8:26 PM, Chris Ahlstrom wrote:
> Jerry Stuckle wrote this copyrighted missive and expects royalties:
>
>> On 5/13/2014 6:03 PM, Tim Streater wrote:
>>>
>>> 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.
>>
>> I agree, Tim. I have a number of scripts which do everything from
>> backing up files and databases to parsing email messages and updating
>> spam filters.
>>
>> Sure, I *could* do it in C - but why bother? And I *could* do it in
>> Linux scripts - but then I'd just have to redo them for Windblows.
>>
>> Of course, I could use Perl or other OS-agnostic scripting languages,
>> but why bother?
>>
>> PHP is great for a lot of things. People who think it's only good for
>> web work are not aware of all of the possibilities.
>
> People figure out the language that best fits their personalities, and run
> with it.
>
> I don't care if it is C, Perl, Erlang, Haskell, brainfuck, PHP, Python,
> shell script, Java, Ruby, C#, or C++. By now they overlap about
> 70% to 99% in functionality, if you count the supporting libraries.
>
> Use what makes *you* feel productive. For me, that is currently C++, one of
> the most flexible languages ever.
>

I agree it depends on the situation. But the language needs to be what
the JOB requires - not what makes you feel productive.

Along with PHP, I also do C (almost 30 years), c++ (25 years), Java (10
years) and other languages. The language I use is completely dependent
on the job.

For instance - C++ is nice, but doesn't work well with Linux Device
Drivers. You're better off using C for that. And it can't be as easily
modified and changed as PHP, which works great as a scripting language.
I would never, for instance, use C++ to do the SPAM email parsing and
updating; PHP has tools which making parsing emails easy, unlike C++.
But at the same time I would never try to write a GUI program in PHP.

--
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex(at)attglobal(dot)net
==================
[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: Sat Nov 30 10:26:13 GMT 2024

Total time taken to generate the page: 0.05396 seconds