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 #180277 is a reply to message #180259] Sun, 03 February 2013 18:43 Go to previous messageGo to previous message
crankypuss is currently offline  crankypuss
Messages: 147
Registered: March 2011
Karma:
Senior Member
On 02/03/2013 04:50 AM, The Natural Philosopher wrote:
> On 03/02/13 11:44, J.O. Aho wrote:
>> On 03/02/13 12:20, crankypuss wrote:
>>
>>> The big question in my sick mind is whether to build a distro that uses
>>> PHP as its primary scripting language or build a new language that's
>>> what PHP could have been if it hadn't been mucked-about by all and
>>> sundry who gave it functions like is_array() and isset() and when a
>>> language doesn't even have consistent naming conventions well there ya
>>> go. <g>
>>
>> There are loads of scripting languages, but you will always know that a
>> Linux (including Unix too) will have a shell installed, which makes the
>> shell scripting a lot more popular for you don't have to install another
>> dependency to be able to run. If REXX been built in by default in the
>> Linux/Unix world, then it would have been as popular for scripting as
>> Arexx in the Amiga community and replacing shell scripting with
>> something else will be something just for your own distro.
>>
>> One thing talking against PHP is the memory leaking that happens over
>> time, writing a daemon you will have it to eat up memory and need to be
>> restarted and it don't help to use unset() every time you are finished
>> with a variable.
>>
>>
>>> Then they stuck on some OOP functionality and OOP is what everybody
>>> thinks is the hot item but it's clumsier than hell to have to pass
>>> around a this-pointer and you can't slip another layer into an existing
>>> class derivation without rewriting half the world.
>>
>> Nothing forces you to use OOP, OOP has it's beauties, but not always the
>> optimal way to write the code.
>>
>>
>>> Of course at the same time there's the struggle over screen i/o,
>>> everybody and his brother wants GUI which is fine except that character
>>> mode has its uses as well.
>>
>> Sure you can write desktop applications in PHP, but not all OS:es has
>> gtk/qt/ncurses bindings and not all Linux distributions has those
>> available from the official repository, which makes PHP a poor option to
>> write desktop applications.
>>
>>
>>> The obvious compromise is an embedded app
>>> that uses PHP to write pages to an internal browser rendering engine but
>>> html has its limitations and damned if I'm wanting to get involved in
>>> javascript.
>>
>> PHP was made for the web and it's where it has it's strengths and to
>> make things faster and smother javascript will be a part of your life.
>>
>>
>> If you want something cross-platform, then look at mono, sure it's
>> larger to install than PHP, but the benefit is that you can make
>> applications that will run on multiple platforms.
>>
> java is probably the most popular cross platform interpreted language.
>
>

And McDonalds probably sells more bad hamburgers than anybody else.
[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 23:23:21 GMT 2024

Total time taken to generate the page: 0.05363 seconds