Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old September 1st, 2012, 06:58 AM
Authorized User
Points: 64, Level: 1
Points: 64, Level: 1 Points: 64, Level: 1 Points: 64, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?
  #2 (permalink)  
Old September 3rd, 2012, 03:39 AM
Friend of Wrox
Points: 651, Level: 9
Points: 651, Level: 9 Points: 651, Level: 9 Points: 651, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2011
Location: North East UK
Posts: 125
Thanks: 0
Thanked 24 Times in 24 Posts
Default

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
  #3 (permalink)  
Old September 3rd, 2012, 04:18 AM
Authorized User
Points: 64, Level: 1
Points: 64, Level: 1 Points: 64, Level: 1 Points: 64, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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??
  #4 (permalink)  
Old September 3rd, 2012, 10:30 AM
Friend of Wrox
Points: 651, Level: 9
Points: 651, Level: 9 Points: 651, Level: 9 Points: 651, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2011
Location: North East UK
Posts: 125
Thanks: 0
Thanked 24 Times in 24 Posts
Default

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.
  #5 (permalink)  
Old September 3rd, 2012, 12:06 PM
Authorized User
Points: 64, Level: 1
Points: 64, Level: 1 Points: 64, Level: 1 Points: 64, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ye i got it .. thanks for the help.
  #6 (permalink)  
Old September 6th, 2012, 03:56 AM
Authorized User
Points: 64, Level: 1
Points: 64, Level: 1 Points: 64, Level: 1 Points: 64, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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??
  #7 (permalink)  
Old September 6th, 2012, 08:48 AM
Friend of Wrox
Points: 651, Level: 9
Points: 651, Level: 9 Points: 651, Level: 9 Points: 651, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2011
Location: North East UK
Posts: 125
Thanks: 0
Thanked 24 Times in 24 Posts
Default

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:
nancyfromafrica (October 29th, 2012)
  #8 (permalink)  
Old October 29th, 2012, 08:18 AM
Registered User
 
Join Date: Oct 2012
Location: London
Posts: 2
Thanks: 2
Thanked 0 Times in 0 Posts
Default

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
  #9 (permalink)  
Old April 30th, 2013, 05:36 AM
Registered User
Points: 24, Level: 1
Points: 24, Level: 1 Points: 24, Level: 1 Points: 24, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2012
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Smile

Quote:
Originally Posted by internetpirate11 View Post
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.
  #10 (permalink)  
Old February 2nd, 2014, 05:45 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by internetpirate11 View Post
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.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to develop an app using .net framework with MySQL as the backend? Rayford kinney .NET Framework 3.5 1 May 18th, 2018 05:06 AM
Quick App Maker Studio L - Free IDE for develop Cross-Platforms Gui databases applica appexpert Java GUI 0 November 8th, 2011 07:08 AM
02 IN 01 Desktop App (App+Wind Handler) pk_ocp .NET Framework 2.0 0 February 26th, 2008 02:58 PM
Java desktop app with Win XP look alt7 Java Basics 0 February 8th, 2006 09:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.