Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #13675
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Newsgroups | alt.os.linux, alt.os.linux.ubuntu, comp.lang.php |
| Subject | Re: query: how many use PHP for linux scripts |
| Date | 2014-05-14 08:20 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <lkvn31$82e$1@dont-email.me> (permalink) |
| References | (7 earlier) <130520142303037939%timstreater@greenbee.net> <lkubcr$h6c$1@dont-email.me> <lkud7n$o78$2@dont-email.me> <lkudrm$tkj$1@dont-email.me> <lkvccj$54l$1@dont-email.me> |
Cross-posted to 3 groups.
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 ==================
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
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
csiph-web