Quote Originally Posted by Viflux
Is the encapsulation of HttpRequest and HttpResponse an attempt at duplicating how you would handle the situation with a Java Servlet?
That's what it looks like to me

"design a 'skeleton' script?" Sure! Just hold on while I reinvent Java...

Off Topic:

Seems like we have three options IMO:

  • Reinvent Java Servlets (or something else from Java land)
  • Reinvent Rails (which uses a request object plus a "params" hash)
  • Invent something to fit PHP


Though I don't want to tun this into a smaller version of the 'What can a web app developer like about Java?' thread

I've not used Java Servlets btw, so I can't speak about them