944,005 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 3368
  • PHP RSS
Feb 26th, 2007
0

PHP for application/software development

Expand Post »
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.
Similar Threads
Reputation Points: 15
Solved Threads: 0
Junior Poster
tech291083 is offline Offline
181 posts
since Oct 2006
Feb 27th, 2007
0

Re: PHP for application/software development

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.
Reputation Points: 12
Solved Threads: 3
Light Poster
jblacdao is offline Offline
37 posts
since Jan 2007
Feb 28th, 2007
0

Re: PHP for application/software development

Click to Expand / Collapse  Quote originally posted by jblacdao ...
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.
Reputation Points: 15
Solved Threads: 0
Junior Poster
tech291083 is offline Offline
181 posts
since Oct 2006
Feb 28th, 2007
0

Re: PHP for application/software development

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.
Reputation Points: 21
Solved Threads: 26
Posting Whiz in Training
Rhyan is offline Offline
240 posts
since Oct 2006
Feb 28th, 2007
0

Re: PHP for application/software development

Click to Expand / Collapse  Quote originally posted by Rhyan ...
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.
Reputation Points: 15
Solved Threads: 0
Junior Poster
tech291083 is offline Offline
181 posts
since Oct 2006
Feb 28th, 2007
0

Re: PHP for application/software development

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.
Reputation Points: 21
Solved Threads: 26
Posting Whiz in Training
Rhyan is offline Offline
240 posts
since Oct 2006
Feb 28th, 2007
0

Re: PHP for application/software development

Click to Expand / Collapse  Quote originally posted by Rhyan ...
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.
Reputation Points: 15
Solved Threads: 0
Junior Poster
tech291083 is offline Offline
181 posts
since Oct 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: There has to be a couple of vbulletin experts here
Next Thread in PHP Forum Timeline: My script needs help-Calculate a Paycheck





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC