Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #13625 > unrolled thread

query: how many use PHP for linux scripts

Started bycrankypuss <crankypuss@nomail.invalid>
First post2014-05-13 02:17 -0600
Last post2014-05-13 17:26 +0100
Articles 20 on this page of 93 — 18 participants

Back to article view | Back to comp.lang.php


Contents

  query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-13 02:17 -0600
    Re: query: how many use PHP for linux scripts Arno Welzel <usenet@arnowelzel.de> - 2014-05-13 10:37 +0200
    Re: query: how many use PHP for linux scripts Tim Streater <timstreater@greenbee.net> - 2014-05-13 11:52 +0100
    Re: query: how many use PHP for linux scripts "Auric__" <not.my.real@email.address> - 2014-05-13 13:28 +0000
      Re: query: how many use PHP for linux scripts "Jonathan N. Little" <lws4art@gmail.com> - 2014-05-13 10:29 -0400
    Re: query: how many use PHP for linux scripts Collin Pruitt <hellow+newsgroup@binenv.com> - 2014-05-13 11:00 -0400
      Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-13 10:05 -0600
        Re: query: how many use PHP for linux scripts Johnny <johnny@invalid.net> - 2014-05-13 11:32 -0500
          Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-13 19:09 +0100
            Re: query: how many use PHP for linux scripts Tim Streater <timstreater@greenbee.net> - 2014-05-13 21:35 +0100
              Re: query: how many use PHP for linux scripts JEDIDIAH <jedi@nomad.mishnet> - 2014-05-13 16:10 -0500
                Re: query: how many use PHP for linux scripts Tim Streater <timstreater@greenbee.net> - 2014-05-13 23:03 +0100
                  Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-13 19:55 -0400
                    Re: query: how many use PHP for linux scripts Chris Ahlstrom <OFeem1987@teleworm.us> - 2014-05-13 20:26 -0400
                      Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-13 20:37 -0400
                        Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-14 03:18 -0600
                          Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-14 08:20 -0400
                            PHP Gui Toolkits (was: query: how many use PHP for linux scripts) Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-14 14:58 +0200
                              Re: PHP Gui Toolkits crankypuss <crankypuss@nomail.invalid> - 2014-05-15 02:04 -0600
                                Re: PHP Gui Toolkits Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-15 14:38 +0200
                                  Re: PHP Gui Toolkits The Natural Philosopher <tnp@invalid.invalid> - 2014-05-15 13:59 +0100
                            Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-15 02:01 -0600
                        Re: query: how many use PHP for linux scripts Chris Ahlstrom <OFeem1987@teleworm.us> - 2014-05-14 06:40 -0400
                          Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-14 08:23 -0400
                  Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-14 03:00 -0600
                  Re: query: how many use PHP for linux scripts JEDIDIAH <jedi@nomad.mishnet> - 2014-05-14 14:49 -0500
                Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-14 02:44 -0600
                  Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-14 10:17 +0100
                    Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-14 03:39 -0600
                    Re: query: how many use PHP for linux scripts Tim Streater <timstreater@greenbee.net> - 2014-05-14 12:29 +0100
                    Re: query: how many use PHP for linux scripts JEDIDIAH <jedi@nomad.mishnet> - 2014-05-14 14:54 -0500
                      Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-14 21:50 +0100
                        Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-14 22:49 -0400
                          Re: query: how many use PHP for linux scripts JEDIDIAH <jedi@nomad.mishnet> - 2014-05-15 09:45 -0500
                            Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-15 17:35 +0100
                      Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-15 02:07 -0600
                        Re: query: how many use PHP for linux scripts "Jonathan N. Little" <lws4art@gmail.com> - 2014-05-15 07:58 -0400
                          Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-15 09:55 -0600
                        Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-15 08:08 -0400
                          Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-15 10:04 -0600
              Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-14 04:42 +0100
                Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-14 03:21 -0600
                  Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-14 12:32 +0100
                Re: query: how many use PHP for linux scripts Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-05-14 13:39 +0100
                  Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-14 15:23 +0100
                    Re: query: how many use PHP for linux scripts Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-14 20:00 +0200
                      Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-14 21:48 +0100
                        Re: query: how many use PHP for linux scripts Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-05-14 22:18 +0100
                          Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-14 23:10 +0100
                    Re: query: how many use PHP for linux scripts Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-05-14 22:05 +0100
                      Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-14 23:07 +0100
                      Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-14 22:51 -0400
                  Re: query: how many use PHP for linux scripts Jasen Betts <jasen@xnet.co.nz> - 2014-05-15 12:34 +0000
                    Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-15 14:52 +0100
                      Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-15 10:13 -0600
                        Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-15 17:48 +0100
                          Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-16 01:12 -0600
                      Re: query: how many use PHP for linux scripts Jasen Betts <jasen@xnet.co.nz> - 2014-05-16 11:29 +0000
                        Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-16 13:03 +0100
                          PHP integers (was: query: how many use PHP for linux scripts) Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-16 14:16 +0200
                    Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-15 10:03 -0400
                    Re: query: how many use PHP for linux scripts Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-05-15 16:26 +0100
                    Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-15 10:07 -0600
                      Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-15 17:37 +0100
                        Re: query: how many use PHP for linux scripts Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-15 19:14 +0200
                        Re: query: how many use PHP for linux scripts Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-05-16 02:45 +0100
                          Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-16 09:25 +0100
                            Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-16 09:14 -0400
                        Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-16 01:17 -0600
                    Re: query: how many use PHP for linux scripts Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-05-15 19:33 +0200
              Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-14 02:36 -0600
                Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-14 10:09 +0100
                  Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-14 03:58 -0600
            Re: query: how many use PHP for linux scripts Allodoxaphobia <knock_yourself_out@example.net> - 2014-05-13 21:23 +0000
              Re: query: how many use PHP for linux scripts Mike Yetto <unet.lighthouse@xoxy.net> - 2014-05-13 19:02 -0400
                Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-14 03:24 -0600
                  Re: query: how many use PHP for linux scripts Mike Yetto <unet.lighthouse@xoxy.net> - 2014-05-14 17:23 -0400
                    Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-14 22:53 -0400
                    Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-15 02:13 -0600
                      Re: query: how many use PHP for linux scripts Chris Ahlstrom <OFeem1987@teleworm.us> - 2014-05-15 06:09 -0400
                        Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-15 10:16 -0600
                        Re: query: how many use PHP for linux scripts Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-05-15 18:49 +0200
                          Re: query: how many use PHP for linux scripts Jasen Betts <jasen@xnet.co.nz> - 2014-05-16 12:02 +0000
                            Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-16 08:17 -0600
                              init-system, bash, etc. (was: query: how many use PHP for linux scripts) Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-16 18:48 +0200
                      Re: query: how many use PHP for linux scripts Mike Yetto <unet.lighthouse@xoxy.net> - 2014-05-15 08:02 -0400
                  Re: query: how many use PHP for linux scripts Aragorn <thorongil@telenet.be.invalid> - 2014-05-15 03:16 +0200
          Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-13 12:20 -0600
            Re: query: how many use PHP for linux scripts Johnny <johnny@invalid.net> - 2014-05-13 13:35 -0500
              Re: query: how many use PHP for linux scripts Mike Yetto <unet.lighthouse@xoxy.net> - 2014-05-13 19:04 -0400
              Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-14 03:26 -0600
                Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-14 08:28 -0400
    Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-13 17:26 +0100

Page 1 of 5  [1] 2 3 4 5  Next page →


#13625 — query: how many use PHP for linux scripts

Fromcrankypuss <crankypuss@nomail.invalid>
Date2014-05-13 02:17 -0600
Subjectquery: how many use PHP for linux scripts
Message-ID<lkskem$ssl$1@dont-email.me>
What kinds of linux scripts do you write in PHP?  Are they applications, 
utilities, other?  Are they command-line or do they have fullscreen 
interfaces?

[toc] | [next] | [standalone]


#13626

FromArno Welzel <usenet@arnowelzel.de>
Date2014-05-13 10:37 +0200
Message-ID<5371D9C6.2010707@arnowelzel.de>
In reply to#13625
Am 13.05.2014 10:17, schrieb crankypuss:

> What kinds of linux scripts do you write in PHP?  Are they applications, 

None. I use shell scripts.


-- 
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
http://fahrradzukunft.de

[toc] | [prev] | [next] | [standalone]


#13627

FromTim Streater <timstreater@greenbee.net>
Date2014-05-13 11:52 +0100
Message-ID<130520141152233475%timstreater@greenbee.net>
In reply to#13625
In article <lkskem$ssl$1@dont-email.me>, crankypuss
<crankypuss@nomail.invalid> wrote:

> What kinds of linux scripts do you write in PHP?  Are they applications, 
> utilities, other?  Are they command-line or do they have fullscreen 
> interfaces?

None. I write them for OS X.

-- 
"People don't buy Microsoft for quality, they buy it for compatibility
with what Bob in accounting bought last year. Trace it back - they buy
Microsoft because the IBM Selectric didn't suck much" - P Seebach, afc

[toc] | [prev] | [next] | [standalone]


#13628

From"Auric__" <not.my.real@email.address>
Date2014-05-13 13:28 +0000
Message-ID<XnsA32C41FCAF514auricauricauricauric@78.46.70.116>
In reply to#13625
crankypuss wrote:

> What kinds of linux scripts do you write in PHP?  Are they applications,
> utilities, other?  Are they command-line or do they have fullscreen
> interfaces?

My only PHP scripts are for the www.

-- 
No main() No Gain!

[toc] | [prev] | [next] | [standalone]


#13629

From"Jonathan N. Little" <lws4art@gmail.com>
Date2014-05-13 10:29 -0400
Message-ID<lkta95$mva$1@dont-email.me>
In reply to#13628
Auric__ wrote:
> crankypuss wrote:
>
>> What kinds of linux scripts do you write in PHP?  Are they applications,
>> utilities, other?  Are they command-line or do they have fullscreen
>> interfaces?
>
> My only PHP scripts are for the www.
>

Although you can CLI PHP for system scripts yes historically WWW is its 
origin. Shell, Python, and Perl are typically used for "linux" scripts.

-- 
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[toc] | [prev] | [next] | [standalone]


#13630

FromCollin Pruitt <hellow+newsgroup@binenv.com>
Date2014-05-13 11:00 -0400
Message-ID<49ef9$53723273$4b5a0f02$24917@ALLTEL.NET>
In reply to#13625
On 5/13/2014 4:17 AM, crankypuss wrote:
> What kinds of linux scripts do you write in PHP?  Are they applications,
> utilities, other?  Are they command-line or do they have fullscreen
> interfaces?

I've never used PHP for actual scripting outside of CGI. If I have to 
write a script, I almost always use either Perl or shell script.

-- 
Collin Pruitt					      http://binenv.com/
"With the first link, the chain is forged. The first speech censored, 
the first thought forbidden, the first freedom denied, chains us all 
irrevocably." - Jean-Luc Picard, TNG "The Drumhead"

[toc] | [prev] | [next] | [standalone]


#13639

Fromcrankypuss <crankypuss@nomail.invalid>
Date2014-05-13 10:05 -0600
Message-ID<lktfse$3vv$1@dont-email.me>
In reply to#13630
On 05/13/2014 09:00 AM, Collin Pruitt wrote:
> On 5/13/2014 4:17 AM, crankypuss wrote:
>> What kinds of linux scripts do you write in PHP?  Are they applications,
>> utilities, other?  Are they command-line or do they have fullscreen
>> interfaces?
>
> I've never used PHP for actual scripting outside of CGI. If I have to
> write a script, I almost always use either Perl or shell script.
>

When you write a "script", what is it?  Command-line only, fullscreen 
interface, simple abbreviation of some common task, fullblown 
applications, what?

[toc] | [prev] | [next] | [standalone]


#13641

FromJohnny <johnny@invalid.net>
Date2014-05-13 11:32 -0500
Message-ID<lkthep$a2h$1@news.albasani.net>
In reply to#13639
On 05/13/2014 11:05 AM, crankypuss wrote:
> On 05/13/2014 09:00 AM, Collin Pruitt wrote:
>> On 5/13/2014 4:17 AM, crankypuss wrote:
>>> What kinds of linux scripts do you write in PHP?  Are they applications,
>>> utilities, other?  Are they command-line or do they have fullscreen
>>> interfaces?
>>
>> I've never used PHP for actual scripting outside of CGI. If I have to
>> write a script, I almost always use either Perl or shell script.
>>
>
> When you write a "script", what is it?  Command-line only, fullscreen
> interface, simple abbreviation of some common task, fullblown
> applications, what?

Linux Shell Scripting Tutorial v1.05r3
A Beginner's handbook

http://www.freeos.com/guides/lsst/

[toc] | [prev] | [next] | [standalone]


#13642

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2014-05-13 19:09 +0100
Message-ID<lktn4a$n8q$1@news.albasani.net>
In reply to#13641
On 13/05/14 17:32, Johnny wrote:
> On 05/13/2014 11:05 AM, crankypuss wrote:
>> On 05/13/2014 09:00 AM, Collin Pruitt wrote:
>>> On 5/13/2014 4:17 AM, crankypuss wrote:
>>>> What kinds of linux scripts do you write in PHP?  Are they
>>>> applications,
>>>> utilities, other?  Are they command-line or do they have fullscreen
>>>> interfaces?
>>>
>>> I've never used PHP for actual scripting outside of CGI. If I have to
>>> write a script, I almost always use either Perl or shell script.
>>>
>>
>> When you write a "script", what is it?  Command-line only, fullscreen
>> interface, simple abbreviation of some common task, fullblown
>> applications, what?
>
> Linux Shell Scripting Tutorial v1.05r3
> A Beginner's handbook
>
> http://www.freeos.com/guides/lsst/
Prezactly. PHP is optimised for HTML work really.

There are far better languages to do other stuff in, though I have to 
say I dislike scripting langauges really and prefer to use C wherever 
possible.

If I HAD to pick an interpreted GP language it would probably be Python 
though I have never written a single line of it..


-- 
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to 
lead are elected by the least capable of producing, and where the 
members of society least likely to sustain themselves or succeed, are 
rewarded with goods and services paid for by the confiscated wealth of a 
diminishing number of producers.

[toc] | [prev] | [next] | [standalone]


#13646

FromTim Streater <timstreater@greenbee.net>
Date2014-05-13 21:35 +0100
Message-ID<130520142135202128%timstreater@greenbee.net>
In reply to#13642
In article <lktn4a$n8q$1@news.albasani.net>, The Natural Philosopher
<tnp@invalid.invalid> wrote:

> On 13/05/14 17:32, Johnny wrote:

> > Linux Shell Scripting Tutorial v1.05r3
> > A Beginner's handbook
> >
> > http://www.freeos.com/guides/lsst/
> Prezactly. PHP is optimised for HTML work really.

Who cares.

> There are far better languages to do other stuff in, though I have to 
> say I dislike scripting langauges really and prefer to use C wherever 
> possible.

I can't be arsed to fiddle around with C these days. Too much faffing
around with declarations - and no string handling to speak of either.

Non-issues in PHP.

-- 
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted"  --  Bill of Rights 1689

[toc] | [prev] | [next] | [standalone]


#13648

FromJEDIDIAH <jedi@nomad.mishnet>
Date2014-05-13 16:10 -0500
Message-ID<slrnln52i9.nki.jedi@nomad.mishnet>
In reply to#13646
On 2014-05-13, Tim Streater <timstreater@greenbee.net> wrote:
> In article <lktn4a$n8q$1@news.albasani.net>, The Natural Philosopher
><tnp@invalid.invalid> wrote:
>
>> On 13/05/14 17:32, Johnny wrote:
>
>> > Linux Shell Scripting Tutorial v1.05r3
>> > A Beginner's handbook
>> >
>> > http://www.freeos.com/guides/lsst/
>> Prezactly. PHP is optimised for HTML work really.
>
> Who cares.
>
>> There are far better languages to do other stuff in, though I have to 
>> say I dislike scripting langauges really and prefer to use C wherever 
>> possible.
>
> I can't be arsed to fiddle around with C these days. Too much faffing
> around with declarations - and no string handling to speak of either.
>
> Non-issues in PHP.

   PHP is fine if you're working with the web, kind of pointless otherwise.

-- 
    Apple: Because the individual is not statistically meaningful.   |||
    	   	       		     	 	       		    / | \

[toc] | [prev] | [next] | [standalone]


#13649

FromTim Streater <timstreater@greenbee.net>
Date2014-05-13 23:03 +0100
Message-ID<130520142303037939%timstreater@greenbee.net>
In reply to#13648
In article <slrnln52i9.nki.jedi@nomad.mishnet>, JEDIDIAH
<jedi@nomad.mishnet> wrote:

> On 2014-05-13, Tim Streater <timstreater@greenbee.net> wrote:
> > In article <lktn4a$n8q$1@news.albasani.net>, The Natural Philosopher
> ><tnp@invalid.invalid> wrote:
> >
> >> On 13/05/14 17:32, Johnny wrote:
> >
> >> > Linux Shell Scripting Tutorial v1.05r3
> >> > A Beginner's handbook
> >> >
> >> > http://www.freeos.com/guides/lsst/
> >> Prezactly. PHP is optimised for HTML work really.
> >
> > Who cares.
> >
> >> There are far better languages to do other stuff in, though I have to 
> >> say I dislike scripting langauges really and prefer to use C wherever 
> >> possible.
> >
> > I can't be arsed to fiddle around with C these days. Too much faffing
> > around with declarations - and no string handling to speak of either.
> >
> > Non-issues in PHP.
> 
>    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.

-- 
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf

[toc] | [prev] | [next] | [standalone]


#13652

FromJerry Stuckle <jstucklex@attglobal.net>
Date2014-05-13 19:55 -0400
Message-ID<lkubcr$h6c$1@dont-email.me>
In reply to#13649
On 5/13/2014 6:03 PM, Tim Streater wrote:
> In article <slrnln52i9.nki.jedi@nomad.mishnet>, JEDIDIAH
> <jedi@nomad.mishnet> wrote:
>
>> On 2014-05-13, Tim Streater <timstreater@greenbee.net> wrote:
>> > In article <lktn4a$n8q$1@news.albasani.net>, The Natural Philosopher
>> ><tnp@invalid.invalid> wrote:
>> >
>> >> On 13/05/14 17:32, Johnny wrote:
>> >
>> >> > Linux Shell Scripting Tutorial v1.05r3
>> >> > A Beginner's handbook
>> >> >
>> >> > http://www.freeos.com/guides/lsst/
>> >> Prezactly. PHP is optimised for HTML work really.
>> >
>> > Who cares.
>> >
>> >> There are far better languages to do other stuff in, though I have
>> to >> say I dislike scripting langauges really and prefer to use C
>> wherever >> possible.
>> >
>> > I can't be arsed to fiddle around with C these days. Too much faffing
>> > around with declarations - and no string handling to speak of either.
>> >
>> > Non-issues in PHP.
>>
>>    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.
>

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.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#13653

FromChris Ahlstrom <OFeem1987@teleworm.us>
Date2014-05-13 20:26 -0400
Message-ID<lkud7n$o78$2@dont-email.me>
In reply to#13652
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.

-- 
Eating chocolate is like being in love without the aggravation.

[toc] | [prev] | [next] | [standalone]


#13654

FromJerry Stuckle <jstucklex@attglobal.net>
Date2014-05-13 20:37 -0400
Message-ID<lkudrm$tkj$1@dont-email.me>
In reply to#13653
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@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#13665

Fromcrankypuss <crankypuss@nomail.invalid>
Date2014-05-14 03:18 -0600
Message-ID<lkvccj$54l$1@dont-email.me>
In reply to#13654
On 05/13/2014 06:37 PM, Jerry Stuckle wrote:
> 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.

Yes, but in addition to a language's being capable of doing the job, 
it's also convenient not to be unproductive. <g>  Both aspects seem to 
be necessary, capability and "language ergonomics".

> 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.

I have a number of fullscreen text-based applications written in PHP, 
but if it came down to having to draw every pixel I'd probably want to 
brush up on C or C++ because those are the languages for which 
pixel-based GUI support libraries exist (not that I'm much impressed 
with the results of using those libraries as exhibited by gnome2).

Most of the whizbang flashies that are implemented as parts of "GUI" 
applications are unnecessary anyway if there is adequate support for a 
good menu system (which mostly, there isn't).  And the idea of using a 
mouse for everything by dragging this or that icon from hither to yon, 
or double clicking on an icon, is an oversimplification imo that has 
caused grievous damage to the computing world as a whole.  At the same 
time the ability to click on a link in html is one of its great 
benefits, and flyovers can be very helpful.

All that's mostly opinion, and only mentioned because you said you'd 
never attempt a GUI application in PHP, and I wanted to point out that 
it isn't so much because of PHP itself that your choice there is 
sensible (though drawing individual pixels in an interpreted language is 
somewhat questionable), but because there's simply no good support for 
writing GUI applications in PHP.

That's as it is, but there's no law of the universe which prohibits such 
support from being developed for PHP or some PHP-derivative.

[toc] | [prev] | [next] | [standalone]


#13675

FromJerry Stuckle <jstucklex@attglobal.net>
Date2014-05-14 08:20 -0400
Message-ID<lkvn31$82e$1@dont-email.me>
In reply to#13665
On 5/14/2014 5:18 AM, crankypuss wrote:
> On 05/13/2014 06:37 PM, Jerry Stuckle wrote:
>> 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.
>
> Yes, but in addition to a language's being capable of doing the job,
> it's also convenient not to be unproductive. <g>  Both aspects seem to
> be necessary, capability and "language ergonomics".
>

Productivity is a part of using the right language for the job.  I would 
never try to write a Linux device driver in PHP or Java, for instance. 
Nor would I write an Android app in C.

>> 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.
>
> I have a number of fullscreen text-based applications written in PHP,
> but if it came down to having to draw every pixel I'd probably want to
> brush up on C or C++ because those are the languages for which
> pixel-based GUI support libraries exist (not that I'm much impressed
> with the results of using those libraries as exhibited by gnome2).
>

Those are possibilities.  But if I needed a graphic application I would 
use a graphic interface instead of trying to do everything myself.  It 
would affect the language that I chose, but would not be the *only* 
criteria for that language.

> Most of the whizbang flashies that are implemented as parts of "GUI"
> applications are unnecessary anyway if there is adequate support for a
> good menu system (which mostly, there isn't).  And the idea of using a
> mouse for everything by dragging this or that icon from hither to yon,
> or double clicking on an icon, is an oversimplification imo that has
> caused grievous damage to the computing world as a whole.  At the same
> time the ability to click on a link in html is one of its great
> benefits, and flyovers can be very helpful.
>

Simplification is good.  YOU may not like it, but hundreds of millions 
of computer users do.  And that's who these apps are designed for.

> All that's mostly opinion, and only mentioned because you said you'd
> never attempt a GUI application in PHP, and I wanted to point out that
> it isn't so much because of PHP itself that your choice there is
> sensible (though drawing individual pixels in an interpreted language is
> somewhat questionable), but because there's simply no good support for
> writing GUI applications in PHP.
>

A bit of a misunderstanding here - sorry, I wasn't clear.  I would never 
build an application in PHP - GUI or not.  It's great for scripts, but 
too wide open for my tastes.  I prefer the ability to compartmentalize 
my code more as in C, C++ and Java.  Plus, compiled languages are faster.

> That's as it is, but there's no law of the universe which prohibits such
> support from being developed for PHP or some PHP-derivative.

There is a GUI library with a PHP interface PHP (GTK).  I haven't tried 
it, but I would if I had a short script which needed a GUI.
-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#13679 — PHP Gui Toolkits (was: query: how many use PHP for linux scripts)

FromChristoph Michael Becker <cmbecker69@arcor.de>
Date2014-05-14 14:58 +0200
SubjectPHP Gui Toolkits (was: query: how many use PHP for linux scripts)
Message-ID<53736868$0$6703$9b4e6d93@newsspool2.arcor-online.net>
In reply to#13675
Jerry Stuckle wrote:

> On 5/14/2014 5:18 AM, crankypuss wrote:
>
>> All that's mostly opinion, and only mentioned because you said you'd
>> never attempt a GUI application in PHP, and I wanted to point out that
>> it isn't so much because of PHP itself that your choice there is
>> sensible (though drawing individual pixels in an interpreted language is
>> somewhat questionable), but because there's simply no good support for
>> writing GUI applications in PHP.
>>
> 
> A bit of a misunderstanding here - sorry, I wasn't clear.  I would never
> build an application in PHP - GUI or not.  It's great for scripts, but
> too wide open for my tastes.  I prefer the ability to compartmentalize
> my code more as in C, C++ and Java.  Plus, compiled languages are faster.
> 
>> That's as it is, but there's no law of the universe which prohibits such
>> support from being developed for PHP or some PHP-derivative.
> 
> There is a GUI library with a PHP interface PHP (GTK).  I haven't tried
> it, but I would if I had a short script which needed a GUI.

It seems to me that PHPGTK[1] is dead; there is, however, wxPHP[2],
which seems to be actively developed.

[1] <http://gtk.php.net/>
[2] <http://wxphp.org/>

[Xpost & Fup2 comp.lang.php]

-- 
Christoph M. Becker

[toc] | [prev] | [next] | [standalone]


#13706 — Re: PHP Gui Toolkits

Fromcrankypuss <crankypuss@nomail.invalid>
Date2014-05-15 02:04 -0600
SubjectRe: PHP Gui Toolkits
Message-ID<ll1sen$uah$2@dont-email.me>
In reply to#13679
On 05/14/2014 06:58 AM, Christoph Michael Becker wrote:

> It seems to me that PHPGTK[1] is dead; there is, however, wxPHP[2],
> which seems to be actively developed.
>
> [1] <http://gtk.php.net/>
> [2] <http://wxphp.org/>

Thanks for posting that, wasn't aware of wxPHP.  Have you investigated 
wxPHP?  Comments?

[toc] | [prev] | [next] | [standalone]


#13715 — Re: PHP Gui Toolkits

FromChristoph Michael Becker <cmbecker69@arcor.de>
Date2014-05-15 14:38 +0200
SubjectRe: PHP Gui Toolkits
Message-ID<5374b52e$0$6659$9b4e6d93@newsspool3.arcor-online.net>
In reply to#13706
crankypuss wrote:

> On 05/14/2014 06:58 AM, Christoph Michael Becker wrote:
> 
>> It seems to me that PHPGTK[1] is dead; there is, however, wxPHP[2],
>> which seems to be actively developed.
>>
>> [1] <http://gtk.php.net/>
>> [2] <http://wxphp.org/>
> 
> Thanks for posting that, wasn't aware of wxPHP.  Have you investigated
> wxPHP?  Comments?

No, not really, due to lack of time and need.

-- 
Christoph M. Becker

[toc] | [prev] | [next] | [standalone]


Page 1 of 5  [1] 2 3 4 5  Next page →

Back to top | Article view | comp.lang.php


csiph-web