PHP for application/software development

Reply

Join Date: Oct 2006
Posts: 174
Reputation: tech291083 is an unknown quantity at this point 
Solved Threads: 0
tech291083 tech291083 is offline Offline
Junior Poster

PHP for application/software development

 
0
  #1
Feb 26th, 2007
Hi,

I was wondering whether PHP being a server side and kind of scripting languages, can be or being used for application/software development just like any other regular programming languages such as c/c++ or java. As far as I understand it is meant for web use only and thus can only be interpreted and used with a web browser. Is it possible to create programs/application with PHP that just can work as any other desktop programs and can be installed as well without involving the browser at all? I am not much aware of PHP's real capabilities so hopefully some senior PHP programmers can help me here. Thanks.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 37
Reputation: jblacdao is an unknown quantity at this point 
Solved Threads: 3
jblacdao jblacdao is offline Offline
Light Poster

Re: PHP for application/software development

 
0
  #2
Feb 27th, 2007
From what I know, I don't think that php will work without a browser. But, you can use it to build a desktop-type applications just that your interface with the system is via browsers and that you need to setup the host locally. Besides, why not use c/c++ if you're only developing desktop applications. Although, php can be used to develop intranet or LAN applications.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 174
Reputation: tech291083 is an unknown quantity at this point 
Solved Threads: 0
tech291083 tech291083 is offline Offline
Junior Poster

Re: PHP for application/software development

 
0
  #3
Feb 28th, 2007
Originally Posted by jblacdao View Post
From what I know, I don't think that php will work without a browser. But, you can use it to build a desktop-type applications just that your interface with the system is via browsers and that you need to setup the host locally. Besides, why not use c/c++ if you're only developing desktop applications. Although, php can be used to develop intranet or LAN applications.
Hi,

Thanks for the reply. I am learning C++ on my own at the moment on Linux and MySQL as well, but I just want to know whether PHP is also capable of providing the application building features just like any other language. For example you create something in VB and create an EXE file that can run on its own after installation or whatever way it is supposed to any behave like a noraml desktop application which has nothing to do with the browser and it does not suppose to be an internet based program. Thanks again I am still searching on the net about PHP and its uses in software development if any, since I hardly know the language. Cheers.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 232
Reputation: Rhyan is an unknown quantity at this point 
Solved Threads: 24
Rhyan's Avatar
Rhyan Rhyan is offline Offline
Posting Whiz in Training

Re: PHP for application/software development

 
0
  #4
Feb 28th, 2007
PHP cannot be used to create applications like you would do with C or Delphi or something like this. This is a script language and you cannot compile programs from it. So - if you don't want to use the browser - NO WAY. In order to work - you will need to install the PHP server module to parse the code.
If you want to create an application you can start learning JAVA. It can create .exe files and the only thing you need for it to run is the JAVA runtime from SUN.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 174
Reputation: tech291083 is an unknown quantity at this point 
Solved Threads: 0
tech291083 tech291083 is offline Offline
Junior Poster

Re: PHP for application/software development

 
0
  #5
Feb 28th, 2007
Originally Posted by Rhyan View Post
PHP cannot be used to create applications like you would do with C or Delphi or something like this. This is a script language and you cannot compile programs from it. So - if you don't want to use the browser - NO WAY.
If you want to create an application you can start learning JAVA. It can create .exe files.
Thanks great answer and very clear answer. But what about the following languages then?

Perl
Python
Ruby

ASP.Net
ColdFusion
JSP

Is it ok to assume that the above also being scripting-internet based/browser based languages they are also not suitable for application development?

Thanks a lot.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 232
Reputation: Rhyan is an unknown quantity at this point 
Solved Threads: 24
Rhyan's Avatar
Rhyan Rhyan is offline Offline
Posting Whiz in Training

Re: PHP for application/software development

 
0
  #6
Feb 28th, 2007
All of the above are scripting languages that are supposed to reside on a server, and basis a request from a browser to return some information.
If you want to develop a desctop application, which you install on a computer independently, you have to look for the C+,C++, Delphi and Java.
NOTE: Java and JavaScript are completely different things. Java applications are browser and system independent. JavaScript needs a browser as it manipulates with HTML objects on a web page and different browsers "understand" javascript differently.

The .NET framework is also a good opiton for Windows-based applications. Still I am not very familiar with the .NET stuff.
ASP .NET is another thing that is web oriented.

.NET is a new thing developed by Microsoft, and is getting really popular lately. E.G. ATI video graphic card drivers rely on .NET for the user interface to adjust screen controls, etc.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 174
Reputation: tech291083 is an unknown quantity at this point 
Solved Threads: 0
tech291083 tech291083 is offline Offline
Junior Poster

Re: PHP for application/software development

 
0
  #7
Feb 28th, 2007
Originally Posted by Rhyan View Post
All of the above are scripting languages that are supposed to reside on a server,
If you want to develop a desctop application, which you install on a computer independently, you have to look for the C+,C++, Delphi and Java.
Thanks you have replied quite satisfactorilly to my question, and cleared my dobuts. Being new to Linux, php etc I was confused a lot to start with, but now the doubts seem to have disappear. Thanks for a friendly response. Cheers.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC