 |
| Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

September 1st, 2012, 06:58 AM
|
|
Authorized User
|
|
Join Date: May 2012
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
can we develop desktop app., using PHP?
helo can any one say me
1. can we develop desktop application using PHP?? as php also supports OOPs concept these days..
2. which is the frequently programming language used for developing desktop application?
|
|

September 3rd, 2012, 03:39 AM
|
|
Friend of Wrox
|
|
Join Date: May 2011
Posts: 125
Thanks: 0
Thanked 24 Times in 24 Posts
|
|
Greetings,
1. In theory you could, however, any machine wanting to run the application would have to have PHP on it. Hence the reason for making web based apps, PHP then only needs to be on a server and users access the app via a browser.
2. At a guess I would say C++ but apps can be written in the likes of Delphi, Visual Basic etc
|
|

September 3rd, 2012, 04:18 AM
|
|
Authorized User
|
|
Join Date: May 2012
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ye thanks for the reply but let me ask you that those languages in which desktop application are built they supports OOPs concept right??
so PHP also supports OOPs so is PHP being used for developing desktop apps??
|
|

September 3rd, 2012, 10:30 AM
|
|
Friend of Wrox
|
|
Join Date: May 2011
Posts: 125
Thanks: 0
Thanked 24 Times in 24 Posts
|
|
Greetings,
Yes.
Guess you did not read point 1 above then... so read point 1 in my previous post.
Or to expand on point 1...
You have a company with 500 users and a few servers. You develope an app in PHP and then have to install and maintain php on 500 computers. This would be a pain.
Or you develope the app as a web app and then have php on a webserver, so it's in one place and only have one machine to update etc, users then access the app via a browser which every computer has.
|
|

September 3rd, 2012, 12:06 PM
|
|
Authorized User
|
|
Join Date: May 2012
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ye i got it .. thanks for the help.
|
|

September 6th, 2012, 03:56 AM
|
|
Authorized User
|
|
Join Date: May 2012
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
well if we developed software using visual basic then also we have to install in all the pc of the company.
ex: if there are 500 pc then it is difficult to install isnt it??
|
|

September 6th, 2012, 08:48 AM
|
|
Friend of Wrox
|
|
Join Date: May 2011
Posts: 125
Thanks: 0
Thanked 24 Times in 24 Posts
|
|
Greetings,
Obviously. Just like you'd have to install office on any machine that needed it on there so the user could do their job.
However, you didn't ask about Visual Basic applications you asked about developing PHP desktop apps. Therefore it really depends on exactly what you are trying to accomplish as to which way you should go about building the application (i.e. in which language it's written).
|
|
The Following User Says Thank You to UseLess For This Useful Post:
|
|
|

October 29th, 2012, 08:18 AM
|
|
Registered User
|
|
Join Date: Oct 2012
Posts: 2
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
php is for web development where as languages like c++ are designed for application development i don't think u cant develop desktop apps using php
|
|

April 30th, 2013, 05:36 AM
|
|
Registered User
|
|
Join Date: Dec 2012
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by internetpirate11
helo can any one say me
1. can we develop desktop application using PHP?? as php also supports OOPs concept these days..
2. which is the frequently programming language used for developing desktop application?
|
First answer : Php is not used for the desktop application in present days.
: Yes you are right about the oop concept. In Those days php and oop concepts is very popular in php developers.
Second Answer : In India for some of programming languages very popular desktop application like asp.net, java, c, c++, Oracle.
|
|

February 2nd, 2014, 05:45 AM
|
|
Registered User
|
|
Join Date: Feb 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by internetpirate11
1. can we develop desktop application using PHP?? as php also supports OOPs concept these days..
|
Sure. Take a look at the PHP Desktop project ( https://code.google.com/p/phpdesktop/). It lets you develop native desktop applications using PHP/HTML5. PHP Desktop embeds a Chrome browser, a web server and a php interpreter, it is kind of a PHP to EXE compiler. Converting your web app to desktop app is basically a matter of copying it to the www/ directory.
|
|
 |