php desktop application

Discussion in 'PHP' started by rakhi123, May 12, 2009.

  1. #1
    Hi all !
    I want to create desktop application in php. Can anyone tell me how to create it
     
    rakhi123, May 12, 2009 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    hi, php isn't ment for desktop use... so i think you rather use another programming language like C/VisualBASIC and such
     
    EricBruggema, May 12, 2009 IP
  3. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #3
    Out of curiosity what did you have in mind for a desktop application?
     
    pipes, May 12, 2009 IP
  4. kblessinggr

    kblessinggr Peon

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #4
    PHP is a Hypertext Parser, its designed strictly for the web or to be invoked by the webserver. For desktop programming you want to look into something like visual basic, real basic, etc etc if you need something graphical, and C++, Python, etc if you want to do something from the code level (you can even create an OpenGL application with Python)
     
    kblessinggr, May 12, 2009 IP
  5. gummyworms

    gummyworms Active Member

    Messages:
    126
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #5
    let me guess you want a program that simple to work with and a nice interface to look at where as all the other programs C++ and python are just all codes on a black dos window that crashes if it doesnt compile right and never tells you why. And Visual Basic as an alternative solution can work I havent been keeping in touch with all the new VB stuff, Microsoft has been cramming a little libraries into the new ones that can probably do a lot of cool stuff.

    Ok back to your problem, try VB, and if thats too problematic and you must use php. get a WAMP that installs mysql, apche webserver and php on your windows computer for you to play with.
     
    gummyworms, May 12, 2009 IP
  6. BMR777

    BMR777 Well-Known Member

    Messages:
    145
    Likes Received:
    8
    Best Answers:
    1
    Trophy Points:
    140
    #6
    It can be done. There is a free program called PHPComplile which lets you run a PHP application as a standalone .exe file on Windows, self-contained. :)
     
    BMR777, May 12, 2009 IP
  7. monster64

    monster64 Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    It's possible as BMR777 mentioned. However, it isn't practical at all. Unless you want to run a web server on your own computer and use a browser as a GUI it isn't going to work very well. You should definitely look into using a language meant for the platform you are developing for, in this case Win32.
     
    monster64, May 12, 2009 IP
  8. Gordaen

    Gordaen Peon

    Messages:
    277
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Actually, you can write PHP applications for the desktop with PHPGTK, but I, too, would recommend another programming language. Python is pretty easy to learn and useful for a variety of scripting needs as well.
     
    Gordaen, May 12, 2009 IP