RPGDXThe center of Indie-RPG gaming
Not logged in. [log in] [register]
 
Cool new program for running web apps offline
 
Post new topic Reply to topic  
View previous topic - View next topic  
Author Message
tcaudilllg
Dragonmaster


Joined: 20 Jun 2002
Posts: 1731
Location: Cedar Bluff, VA

PostPosted: Fri Mar 05, 2010 10:08 pm    Post subject: Cool new program for running web apps offline [quote]

I'd been thinking about how cumbersome it was to debug PHP files offline on the local host. It is, apparently, not enough to open a file from the hard drive, because then it's opened on the host machine, not the server. Instead, the user is tasked with inputting the full path of the file on the server whenever they opened the program. This is a big obstacle to using net apps as offline applications, because it's just not as simple as double clicking the file to open the app -- you've always got to put in the whole path to run the app as intended.

So I decided to use VB6 Working Model to write a program which could open web pages on the server with a single click. The user gets to select the browser to use for viewing the file (I recommend Firefox), and also they may select a server program to start and use from within the application. They can also specify the root directory for the server. Their settings are saved for later, and are recalled every time the program is opened. There is also a check against browsing in directories outside the specified server root -- if the user strays outside the server, they will be redirected back to the root.

There is also a function which checks to see if the file being opened is a XUL file. If the file has an ".ini" extension it will be opened with the "-app" switch, which when used with Firefox opens XULRunner. So it's a 100% offline app launching solution.

The alpha is completed and it is firmly in late beta. As such I will release the program as open source on the condition that somebody agrees to compile it for me in VB6.
Back to top  
MDS-MU
Monkey-Butler


Joined: 24 Oct 2006
Posts: 52
Location: sto dgo, DR.

PostPosted: Wed Mar 10, 2010 6:11 pm    Post subject: [quote]

I can compile it for you...
for php wos portable is enough though
Back to top  
tcaudilllg
Dragonmaster


Joined: 20 Jun 2002
Posts: 1731
Location: Cedar Bluff, VA

PostPosted: Thu Mar 11, 2010 12:07 am    Post subject: [quote]

I actually made this to run with wos/MoWeS. See I couldn't click on an HTML file in Explorer and have it open directly under the localhost. This app is like an Explorer for localhost.
Back to top  
tcaudilllg
Dragonmaster


Joined: 20 Jun 2002
Posts: 1731
Location: Cedar Bluff, VA

PostPosted: Thu Mar 11, 2010 2:15 am    Post subject: [quote]

Before I release it, I need to put it under a license. Which license do you think I should use?
Back to top  
MDS-MU
Monkey-Butler


Joined: 24 Oct 2006
Posts: 52
Location: sto dgo, DR.

PostPosted: Fri Mar 12, 2010 12:05 pm    Post subject: [quote]

LordGalbalan wrote:
I actually made this to run with wos/MoWeS. See I couldn't click on an HTML file in Explorer and have it open directly under the localhost. This app is like an Explorer for localhost.


well i run my php scripts from links of sites i develop...a click could be faster to test some scripts? yeah.
Back to top  
MDS-MU
Monkey-Butler


Joined: 24 Oct 2006
Posts: 52
Location: sto dgo, DR.

PostPosted: Fri Mar 12, 2010 12:10 pm    Post subject: [quote]

LordGalbalan wrote:
Before I release it, I need to put it under a license. Which license do you think I should use?


Really don't know much about licenses. you could release it as GNU but then again it wouldn't be yours anymore. so why do that unless your proggie is REALLY useful and polished for the whole coding world to use?

I'm quite good at VB6,VB.NET and php if you need help.
Back to top  
tcaudilllg
Dragonmaster


Joined: 20 Jun 2002
Posts: 1731
Location: Cedar Bluff, VA

PostPosted: Wed Jun 09, 2010 11:54 am    Post subject: [quote]

I found this cool freeware clone of VB6.

http://www.fnxbasic.com/index.html

Pretty awesome. Even does WINE.
Back to top  
Post new topic Reply to topic Page 1 of 1 All times are GMT
 



Display posts from previous:   
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum