You simply goto
http://builtwith.com/ and type in any URL and it runs the analysis, I assume it just parses the GET and POST requests and all headers and hence knows the libraries, frameworks and technologies used to some extent. I once wrote something similar that did a reverse DNS, found the IP, country , user-agent etc ...