How can i use PHP for desktop programming?

Discussion in 'PHP' started by comboy, Oct 5, 2007.

  1. #1
    I read PHP manual, and i found that PHP support Desktop Programming. How can i configure PHP in order i can write a Desktop program? Is the performance good?
    Which IDE is suitable to write PHP code?
     
    comboy, Oct 5, 2007 IP
  2. Doskono

    Doskono Peon

    Messages:
    153
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I never heard of this... But I'm sure it's nothing too fancy... It's a language made for WEB... Therefore I guess you see your program through desktop through a offline browser... Which would require apache and mysql...
     
    Doskono, Oct 5, 2007 IP
  3. imagize

    imagize Peon

    Messages:
    48
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    PHP scripts can be run from the command line like many other scripting languages like perl to perform tasks. I think you have misunderstood.

    You cannot use php to write computer programs. PHP is not a programming language like c++ you do not have control over the hardware or memory of a computer.
     
    imagize, Oct 5, 2007 IP
  4. coderbari

    coderbari Well-Known Member

    Messages:
    3,168
    Likes Received:
    193
    Best Answers:
    0
    Trophy Points:
    135
    #4
    coderbari, Oct 5, 2007 IP
  5. imagize

    imagize Peon

    Messages:
    48
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Looks like you proved me wrong; an interesting read.

    However it is just a regular c extension for php to access the windows api. Why wouldn't you just write your program in c in the first place? I think this is using PHP for something it is not designed to do.

    Having said that, I'm still going to try this out. :D
     
    imagize, Oct 6, 2007 IP
  6. freelancewebaz

    freelancewebaz Well-Known Member

    Messages:
    976
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    145
    #6
    I highly recommend taking a look at WinBinder if you want to create desktop applications using PHP. Zend Studio is my IDE of choice for PHP development.
     
    freelancewebaz, Oct 6, 2007 IP
  7. comboy

    comboy Well-Known Member

    Messages:
    328
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #7
    Thank you for your help.

    I think PHP will be chosen if you have a web application which written in PHP and a desktop programming interact with the web application.
     
    comboy, Oct 6, 2007 IP