tags:

views:

59

answers:

2

Hello all i have application that generate php/html/asp web sites and i like to be able to let the possibility to test the sites from within the application . is there any possibility to do that ?

A: 

Testing a web site is a pretty complicated task. While you could certainly write a web server and test engine, I'm not sure why you would want to. I'd suggest using IIS (since you need ASP) as your web server and configuring it to support PHP. Then use WatiN or Selenium, or something similar to test your sites.

tvanfosson
A: 

I have to agree with tvanfosson. Including a full-fledged standalone web server, and one that supports both ASP and PHP, is a tall order. It can probably be done, but I don't know if you have the manpower or resources to do it.

Your best hope would probably be to include a self-configuring web server with your application. For PHP you could just use an open source web server like Apache with the Zend Engine. I'm not so sure how you could distribute an ASP interpreter with your software.

However, I think a more practical solution is to simply do what Dreamweaver and most other HTML editors/web development tools do. Since the user would likely already have access to a web server, you could just have them supply the login information for the SFTP/SCP and have the application upload the code to the remote or local server for testing.

Calvin