Page 1 of 1

Interesting: HTTP server in PHP

Posted: Sat Aug 26, 2006 1:12 am
by alex.barylski
A web server developed in PHP :P

http://nanoweb.si.kz/

I wonder if this could be used in mock unit tests that required a server???

Admittedly, I'm still not toally clear about the use behind them, but the more I read the more I like...besides...I don't code anything anyways until I have hammered out a fairly solid API...so unit testing actually makes sense...

Posted: Mon Aug 28, 2006 6:10 pm
by Ollie Saunders
Yes definately interesting. Also a bit mental, I'm not about to change from Apache any time soon.

Posted: Mon Aug 28, 2006 6:15 pm
by alex.barylski
ole wrote:Yes definately interesting. Also a bit mental, I'm not about to change from Apache any time soon.
Well no...obviously...Apache being a binary would run much faster, etc...but for prototyping or using it in test cases I thought it might be a practical purpose there...

Don't AUT'er's use mock objects, etc...when the real one isn't available???

Posted: Mon Aug 28, 2006 7:55 pm
by RobertGonzalez
So does that mean that the server PHP would run on would be built in PHP? I can't seem to wrap my mind around that, for some reason.

Posted: Mon Aug 28, 2006 8:08 pm
by Benjamin
Probably runs via CLI as a daemon.

Posted: Mon Aug 28, 2006 8:35 pm
by Ambush Commander