Page 1 of 1
PHP Desktop Application
Posted: Tue Oct 09, 2007 2:36 pm
by tecktalkcm0391
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?
Posted: Tue Oct 09, 2007 4:31 pm
by Kieran Huggins
have you considered XULruner? It's got SQLite, etc... You'd be writing the core code in javascript, but all your layouts could still be in xhtml, with added XUL if you feel like it.
Check it out
Posted: Tue Oct 09, 2007 4:36 pm
by SwizzCodes
try AIR from Adobe, it's much easier to use then XULRunner (which seems like a dead project to me) and the community is growing fast!
You can use an SQLite Database, too. Lots of more features and they're all consistent on Pc and Mac. And you don't need a webserver.
Posted: Tue Oct 09, 2007 4:46 pm
by Kieran Huggins
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.
Posted: Sun Oct 21, 2007 7:06 pm
by Stryks
Sorry... old thread I know, but have you taken a look at phpDock by
Nusphere??
SQLite support as well.
Posted: Mon Oct 22, 2007 11:37 am
by RobertGonzalez
NameVirtualHost. Set this up in Apache on your machine so that all calls that normally go to localhost get sent to 'INSERTNEWLOCALHOSTNAMEHERE'. Then edit your hosts file and change 'localhost' to whatever you want it to be.
Posted: Thu Oct 25, 2007 3:34 pm
by tecktalkcm0391
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.
Posted: Wed Nov 07, 2007 1:03 pm
by tecktalkcm0391
How can you make your own Apache/PHP/MySQL Package?
Re: PHP Desktop Application
Posted: Thu Mar 20, 2008 10:28 pm
by tecktalkcm0391
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.
Re: PHP Desktop Application
Posted: Fri Mar 21, 2008 10:25 am
by RobertGonzalez
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
Re: PHP Desktop Application
Posted: Fri Mar 21, 2008 2:27 pm
by tecktalkcm0391
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!