PHP Desktop Application
Moderator: General Moderators
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida
PHP Desktop Application
I wanted to see if you could do this... install PHP and apache to a home computer, and set apache to be at "book" instead of "localhost" or something like that. Were it was only accessable on the ONE computer. Then I am going to use PHP/ajax/Javascript/HTML/Flash and Adobe AIR to combine to create a "desktop application"... how does that sound? Possible?
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
-
SwizzCodes
- Forum Newbie
- Posts: 20
- Joined: Tue Dec 19, 2006 3:23 pm
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
Incidentally, you don't need a framework installed for XULrunner apps to work, which I see as a downside to AIR.
AIR reeks of Flash to me. Anyone else?
SwissCodes makes an excellent point that XULrunner has been rather relaxed (stagnant?) as a community, but it's essentially just Firefox minus the UI/layouts. As such, the codebase will be updated as long as Firefox exists.
I guess it really boils down to whatever your project requires in the end.
AIR reeks of Flash to me. Anyone else?
SwissCodes makes an excellent point that XULrunner has been rather relaxed (stagnant?) as a community, but it's essentially just Firefox minus the UI/layouts. As such, the codebase will be updated as long as Firefox exists.
I guess it really boils down to whatever your project requires in the end.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida
Thanks!!!!
One more question... how can I do this part... I don't want the users to have to upload and download files to a central website because of security issues, which I'd rather not deal with... What I want to do is make it so there are "user computers" and a "master computer"... the "master computer" get something installed on it (This is what I need help figuring out) [Apache? SQLite? PHP? MySQL?] in order for that computer to act like the host.
The user computers would connect to the master via a specfic address like http://theprogramname/ (kinda like localhost, execpt where anyone on the network can access it) and then i'd look like a regular old website, with PHP and a database.
One more question... how can I do this part... I don't want the users to have to upload and download files to a central website because of security issues, which I'd rather not deal with... What I want to do is make it so there are "user computers" and a "master computer"... the "master computer" get something installed on it (This is what I need help figuring out) [Apache? SQLite? PHP? MySQL?] in order for that computer to act like the host.
The user computers would connect to the master via a specfic address like http://theprogramname/ (kinda like localhost, execpt where anyone on the network can access it) and then i'd look like a regular old website, with PHP and a database.
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida
Re: PHP Desktop Application
I hate to open this up again, but I am still having problems. How can I setup apache so that I have an intranet like server where i can access it from http://intranetservice or something similar from any computer on the network.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: PHP Desktop Application
If your computer is recognized on the network, as long as your computer is on, you can hit your computer name and it resolve to your base server on your machine.
I did that with my computer at work. I made a virtual host in my httpd.conf though, but it is just as easy.
As I was developing the WWW stuff I was working on anyone in the company could see my progress by hitting http://mycomputername.companydomain.com
I did that with my computer at work. I made a virtual host in my httpd.conf though, but it is just as easy.
As I was developing the WWW stuff I was working on anyone in the company could see my progress by hitting http://mycomputername.companydomain.com
Last edited by RobertGonzalez on Fri Mar 21, 2008 10:25 am, edited 1 time in total.
Reason: Misspellings abound
Reason: Misspellings abound
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida
Re: PHP Desktop Application
So pretty much just set the virtual host up to like theNameIWant, then go into a browser and type http://theIPAddress and it will forward over... i'll try it later... thanks!