Interesting: HTTP server in PHP

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Interesting: HTTP server in PHP

Post 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...
User avatar
Ollie Saunders
DevNet Master
Posts: 3179
Joined: Tue May 24, 2005 6:01 pm
Location: UK

Post by Ollie Saunders »

Yes definately interesting. Also a bit mental, I'm not about to change from Apache any time soon.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post 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???
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Probably runs via CLI as a daemon.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Post Reply