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 #180259 is a reply to message #180258] Sun, 03 February 2013 11:50 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
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.


--
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.
[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 15:28:06 GMT 2024

Total time taken to generate the page: 0.04425 seconds