www.webdeveloper.com
Results 1 to 4 of 4

Thread: General PHP Question

  1. #1
    Join Date
    Nov 2006
    Posts
    172

    General PHP Question

    Can PHP be used to develop computer applications that aren't web based. My friend had an interview recently and he said they used PHP to develop computer applications that weren't web based

  2. #2
    Join Date
    Jun 2007
    Posts
    4
    The short answer is: yes

    PHP can in principle be used to create applications that are not web based. When you install PHP on a Linux system you can run any PHP script just by typing
    [code]php script.php[code]
    The output is then written to the console. I sometimes use this for debugging purposes.

    PHP can even be compiled with bindings to libraries like NCurses or Newt, which allow to create a simple user interface.

  3. #3
    Join Date
    Sep 2006
    Location
    Bucharest, RO
    Posts
    940
    Yes, it can be used for that, I made console-based servers and clients (using socket programming) in php under linux. And that's not all, ot has an extension for gtk+ which enables you to actually create windows under Linux (I didn't try this... yet ) and it has a win32 extension which enables you to create windows under Windows (didn't try this either :P)...

  4. #4
    Join Date
    Aug 2007
    Location
    Cebu
    Posts
    11
    Yes it's Possible. Have to run PHP in the OS. It also could be virtual local host on the Desktop, like "localhost".

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles