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

Home » Imported messages » comp.lang.php » anyone else writing Linux (or cross-system) applications in PHP?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: anyone else writing Linux (or cross-system) applications in PHP? [message #180254 is a reply to message #180249] Sun, 03 February 2013 10:57 Go to previous messageGo to previous message
crankypuss is currently offline  crankypuss
Messages: 147
Registered: March 2011
Karma:
Senior Member
On 02/02/2013 02:43 PM, Robert Heller wrote:
> At Sat, 02 Feb 2013 13:27:45 -0700 crankypuss <noemail(at)noemail(dot)invalid> 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.
>
> Bash is 'Born Again Shell' and is just an extended flavor of the Bourne
> Shell, which is truly very simple in many ways. I don't think anyone
> really considers bash seriously as something to write actual full-blown
> applications in -- it never was (and is not) considered an 'application
> programming language'. It is more meant either for basic simple
> scripts -- short hand for commonly / repeatedly used command sequences
> or for writing wrappers around applications that need some special
> environment (like mozilla firefox).

From what I've seen, bash is commonly used for "applications" and in
the process it's commonly pushed way beyond its limits by what appears
to be the standard practice of not checking for errors. Probably my
glasses have lint stuck to them or something. <g>

> Tradionally, UNIX people write
> their applications in C. These days, C++ has replaced C for larger
> applications in many ways. Otherwise people use other high-level
> languages, mostly scripting ones: Perl, Python (yech), Tcl(/Tk), Java,
> XUL/JavaScript, etc. (And yes, for major number crunching
> applications, FORTRAN is used heavily as COBOL is used heavily in
> business applications.)
>
>>
>> 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.
>
> The shell is what makes the world go round... :-) The shell is like
> connective tissue. Not terribly exicting or useful on its own, but
> without it, everything would fall apart.

I doubt that "everything would fall apart" but it might get a bit wobbly
until someone came up with some actual reliable bits to replace it.

>>
>> 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>
>
> Yeah, I don't like Python either. Many people use Perl, but I consider
> Perl something of a write-only language (Perl is the new APL). *I* use
> Tcl(/Tk) for desktop applications, both for non-GUI scripting and for
> GUI applications (even rather major ones). PHP is not really intended
> for standalone *desktop* applications. It was *specificly* designed
> for Web Applications and has many *core* features specific for such
> applications. I don't believe there are any GUI toolkits available for
> php.

Yeah, there is plenty (meaning, "nearly enough") available in the way of
builtin functions, but PHP is web-oriented at least insofar as "echo"
and headers go.

What I'm using for desktop applications is something I'm building that
is (at present, anyway) based on ncurses. Except for the bits that need
to work with existing code, bits like nautilus scripts, and for that
kind of thing I'm using zenity which rather sucks but it only needs to
do a few simple things.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with readdir and ssh2
Next Topic: web designers and developers
Goto Forum:
  

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

Current Time: Fri Nov 29 22:52:37 GMT 2024

Total time taken to generate the page: 0.04815 seconds