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 #180276 is a reply to message #180267] Sun, 03 February 2013 18:40 Go to previous messageGo to previous message
crankypuss is currently offline  crankypuss
Messages: 147
Registered: March 2011
Karma:
Senior Member
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.
[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 Sep 20 17:42:19 GMT 2024

Total time taken to generate the page: 0.03679 seconds