Comments about GTK-PHP

Discussion in 'PHP' started by onlyican.com, Jul 19, 2006.

  1. #1
    For those of you who dont know.

    You can now build Desktop applications using PHP.
    Its called PHP-GTK
    www.gtk.php.net

    This software, unline .NET, works on Microsoft, Linux, Max and other Operating Systems.

    Has anyone started on this already, got any comments about it.

    I just had a look at software by gnome.org (PHP-GTK and Pear)
    It looks really good.
    You can build Sony Games as well.
     
    onlyican.com, Jul 19, 2006 IP
  2. DrMalloc

    DrMalloc Peon

    Messages:
    130
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    php-gtk is alright, but it isn't the best system for writing applications, definately fun to play with though. Another option for using php to write applications that work on the desktop is .NET/Mono (.NET being the microsoft version on windows, mono being the opensource version for all other operating systems).
    There are many PHP->CIL compilers, as well as a bunch of other languages such as javascript.

    http://www.mono-project.com/Languages <-- full list

    Not entirely sure what you mean by the Sony Games part
     
    DrMalloc, Jul 19, 2006 IP
  3. coderlinks

    coderlinks Peon

    Messages:
    282
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi,
    I did try some stuff using PHP-GTK. It seems to be a good way to port a web-based app to desktop. But, some launcher or wrapper proggy is needed that comes with minimal PHP components that would make the script run by just running an EXE file. I could make a launcher proggy but I am too lazy to make one :D


    Thomas
     
    coderlinks, Jul 21, 2006 IP
  4. onlyican.com

    onlyican.com Peon

    Messages:
    206
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Once the final release is out.
    .NET can eat its heart out, as they mainly work on microsoft
    where php GTK works on
    Microsoft
    Linux
    Macs
    And several other OS's
     
    onlyican.com, Jul 21, 2006 IP
  5. coderlinks

    coderlinks Peon

    Messages:
    282
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Another thing is speed. PHP-GTK may not be the Speed Demon... but its still way better than .NET, atleast on my system. (A poor PIII 850MHz with 128Meg RAM). A simple Hello World console program made C# took some 1 minute to show up. While a simple window made using PHP-GTK showed up in some 5-10 seconds. Thats not exactly the best benchmarking example, but it still shows that its better than .NET. I think .NET is just Microsoft's sorry excuse for a Java clone. Thats just my opinion.

    It is very easy to design GUI in PHP-GTK using the Glade format.
    http://glade.gnome.org/
    http://gtk.php.net/manual/en/tutorials.helloglade.php

    I haven't looked at Glade much, but I think there is a visual gui builder called:
    Glade Interface Designer
    that makes it very easy to design GUIs in glade.

    Thomas
     
    coderlinks, Jul 21, 2006 IP
  6. Mrblogs

    Mrblogs Peon

    Messages:
    48
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    By Sony games, maybe he means port it to the PSP/PS2 ?
     
    Mrblogs, Jul 21, 2006 IP