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


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

anyone else writing Linux (or cross-system) applications in PHP?

Started bycrankypuss <noemail@noemail.invalid>
First post2013-02-02 13:27 -0700
Last post2013-02-09 20:58 +0100
Articles 20 on this page of 115 — 22 participants

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


Contents

  anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-02 13:27 -0700
    Re: anyone else writing Linux (or cross-system) applications in PHP? DanS <t.h.i.s.n.t.h.a.t@r.o.a.d.r.u.n.n.e.r.c.o.m> - 2013-02-02 14:57 -0600
      Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-03 03:45 -0700
        Re: anyone else writing Linux (or cross-system) applications in PHP? DanS <t.h.i.s.n.t.h.a.t@r.o.a.d.r.u.n.n.e.r.c.o.m> - 2013-02-03 06:00 -0600
    Re: anyone else writing Linux (or cross-system) applications in PHP? "Jonathan N. Little" <lws4art@gmail.com> - 2013-02-02 16:27 -0500
      Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-03 03:49 -0700
        Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-03 11:00 +0000
        Re: anyone else writing Linux (or cross-system) applications in PHP? "Jonathan N. Little" <lws4art@gmail.com> - 2013-02-03 10:17 -0500
          Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-03 11:40 -0700
            Re: anyone else writing Linux (or cross-system) applications in PHP? "Jonathan N. Little" <lws4art@gmail.com> - 2013-02-03 14:00 -0500
              Re: anyone else writing Linux (or cross-system) applications in PHP? Richard Yates <richard@yatesguitar.com> - 2013-02-03 13:56 -0800
              Re: anyone else writing Linux (or cross-system) applications in PHP? Martin <no@spam.invalid> - 2013-02-04 01:53 +0100
                Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-04 02:40 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? Tim Streater <timstreater@greenbee.net> - 2013-02-04 09:14 +0000
              Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-04 02:32 -0700
                Re: anyone else writing Linux (or cross-system) applications in PHP? "Jonathan N. Little" <lws4art@gmail.com> - 2013-02-04 11:06 -0500
                  Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-04 09:15 -0700
                    Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-04 16:24 +0000
                      Re: anyone else writing Linux (or cross-system) applications in PHP? "Jonathan N. Little" <lws4art@gmail.com> - 2013-02-04 11:35 -0500
                        Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 02:22 -0700
                          Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-05 12:16 +0000
                            Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 11:49 -0700
                              Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-05 21:22 +0000
                      Re: anyone else writing Linux (or cross-system) applications in PHP? J G Miller <miller@yoyo.ORG> - 2013-02-04 16:38 +0000
                        Re: anyone else writing Linux (or cross-system) applications in   PHP? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-04 17:41 +0100
                          Re: anyone else writing Linux (or cross-system) applications in   PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-04 16:58 +0000
                      Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 02:21 -0700
                        Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-05 12:15 +0000
                          Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 11:52 -0700
                            Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-05 21:23 +0000
                  Re: anyone else writing Linux (or cross-system) applications in PHP? Jasen Betts <jasen@xnet.co.nz> - 2013-02-05 06:00 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-05 13:49 +0100
                  Re: anyone else writing Linux (or cross-system) applications in PHP? Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-05 08:22 -0500
                  Re: anyone else writing Linux (or cross-system) applications in PHP? "Cybe R. Wizard" <cybe_r_wizard@wizardstower> - 2013-02-05 08:50 -0600
        Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-04 08:40 +0100
          Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-04 02:49 -0700
    Re: anyone else writing Linux (or cross-system) applications in PHP? Robert Heller <heller@deepsoft.com> - 2013-02-02 15:43 -0600
      Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-03 03:57 -0700
    Re: anyone else writing Linux (or cross-system) applications in PHP? "Keith D. Lee" <keithdlee2012@gmail.com> - 2013-02-02 22:20 +0000
      Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-03 04:13 -0700
        Re: anyone else writing Linux (or cross-system) applications in PHP? Jasen Betts <jasen@xnet.co.nz> - 2013-02-04 12:23 +0000
          Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-04 08:57 -0700
            Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-05 14:04 +0100
        Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-05 13:59 +0100
    Re: anyone else writing Linux (or cross-system) applications in PHP? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-03 10:58 +0100
      Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-03 04:20 -0700
        Re: anyone else writing Linux (or cross-system) applications in PHP? "J.O. Aho" <user@example.net> - 2013-02-03 12:44 +0100
          Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-03 11:50 +0000
            Re: anyone else writing Linux (or cross-system) applications in PHP? "J.O. Aho" <user@example.net> - 2013-02-03 13:47 +0100
              Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-03 13:23 +0000
              Re: anyone else writing Linux (or cross-system) applications in PHP? Jasen Betts <jasen@xnet.co.nz> - 2013-02-04 11:32 +0000
            Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-03 11:43 -0700
      Re: anyone else writing Linux (or cross-system) applications in PHP? J G Miller <miller@yoyo.ORG> - 2013-02-03 13:08 +0000
        Re: anyone else writing Linux (or cross-system) applications in   PHP? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-03 14:49 +0100
          Re: anyone else writing Linux (or cross-system) applications in  PHP? John Hasler <jhasler@newsguy.com> - 2013-02-03 08:16 -0600
            Re: anyone else writing Linux (or cross-system) applications in  PHP? Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-03 15:28 +0000
              Re: anyone else writing Linux (or cross-system) applications in  PHP? John Hasler <jhasler@newsguy.com> - 2013-02-03 09:39 -0600
            Re: anyone else writing Linux (or cross-system) applications in  PHP? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-03 17:50 +0100
              Re: anyone else writing Linux (or cross-system) applications in  PHP? John Hasler <jhasler@newsguy.com> - 2013-02-03 11:24 -0600
                Re: anyone else writing Linux (or cross-system) applications in  PHP? J G Miller <miller@yoyo.ORG> - 2013-02-03 19:25 +0000
                  Re: anyone else writing Linux (or cross-system) applications in  PHP? Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-03 20:25 +0000
                    Re: anyone else writing Linux (or cross-system) applications in  PHP? J G Miller <miller@yoyo.ORG> - 2013-02-03 21:47 +0000
                      Re: anyone else writing Linux (or cross-system) applications in  PHP? John Hasler <jhasler@newsguy.com> - 2013-02-03 16:32 -0600
                      Re: anyone else writing Linux (or cross-system) applications in  PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-03 22:59 +0000
                        Re: anyone else writing Linux (or cross-system) applications in  PHP? J G Miller <miller@yoyo.ORG> - 2013-02-04 00:21 +0000
                        Re: anyone else writing Linux (or cross-system) applications in  PHP? Jasen Betts <jasen@xnet.co.nz> - 2013-02-04 11:46 +0000
                      Re: anyone else writing Linux (or cross-system) applications in  PHP? Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-03 23:13 +0000
                      Re: anyone else writing Linux (or cross-system) applications in    PHP? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-04 17:21 +0100
                        Re: anyone else writing Linux (or cross-system) applications in    PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-04 16:28 +0000
                  Re: anyone else writing Linux (or cross-system) applications in  PHP? John Hasler <jhasler@newsguy.com> - 2013-02-03 14:26 -0600
          Re: anyone else writing Linux (or cross-system) applications in   PHP? Jasen Betts <jasen@xnet.co.nz> - 2013-02-04 11:37 +0000
    Re: anyone else writing Linux (or cross-system) applications in PHP? Tim Streater <timstreater@greenbee.net> - 2013-02-03 13:17 +0000
    Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-04 08:38 +0100
      Re: anyone else writing Linux (or cross-system) applications in PHP? Tim Streater <timstreater@greenbee.net> - 2013-02-04 09:04 +0000
        Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-04 10:29 +0100
          Re: anyone else writing Linux (or cross-system) applications in PHP? Tim Streater <timstreater@greenbee.net> - 2013-02-04 09:34 +0000
            Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-04 03:06 -0700
          Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-04 03:01 -0700
          Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-04 09:08 -0700
            Re: anyone else writing Linux (or cross-system) applications in PHP? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-04 17:34 +0100
            Re: anyone else writing Linux (or cross-system) applications in PHP? J G Miller <miller@yoyo.ORG> - 2013-02-04 16:44 +0000
              Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 02:36 -0700
                Re: anyone else writing Linux (or cross-system) applications in PHP? Michael Vilain <vilain@NOspamcop.net> - 2013-02-05 01:49 -0800
                Re: anyone else writing Linux (or cross-system) applications in PHP? J G Miller <miller@yoyo.ORG> - 2013-02-05 15:03 +0000
                  Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 12:07 -0700
                    Re: anyone else writing Linux (or cross-system) applications in PHP? J G Miller <miller@yoyo.ORG> - 2013-02-05 20:22 +0000
                      Re: anyone else writing Linux (or cross-system) applications in PHP? Jasen Betts <jasen@xnet.co.nz> - 2013-02-05 22:27 +0000
                        Re: anyone else writing Linux (or cross-system) applications in PHP? J G Miller <miller@yoyo.ORG> - 2013-02-06 00:06 +0000
                        Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-06 04:32 -0700
                          Re: anyone else writing Linux (or cross-system) applications in PHP? Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-06 11:50 +0000
                      Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-06 04:22 -0700
                      Re: anyone else writing Linux (or cross-system) applications in PHP? J G Miller <miller@yoyo.ORG> - 2013-02-06 15:37 +0000
                    Re: anyone else writing Linux (or cross-system) applications in PHP? Jasen Betts <jasen@xnet.co.nz> - 2013-02-05 22:13 +0000
                      Re: anyone else writing Linux (or cross-system) applications in PHP? Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-05 23:38 +0000
            Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 02:26 -0700
              Re: anyone else writing Linux (or cross-system) applications in PHP? Tim Streater <timstreater@greenbee.net> - 2013-02-05 10:31 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-05 13:41 +0100
                  Re: anyone else writing Linux (or cross-system) applications in PHP? Tim Streater <timstreater@greenbee.net> - 2013-02-05 12:56 +0000
                    Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-05 14:08 +0100
                      Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 12:24 -0700
                        Re: anyone else writing Linux (or cross-system) applications in PHP? J G Miller <miller@yoyo.ORG> - 2013-02-05 20:14 +0000
                        Re: anyone else writing Linux (or cross-system) applications in PHP? Aragorn <stryder@telenet.be.invalid> - 2013-02-06 06:27 +0100
                        Re: anyone else writing Linux (or cross-system) applications in PHP? DanS <t.h.i.s.n.t.h.a.t@r.o.a.d.r.u.n.n.e.r.c.o.m> - 2013-02-06 19:48 -0600
                          Re: anyone else writing Linux (or cross-system) applications in PHP? "Cybe R. Wizard" <cybe_r_wizard@wizardstower> - 2013-02-06 22:44 -0600
                            Re: anyone else writing Linux (or cross-system) applications in PHP? GooseMan <TheGoose@gonnagiveittothegander.org> - 2013-02-06 21:38 -0800
                            Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-07 15:13 +0100
                            Re: anyone else writing Linux (or cross-system) applications in PHP? DanS <t.h.i.s.n.t.h.a.t@r.o.a.d.r.u.n.n.e.r.c.o.m> - 2013-02-10 08:09 -0600
                  Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 12:10 -0700
              Re: anyone else writing Linux (or cross-system) applications in PHP? Jasen Betts <jasen@xnet.co.nz> - 2013-02-05 21:51 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-05 22:32 +0000
              Re: anyone else writing Linux (or cross-system) applications in PHP? Meeh <meeh@i2pmail.org> - 2013-02-05 17:51 +0100
      Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-04 02:55 -0700
        Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-05 13:42 +0100
          Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 12:28 -0700
            Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-09 20:58 +0100

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


#8180 — anyone else writing Linux (or cross-system) applications in PHP?

Fromcrankypuss <noemail@noemail.invalid>
Date2013-02-02 13:27 -0700
Subjectanyone else writing Linux (or cross-system) applications in PHP?
Message-ID<kejss302gi7@news6.newsguy.com>
(Apologies for the cross-post.)

I don't like bash, haven't seen anything that crude since back in the 
days when I was writing FORTRAN and BASIC, so I've been writing all of 
my local applications in PHP.

The folks who frequent comp.lang.php seem to be pretty web-centric which 
makes sense as far as that goes.  The folks who frequent the various 
Linux fora seem pretty bash-centric which also makes sense as far as 
that goes.

As an aside, I've been using Linux for long enough now to realize how 
shell-centric it is as an operating system; I'm somewhat blown away by 
that but it too makes its own kind of sense.

Is there a forum where the other folks (presuming there are any) who 
have been writing applications in PHP hang out?  Don't say "yeah dummy, 
go to comp.lang.python" please, my homor quotient is maxed out for 
today. <g>

[toc] | [next] | [standalone]


#8181

FromDanS <t.h.i.s.n.t.h.a.t@r.o.a.d.r.u.n.n.e.r.c.o.m>
Date2013-02-02 14:57 -0600
Message-ID<dKGdnWCTjcoB4JDMnZ2dnUVZ_vmdnZ2d@giganews.com>
In reply to#8180
On Sat, 02 Feb 2013 13:27:45 -0700, crankypuss wrote:

> (Apologies for the cross-post.)
> 
> I don't like bash, haven't seen anything that crude since back in the
> days when I was writing FORTRAN and BASIC, so I've been writing all of
> my local applications in PHP.
> 
> The folks who frequent comp.lang.php seem to be pretty web-centric which
> makes sense as far as that goes.  The folks who frequent the various
> Linux fora seem pretty bash-centric which also makes sense as far as
> that goes.
> 
> As an aside, I've been using Linux for long enough now to realize how
> shell-centric it is as an operating system; I'm somewhat blown away by
> that but it too makes its own kind of sense.
> 
> Is there a forum where the other folks (presuming there are any) who
> have been writing applications in PHP hang out?  Don't say "yeah dummy,
> go to comp.lang.python" please, my homor quotient is maxed out for
> today. <g>

Are you talking desktop applications?

And what kind of applications?


http://stackoverflow.com/questions/40870/why-dont-people-use-php-for-
desktop-applications

http://www.wisecodes.com/2009/03/create-php-desktop-applications-
calculator/

http://www.developertutorials.com/tutorials/php/building-desktop-
applications-in-php-8-02-01-934/

See what people are contributing for PHP at PlanetSourceCode.com:

http://www.planetsourcecode.com/vb/default.asp?lngWId=8

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


#8186

Fromcrankypuss <noemail@noemail.invalid>
Date2013-02-03 03:45 -0700
Message-ID<kelf4m01aoc@news1.newsguy.com>
In reply to#8181
On 02/02/2013 01:57 PM, DanS wrote:
> On Sat, 02 Feb 2013 13:27:45 -0700, crankypuss wrote:
>
>> (Apologies for the cross-post.)
>>
>> I don't like bash, haven't seen anything that crude since back in the
>> days when I was writing FORTRAN and BASIC, so I've been writing all of
>> my local applications in PHP.
>>
>> The folks who frequent comp.lang.php seem to be pretty web-centric which
>> makes sense as far as that goes.  The folks who frequent the various
>> Linux fora seem pretty bash-centric which also makes sense as far as
>> that goes.
>>
>> As an aside, I've been using Linux for long enough now to realize how
>> shell-centric it is as an operating system; I'm somewhat blown away by
>> that but it too makes its own kind of sense.
>>
>> Is there a forum where the other folks (presuming there are any) who
>> have been writing applications in PHP hang out?  Don't say "yeah dummy,
>> go to comp.lang.python" please, my homor quotient is maxed out for
>> today. <g>
>
> Are you talking desktop applications?

Mostly.

> And what kind of applications?

Whatever.

>
> http://stackoverflow.com/questions/40870/why-dont-people-use-php-for-
> desktop-applications
>
> http://www.wisecodes.com/2009/03/create-php-desktop-applications-
> calculator/
>
> http://www.developertutorials.com/tutorials/php/building-desktop-
> applications-in-php-8-02-01-934/
>
> See what people are contributing for PHP at PlanetSourceCode.com:
>
> http://www.planetsourcecode.com/vb/default.asp?lngWId=8
>

The last thing I want is more shitsucking web forums, but thanks anyway.

Discussion does not happen in web forums, the clumsiness of the 
mechanism prohibits it.

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


#8194

FromDanS <t.h.i.s.n.t.h.a.t@r.o.a.d.r.u.n.n.e.r.c.o.m>
Date2013-02-03 06:00 -0600
Message-ID<ZdidneZ8vP7UzJPMnZ2dnUVZ_q2dnZ2d@giganews.com>
In reply to#8186
On Sun, 03 Feb 2013 03:45:41 -0700, crankypuss wrote:

> On 02/02/2013 01:57 PM, DanS wrote:
>> On Sat, 02 Feb 2013 13:27:45 -0700, crankypuss wrote:
>>
>>> (Apologies for the cross-post.)
>>>
>>> I don't like bash, haven't seen anything that crude since back in the
>>> days when I was writing FORTRAN and BASIC, so I've been writing all of
>>> my local applications in PHP.
>>>
>>> The folks who frequent comp.lang.php seem to be pretty web-centric
>>> which makes sense as far as that goes.  The folks who frequent the
>>> various Linux fora seem pretty bash-centric which also makes sense as
>>> far as that goes.
>>>
>>> As an aside, I've been using Linux for long enough now to realize how
>>> shell-centric it is as an operating system; I'm somewhat blown away by
>>> that but it too makes its own kind of sense.
>>>
>>> Is there a forum where the other folks (presuming there are any) who
>>> have been writing applications in PHP hang out?  Don't say "yeah
>>> dummy, go to comp.lang.python" please, my homor quotient is maxed out
>>> for today. <g>
>>
>> Are you talking desktop applications?
> 
> Mostly.
> 
>> And what kind of applications?
> 
> Whatever.
> 
> 
>> http://stackoverflow.com/questions/40870/why-dont-people-use-php-for-
>> desktop-applications
>>
>> http://www.wisecodes.com/2009/03/create-php-desktop-applications-
>> calculator/
>>
>> http://www.developertutorials.com/tutorials/php/building-desktop-
>> applications-in-php-8-02-01-934/
>>
>> See what people are contributing for PHP at PlanetSourceCode.com:
>>
>> http://www.planetsourcecode.com/vb/default.asp?lngWId=8
>>
>>
> The last thing I want is more shitsucking web forums, but thanks anyway.
> 
> Discussion does not happen in web forums, the clumsiness of the
> mechanism prohibits it.

Well if you haven't found discussions of what you're looking for on 
Usenet, what else is there?

(However, I do agree that web forums usually do suck. Mainly  because 
they usually show no hierarchy and all posts appear just one after 
another.)







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


#8182

From"Jonathan N. Little" <lws4art@gmail.com>
Date2013-02-02 16:27 -0500
Message-ID<kek0b3$tel$1@dont-email.me>
In reply to#8180
crankypuss wrote:
> (Apologies for the cross-post.)
>
> I don't like bash, haven't seen anything that crude since back in the
> days when I was writing FORTRAN and BASIC, so I've been writing all of
> my local applications in PHP.
>
> The folks who frequent comp.lang.php seem to be pretty web-centric which
> makes sense as far as that goes.  The folks who frequent the various
> Linux fora seem pretty bash-centric which also makes sense as far as
> that goes.

Because for the web is where PHP originated. Get data, do something, 
done. Not really suited for event driven apps. Late comer to acquiring 
programming features like OOP. But it is evolving and things may change.

>
> As an aside, I've been using Linux for long enough now to realize how
> shell-centric it is as an operating system; I'm somewhat blown away by
> that but it too makes its own kind of sense.

I found bash so useful and powerful and confusing a bit at times. Beats 
the stuffing out of MS batch files and easier than powershell for me.

>
> Is there a forum where the other folks (presuming there are any) who
> have been writing applications in PHP hang out?  Don't say "yeah dummy,
> go to comp.lang.python" please, my homor quotient is maxed out for
> today. <g>

Because the python, perl, bash, c, and c++ is what is generally used.


-- 
Take care,

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

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


#8187

Fromcrankypuss <noemail@noemail.invalid>
Date2013-02-03 03:49 -0700
Message-ID<kelfbp01crq@news4.newsguy.com>
In reply to#8182
On 02/02/2013 02:27 PM, Jonathan N. Little wrote:
> crankypuss wrote:
>> (Apologies for the cross-post.)
>>
>> I don't like bash, haven't seen anything that crude since back in the
>> days when I was writing FORTRAN and BASIC, so I've been writing all of
>> my local applications in PHP.
>>
>> The folks who frequent comp.lang.php seem to be pretty web-centric which
>> makes sense as far as that goes.  The folks who frequent the various
>> Linux fora seem pretty bash-centric which also makes sense as far as
>> that goes.
>
> Because for the web is where PHP originated. Get data, do something,
> done. Not really suited for event driven apps.

I have code that says you're mistaken.

> Late comer to acquiring
> programming features like OOP. But it is evolving and things may change.

OOP is the worst thing that happened to PHP since mySQL.

>>
>> As an aside, I've been using Linux for long enough now to realize how
>> shell-centric it is as an operating system; I'm somewhat blown away by
>> that but it too makes its own kind of sense.
>
> I found bash so useful and powerful and confusing a bit at times. Beats
> the stuffing out of MS batch files and easier than powershell for me.

MS batch files, lol.  Not familiar with powershell.

>>
>> Is there a forum where the other folks (presuming there are any) who
>> have been writing applications in PHP hang out?  Don't say "yeah dummy,
>> go to comp.lang.python" please, my homor quotient is maxed out for
>> today. <g>
>
> Because the python, perl, bash, c, and c++ is what is generally used.

So it goes, eh?  Everybody does what everybody has always done.

Well thanks, JNL.  'Preciate your reply.

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


#8189

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2013-02-03 11:00 +0000
Message-ID<kelg0u$q1c$1@news.albasani.net>
In reply to#8187
On 03/02/13 10:49, crankypuss wrote:
>
>
> So it goes, eh?  Everybody does what everybody has always done.
>

when there really is no better reason to select, that becomes dominant 
as a choice influencing factor.

people are there who know the language, books, support tutorials, 
compilers (where appropriate), libraries..

In the real world these are far more relevant than it it supports some 
academically interesting construction or not.


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


#8201

From"Jonathan N. Little" <lws4art@gmail.com>
Date2013-02-03 10:17 -0500
Message-ID<kelv1m$226$1@dont-email.me>
In reply to#8187
crankypuss wrote:
> On 02/02/2013 02:27 PM, Jonathan N. Little wrote:
>> crankypuss wrote:
>>> (Apologies for the cross-post.)
>>>
>>> I don't like bash, haven't seen anything that crude since back in the
>>> days when I was writing FORTRAN and BASIC, so I've been writing all of
>>> my local applications in PHP.
>>>
>>> The folks who frequent comp.lang.php seem to be pretty web-centric which
>>> makes sense as far as that goes.  The folks who frequent the various
>>> Linux fora seem pretty bash-centric which also makes sense as far as
>>> that goes.
>>
>> Because for the web is where PHP originated. Get data, do something,
>> done. Not really suited for event driven apps.
>
> I have code that says you're mistaken.


I don't think so. Since its original name was "Personal Home Page Tools" 
for scripts to facilitate created personal webpages on a server speaks 
to its origins. How an application interacts in with the user from a 
webserver is very different from that of a desktop application. That 
said, PHP is one of the easiest languages to get started on. I use it a 
lot but never liked it double-butt-load of core commands, I mean com'on 
PHP gods have you not ever hear of a command parameter? How many in 
PHP's gaggle of "sort" commands vs Perl one: sort?

>
>> Late comer to acquiring
>> programming features like OOP. But it is evolving and things may change.
>
> OOP is the worst thing that happened to PHP since mySQL.
>
>>>
>>> As an aside, I've been using Linux for long enough now to realize how
>>> shell-centric it is as an operating system; I'm somewhat blown away by
>>> that but it too makes its own kind of sense.
>>
>> I found bash so useful and powerful and confusing a bit at times. Beats
>> the stuffing out of MS batch files and easier than powershell for me.
>
> MS batch files, lol.

You can get some things done, but it takes a lot of kung-foo!

> Not familiar with powershell.

Single word, "ugh".

>
>>>
>>> Is there a forum where the other folks (presuming there are any) who
>>> have been writing applications in PHP hang out?  Don't say "yeah dummy,
>>> go to comp.lang.python" please, my homor quotient is maxed out for
>>> today. <g>
>>
>> Because the python, perl, bash, c, and c++ is what is generally used.
>
> So it goes, eh?  Everybody does what everybody has always done.

I have been looking at python since there seems to be so much 
development in that direction, but <groan> another language to 
learn...maybe not so bad since the syntax is so different, unlike the 
problems I suffer when I switch back and forth between Perl and PHP.

-- 
Take care,

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

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


#8210

Fromcrankypuss <noemail@noemail.invalid>
Date2013-02-03 11:40 -0700
Message-ID<kemauj01u23@news1.newsguy.com>
In reply to#8201
On 02/03/2013 08:17 AM, Jonathan N. Little wrote:
> crankypuss wrote:
>> On 02/02/2013 02:27 PM, Jonathan N. Little wrote:
>>> crankypuss wrote:
>>>> (Apologies for the cross-post.)
>>>>
>>>> I don't like bash, haven't seen anything that crude since back in the
>>>> days when I was writing FORTRAN and BASIC, so I've been writing all of
>>>> my local applications in PHP.
>>>>
>>>> The folks who frequent comp.lang.php seem to be pretty web-centric
>>>> which
>>>> makes sense as far as that goes.  The folks who frequent the various
>>>> Linux fora seem pretty bash-centric which also makes sense as far as
>>>> that goes.
>>>
>>> Because for the web is where PHP originated. Get data, do something,
>>> done. Not really suited for event driven apps.
>>
>> I have code that says you're mistaken.
>
>
> I don't think so. Since its original name was "Personal Home Page Tools"
> for scripts to facilitate created personal webpages on a server speaks
> to its origins. How an application interacts in with the user from a
> webserver is very different from that of a desktop application.

It's okay if we disagree on this, you're allowed to be incorrect. <G>

As for how users interact with applications, if you think it's different 
on the web vs on the desktop, I would claim that you haven't finished 
generalizing your view of it.  In either case the application presents 
something, the user responds, rinse-and-repeat.  The main difference 
between a web-app and a desktop-app is the level of precision provided 
by the interface and the amount of latency.  I've built web-apps that 
run equally well on the desktop.  If you aren't aware of it, there is 
(or, was) a guy in the Windows world who sells a shareware product to 
facilitate writing desktop applications in PHP.

I'm not sure but I think it used to be available here,
	http://www.desktopsolutions.com/
but he/they seem not to offer the package anymore, preferring to make 
money providing services.  It's been years, and I don't recall for sure 
where I got the thing.  It could have been this but I think this is 
something new:

	http://www.nusphere.com/products/phpdock.htm

Oooh, lookit what I found while looking for that link!
	http://code.google.com/p/phpdesktop/

> That
> said, PHP is one of the easiest languages to get started on. I use it a
> lot but never liked it double-butt-load of core commands, I mean com'on
> PHP gods have you not ever hear of a command parameter? How many in
> PHP's gaggle of "sort" commands vs Perl one: sort?

The language has been hacked almost to death, yeah.

OTOH, when I think about going back and re-learning C, which I never 
*really* learned well since I skipped from Assembler to C++, and then 
dropped C++ as a bag-o-crap... it's like considering the idea of 
spending money to hook up with your ex-wife's mother or something 
equally disgusting.

>>> Late comer to acquiring
>>> programming features like OOP. But it is evolving and things may change.
>>
>> OOP is the worst thing that happened to PHP since mySQL.
>>
>>>>
>>>> As an aside, I've been using Linux for long enough now to realize how
>>>> shell-centric it is as an operating system; I'm somewhat blown away by
>>>> that but it too makes its own kind of sense.
>>>
>>> I found bash so useful and powerful and confusing a bit at times. Beats
>>> the stuffing out of MS batch files and easier than powershell for me.
>>
>> MS batch files, lol.
>
> You can get some things done, but it takes a lot of kung-foo!
>
>> Not familiar with powershell.
>
> Single word, "ugh".
>
>>
>>>>
>>>> Is there a forum where the other folks (presuming there are any) who
>>>> have been writing applications in PHP hang out?  Don't say "yeah dummy,
>>>> go to comp.lang.python" please, my homor quotient is maxed out for
>>>> today. <g>
>>>
>>> Because the python, perl, bash, c, and c++ is what is generally used.
>>
>> So it goes, eh?  Everybody does what everybody has always done.
>
> I have been looking at python since there seems to be so much
> development in that direction, but <groan> another language to
> learn...maybe not so bad since the syntax is so different, unlike the
> problems I suffer when I switch back and forth between Perl and PHP.
>

PHP has a few advantages.  Lots of people use it for web-apps so there 
are more PHP programmers out there than programmers for a 
new-as-yet-untested language.  If you can make your way through all the 
gross crap, you can find a pony underneath.  And syntactically it isn't 
that difficult to automatically transliterate to some 
new-as-yet-untested language.  The language itself has some decent 
features, reminiscent of Rexx.  It ain't great but it's sufficient, imo.

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


#8212

From"Jonathan N. Little" <lws4art@gmail.com>
Date2013-02-03 14:00 -0500
Message-ID<kemc4i$6i6$1@dont-email.me>
In reply to#8210
crankypuss wrote:
> On 02/03/2013 08:17 AM, Jonathan N. Little wrote:

<snip>

>> I don't think so. Since its original name was "Personal Home Page Tools"
>> for scripts to facilitate created personal webpages on a server speaks
>> to its origins. How an application interacts in with the user from a
>> webserver is very different from that of a desktop application.
>
> It's okay if we disagree on this, you're allowed to be incorrect. <G>

Not sure even if a smile can change history though.

>
> As for how users interact with applications, if you think it's different
> on the web vs on the desktop, I would claim that you haven't finished
> generalizing your view of it.  In either case the application presents
> something, the user responds, rinse-and-repeat.  The main difference
> between a web-app and a desktop-app is the level of precision provided
> by the interface and the amount of latency.  I've built web-apps that
> run equally well on the desktop.  If you aren't aware of it, there is
> (or, was) a guy in the Windows world who sells a shareware product to
> facilitate writing desktop applications in PHP.

But how it "runs" is different. A desktop app starts and has a message 
loop that checks for user interaction. Responds and continues until 
either program, user, or system terminates the processes. With the web 
the php script receives its input via the web server, script runs and 
does its stuff, creates the web page and terminates.


-- 
Take care,

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

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


#8218

FromRichard Yates <richard@yatesguitar.com>
Date2013-02-03 13:56 -0800
Message-ID<87ntg8pu0om45hcmik2djturbm5l8v226n@4ax.com>
In reply to#8212
On Sun, 03 Feb 2013 14:00:55 -0500, "Jonathan N. Little"
<lws4art@gmail.com> wrote:

>crankypuss wrote:
>> On 02/03/2013 08:17 AM, Jonathan N. Little wrote:
>
><snip>
>
>>> I don't think so. Since its original name was "Personal Home Page Tools"
>>> for scripts to facilitate created personal webpages on a server speaks
>>> to its origins. How an application interacts in with the user from a
>>> webserver is very different from that of a desktop application.
>>
>> It's okay if we disagree on this, you're allowed to be incorrect. <G>
>
>Not sure even if a smile can change history though.

Especially when the tag is never closed!

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


#8223

FromMartin <no@spam.invalid>
Date2013-02-04 01:53 +0100
Message-ID<ken0po$3qr$1@online.de>
In reply to#8212
On 02/03/2013 08:00 PM, Jonathan N. Little wrote:

>>> I don't think so. Since its original name was "Personal Home Page Tools"
>>> for scripts to facilitate created personal webpages on a server speaks
>>> to its origins. How an application interacts in with the user from a
>>> webserver is very different from that of a desktop application.
>>
>> It's okay if we disagree on this, you're allowed to be incorrect. <G>
>
> Not sure even if a smile can change history though.

you're totally right, PHP started out as "Private Home Page" and was 
designed as an inline script for HTML templates, just like all the other 
"XYZ Server Pages" in the early days.

For those with a sense of humour there is this comparison between perl 
and PHP:

http://tnx.nl/php.html

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


#8224

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2013-02-04 02:40 +0000
Message-ID<ken721$bcq$1@news.albasani.net>
In reply to#8223
On 04/02/13 00:53, Martin wrote:
> On 02/03/2013 08:00 PM, Jonathan N. Little wrote:
>
>>>> I don't think so. Since its original name was "Personal Home Page
>>>> Tools"
>>>> for scripts to facilitate created personal webpages on a server speaks
>>>> to its origins. How an application interacts in with the user from a
>>>> webserver is very different from that of a desktop application.
>>>
>>> It's okay if we disagree on this, you're allowed to be incorrect. <G>
>>
>> Not sure even if a smile can change history though.
>
> you're totally right, PHP started out as "Private Home Page" and was
> designed as an inline script for HTML templates, just like all the other
> "XYZ Server Pages" in the early days.
>
> For those with a sense of humour there is this comparison between perl
> and PHP:
>
> http://tnx.nl/php.html
>
>
yerrs. its like comparing cat shit to dog crap. Really if its on your 
shoe, who gives a damn?


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


#8231

FromTim Streater <timstreater@greenbee.net>
Date2013-02-04 09:14 +0000
Message-ID<timstreater-E33450.09141604022013@news.individual.net>
In reply to#8223
In article <ken0po$3qr$1@online.de>, Martin <no@spam.invalid> wrote:

> On 02/03/2013 08:00 PM, Jonathan N. Little wrote:
> 
> >>> I don't think so. Since its original name was "Personal Home Page Tools"
> >>> for scripts to facilitate created personal webpages on a server speaks
> >>> to its origins. How an application interacts in with the user from a
> >>> webserver is very different from that of a desktop application.
> >>
> >> It's okay if we disagree on this, you're allowed to be incorrect. <G>
> >
> > Not sure even if a smile can change history though.
> 
> you're totally right, PHP started out as "Private Home Page" and was 
> designed as an inline script for HTML templates, just like all the other 
> "XYZ Server Pages" in the early days.
> 
> For those with a sense of humour there is this comparison between perl 
> and PHP:
> 
> http://tnx.nl/php.html

The main witticism there has to be the assertion that perl has better 
documentation than 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]


#8233

Fromcrankypuss <noemail@noemail.invalid>
Date2013-02-04 02:32 -0700
Message-ID<kenv7p02tc5@news1.newsguy.com>
In reply to#8212
On 02/03/2013 12:00 PM, Jonathan N. Little wrote:
> crankypuss wrote:
>> On 02/03/2013 08:17 AM, Jonathan N. Little wrote:
>
> <snip>
>
>>> I don't think so. Since its original name was "Personal Home Page Tools"
>>> for scripts to facilitate created personal webpages on a server speaks
>>> to its origins. How an application interacts in with the user from a
>>> webserver is very different from that of a desktop application.
>>
>> It's okay if we disagree on this, you're allowed to be incorrect. <G>
>
> Not sure even if a smile can change history though.
>
>>
>> As for how users interact with applications, if you think it's different
>> on the web vs on the desktop, I would claim that you haven't finished
>> generalizing your view of it.  In either case the application presents
>> something, the user responds, rinse-and-repeat.  The main difference
>> between a web-app and a desktop-app is the level of precision provided
>> by the interface and the amount of latency.  I've built web-apps that
>> run equally well on the desktop.  If you aren't aware of it, there is
>> (or, was) a guy in the Windows world who sells a shareware product to
>> facilitate writing desktop applications in PHP.
>
> But how it "runs" is different. A desktop app starts and has a message
> loop that checks for user interaction. Responds and continues until
> either program, user, or system terminates the processes. With the web
> the php script receives its input via the web server, script runs and
> does its stuff, creates the web page and terminates.
>

I guess you never worked much with state-driven applications, not 
everyone has.  What we think of as a "desktop app" just sits there with 
its state-data in memory, and a "web app" reloads its state-data when 
another request comes in from the same user.  Once the state data is 
re-established the internal processing is basically the same except for 
what subroutines are used to draw the "screen".  In fact a "desktop app" 
doesn't keep its state-data in memory except conceptually unless the 
system is so lightly loaded that there's no thread-switching or swapping 
going on.  Conceptually it generalizes to pretty much the same thing in 
either case.

The "message loop" you speak of really isn't any different between a 
web-app and a desktop-app.  For a desktop-app it looks like this,

1. application is entered on initiation
2. application presents initial display
4. application waits for input and is swapped out
5. user does something to cause an interrupt
6. application gets rescheduled as ready-to-run, swapped in
7. application scratches head, presents output
8. application goes back to (4) and gets "swapped out" again

For a web-app it looks like this,

1. server starts up and eventually reaches idle state
2. a message comes in (analogous to 5 above)
3. application's state data gets reloaded as it's "swapped in"
4. application scratches head, presents output
5. application gets swapped out (state saved)

It's pretty much the same thing, except that some websites don't do 
squat about saving state-data for an individual user.  Some use PHP 
"session" stuff to do that, where a session identifier is a token coming 
in on each http request that allows that user's state-data to be 
reloaded for the request.

The loop is basically the same except that its "top" gets rolled around 
to the middle and given a different name.  For a desktop-app the "top" 
is the guy hitting the enter key or clicking the mouse or whatever, 
that's the top of the "message loop".  For a web-app the browser 
recognizes a link-click and sends an http request.  It's the same thing 
unless you get fixated on the details to the point where you can't see 
the forest.  Look an X Windows application in enough detail and you'll 
see the same basic process with a different protocol used between the 
client and the server.  Steak or hamburger, it's all beef.

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


#8244

From"Jonathan N. Little" <lws4art@gmail.com>
Date2013-02-04 11:06 -0500
Message-ID<keom9q$oen$1@dont-email.me>
In reply to#8233
crankypuss wrote:
> On 02/03/2013 12:00 PM, Jonathan N. Little wrote:
>> crankypuss wrote:
>>> On 02/03/2013 08:17 AM, Jonathan N. Little wrote:
>>
>> <snip>
>>
>>>> I don't think so. Since its original name was "Personal Home Page
>>>> Tools"
>>>> for scripts to facilitate created personal webpages on a server speaks
>>>> to its origins. How an application interacts in with the user from a
>>>> webserver is very different from that of a desktop application.
>>>
>>> It's okay if we disagree on this, you're allowed to be incorrect. <G>
>>
>> Not sure even if a smile can change history though.
>>
>>>
>>> As for how users interact with applications, if you think it's different
>>> on the web vs on the desktop, I would claim that you haven't finished
>>> generalizing your view of it.  In either case the application presents
>>> something, the user responds, rinse-and-repeat.  The main difference
>>> between a web-app and a desktop-app is the level of precision provided
>>> by the interface and the amount of latency.  I've built web-apps that
>>> run equally well on the desktop.  If you aren't aware of it, there is
>>> (or, was) a guy in the Windows world who sells a shareware product to
>>> facilitate writing desktop applications in PHP.
>>
>> But how it "runs" is different. A desktop app starts and has a message
>> loop that checks for user interaction. Responds and continues until
>> either program, user, or system terminates the processes. With the web
>> the php script receives its input via the web server, script runs and
>> does its stuff, creates the web page and terminates.
>>
>
> I guess you never worked much with state-driven applications, not
> everyone has.  What we think of as a "desktop app" just sits there with
> its state-data in memory, and a "web app" reloads its state-data when
> another request comes in from the same user.  Once the state data is
> re-established the internal processing is basically the same except for
> what subroutines are used to draw the "screen".  In fact a "desktop app"
> doesn't keep its state-data in memory except conceptually unless the
> system is so lightly loaded that there's no thread-switching or swapping
> going on.  Conceptually it generalizes to pretty much the same thing in
> either case.
>
> The "message loop" you speak of really isn't any different between a
> web-app and a desktop-app.  For a desktop-app it looks like this,

Well sort of, where the web app has a web server in between and the 
desktop has the OS,

>
> 1. application is entered on initiation
> 2. application presents initial display
> 4. application waits for input and is swapped out
> 5. user does something to cause an interrupt
> 6. application gets rescheduled as ready-to-run, swapped in
> 7. application scratches head, presents output
> 8. application goes back to (4) and gets "swapped out" again
>
> For a web-app it looks like this,
>
> 1. server starts up and eventually reaches idle state
> 2. a message comes in (analogous to 5 above)
> 3. application's state data gets reloaded as it's "swapped in"
> 4. application scratches head, presents output
> 5. application gets swapped out (state saved)
>

However with the desktop app it keeps running with a pid to the 
instance, the web app does not. To keep continuity with a web app you 
need to employ session mechanism. It need some sort of a login and 
logout or it gets quite complicated with DBs and files. A simple example:

Application updated a simple file from user:

Desktop
1. App launches get pid
2. Locks file.
3. Reads file.
4. Displays file.
5. Waits for user input.
6. Writes updated file.
7. Removes lock
8. Program exits and pid is destroyed

Web:
1. Session created with user login
2) Web server calls script
    locks file*
    reads it
    displays it
    script ends
3) Web server waits for next request.
    check session if same user goto 4 else 2
4) Get user edits
    write file
    remove lock*
    script ends
5) User logout to remove session

*With a web app you would not lock the file from step 2-4 because if the 
user left (close the browser, whatever) the session does not 
automatically get destroyed the the desktop pid to run a cleanup to 
unlock the file and such. You can have a session expire to auto logout 
and such but it is not the same at all. With a desktop app it is real 
easy to to insure only one instance, not so nor often desirable for web.


> It's pretty much the same thing, except that some websites don't do
> squat about saving state-data for an individual user.  Some use PHP
> "session" stuff to do that, where a session identifier is a token coming
> in on each http request that allows that user's state-data to be
> reloaded for the request.

To emulate what happens in the desktop environment on the web is not so 
easy.

> The loop is basically the same except that its "top" gets rolled around
> to the middle and given a different name.  For a desktop-app the "top"
> is the guy hitting the enter key or clicking the mouse or whatever,
> that's the top of the "message loop".  For a web-app the browser
> recognizes a link-click and sends an http request.  It's the same thing
> unless you get fixated on the details to the point where you can't see
> the forest.  Look an X Windows application in enough detail and you'll
> see the same basic process with a different protocol used between the
> client and the server.  Steak or hamburger, it's all beef.
>


-- 
Take care,

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

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


#8246

Fromcrankypuss <noemail@noemail.invalid>
Date2013-02-04 09:15 -0700
Message-ID<keomqq0hrs@news4.newsguy.com>
In reply to#8244
On 02/04/2013 09:06 AM, Jonathan N. Little wrote:

<mostly, snipped>

> To emulate what happens in the desktop environment on the web is not so
> easy.

The world is in a sad state when people prefer code that was written 
easy over code that was written right.

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


#8248

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2013-02-04 16:24 +0000
Message-ID<keonca$plr$1@news.albasani.net>
In reply to#8246
On 04/02/13 16:15, crankypuss wrote:
> On 02/04/2013 09:06 AM, Jonathan N. Little wrote:
>
> <mostly, snipped>
>
>> To emulate what happens in the desktop environment on the web is not so
>> easy.
>
> The world is in a sad state when people prefer code that was written
> easy over code that was written right.

well there you go. You had better start from scratch and design your own 
hardware then. And your own language and your own operating system.

Engineering is never about Getting Things Right: only mathematicians 
have that luxury. For people in the Real World (TM) its a question of 
getting things good enough for purpose, by the shortest and least hard 
route.

If that means engineering a 1501cc engine in, instead of 1500cc, because 
the difficulties of achieving the prefect Roundness of Wheels is 
absolute, then that's what we do.

PHP is that route for simple web based apps. For anything else its 
largely not that useful.

Accept it, and move on..

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


#8251

From"Jonathan N. Little" <lws4art@gmail.com>
Date2013-02-04 11:35 -0500
Message-ID<keonv3$5ou$1@dont-email.me>
In reply to#8248
The Natural Philosopher wrote:
> On 04/02/13 16:15, crankypuss wrote:
>> On 02/04/2013 09:06 AM, Jonathan N. Little wrote:
>>
>> <mostly, snipped>
>>
>>> To emulate what happens in the desktop environment on the web is not so
>>> easy.
>>
>> The world is in a sad state when people prefer code that was written
>> easy over code that was written right.
>
> well there you go. You had better start from scratch and design your own
> hardware then. And your own language and your own operating system.
>
> Engineering is never about Getting Things Right: only mathematicians
> have that luxury. For people in the Real World (TM) its a question of
> getting things good enough for purpose, by the shortest and least hard
> route.
>
> If that means engineering a 1501cc engine in, instead of 1500cc, because
> the difficulties of achieving the prefect Roundness of Wheels is
> absolute, then that's what we do.
>
> PHP is that route for simple web based apps. For anything else its
> largely not that useful.
>
> Accept it, and move on..
>

IOW the right tool for the right job.

-- 
Take care,

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

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


#8259

Fromcrankypuss <noemail@noemail.invalid>
Date2013-02-05 02:22 -0700
Message-ID<keqj1211khr@news3.newsguy.com>
In reply to#8251
On 02/04/2013 09:35 AM, Jonathan N. Little wrote:
> The Natural Philosopher wrote:
>> On 04/02/13 16:15, crankypuss wrote:
>>> On 02/04/2013 09:06 AM, Jonathan N. Little wrote:
>>>
>>> <mostly, snipped>
>>>
>>>> To emulate what happens in the desktop environment on the web is not so
>>>> easy.
>>>
>>> The world is in a sad state when people prefer code that was written
>>> easy over code that was written right.
>>
>> well there you go. You had better start from scratch and design your own
>> hardware then. And your own language and your own operating system.
>>
>> Engineering is never about Getting Things Right: only mathematicians
>> have that luxury. For people in the Real World (TM) its a question of
>> getting things good enough for purpose, by the shortest and least hard
>> route.
>>
>> If that means engineering a 1501cc engine in, instead of 1500cc, because
>> the difficulties of achieving the prefect Roundness of Wheels is
>> absolute, then that's what we do.
>>
>> PHP is that route for simple web based apps. For anything else its
>> largely not that useful.
>>
>> Accept it, and move on..
>>
>
> IOW the right tool for the right job.
>

PHP is hardly "the right tool" for any job, but it can be used for more 
than simple web based apps.

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


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

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


csiph-web