Jump to content
The Uniform Server Community

What are the advantages to use VB script over php scripts?


Sujit Kumar
 Share

Recommended Posts

I have been using Uniform Server since 5.0 and upgraded with it.

 

In the Coral however i saw it was written in VB scripts. Is there is some advantage in using VB over php here?

 

i am a php developer so i had the opportunity to modify the scripts as per my needs but now i have to learn VB to do so.

Link to comment
Share on other sites

I have been using Uniform Server since 5.0 and upgraded with it.

 

In the Coral however i saw it was written in VB scripts. Is there is some advantage in using VB over php here?

 

i am a php developer so i had the opportunity to modify the scripts as per my needs but now i have to learn VB to do so.

 

i had exactly the same question actually. it seems strange that there are so many diff techs used for doing everything. .hta, .vbs, .php, exe,

 

i was under the impression that pretty much everything could have been done using winbinder, since it already comes packaged with it. winbinder may be a bit too low-level/verbose so why not use something like http://winbinder.org/forum/viewtopic.php?f=7&t=1238 or http://winbinder.org/forum/viewtopic.php?f...30&start=15 as a starting point?

 

even without winbinder, you could simply make a web-app for 90% of the functionality backed by php using exec() when needed.

 

would be interesting to get some clarification on this.

 

all this talk about unification makes me want to take some time off to roll my own, + replace Apache w/nginx, shave a ton of weight :(

Link to comment
Share on other sites

Well the fact is that i used uniform server as a reference to make my own server which may contain nginx, postgresql etc. using the source code i can even run these on linux box i have.

 

I have never used .hta, .vbs file before and dont know if they can work the same way or that i can refer the same way.

Link to comment
Share on other sites

i spent yesterday rolling my own by slightly modifying https://github.com/Xeoncross/wnmp downloading the components, tweaking the config.

 

starting and stopping the server now takes < 1sec. there's no tray indicator, which i'm figuring out on how to make. trayconize didn't work for me on W7x64.

 

i'm quite comfortable editing the php.ini and nginx config by hand, it's much less verbose than apache's httpd.conf

 

mem usage is down, too.

 

php-cgi - 9.6mb

mysqld.exe - 27mb

nginx.exe (2 procs) - 5.3mb + 5.7mb

 

this setup feels lightweight, fast and can be auto-updated from the binary distributions using a small php script w/curl+preg_replace. maybe i'll fork WNMP and commit my changes when finished.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...