web framework outlined learning objectives can know the relationship between web frameworks and web servers 1 . Relations web frameworks and web servers introduced earlier has studied web server, we know that the web server is mainly http request receives the user, and returns the user's request resource data, but before we develop a static web server, returns are static resource data, if we want to return to a dynamic web server resources then the how to deal with it? Here we give you introduce a web framework, using a web framework is responsible for processing requests for dynamic resources dedicated to users, this is actually a web framework provides application services for web servers, referred to as the web framework. Relations web frameworks and web servers relationship Description: web server receives a browser to initiate a request, if it is dynamic resource requests to find a web framework to deal with requests for dynamic resources web framework handles browser, the result of the processing occurs to the web server web server then in response to the result of the occurrence of the browser 2 static resources do not need to constantly changing resources, you can be ready ahead of the web server, such as: PNG / JPG / CSS / JS and other documents. 3 . Dynamic resource and static resources contrary, this resource will change frequently, such as: We often filtered according to the conditions when browsing merchandise in Jingdong, choose a different condition, browse the merchandise is different, this resource web server can not be ready in advance need web framework to help prepare the web server, where web server resources can be requested .html considered to be a dynamic resource request is handed over to the web framework for processing. 4. The WSGI protocol which is a rule collaborative work between web servers and web frameworks, WSGI agreement the web server request information passed to dynamic resource web frame processing, web processing frame the good results are returned to the web server. 5 . Summary web framework is designed to deal with a web server application requests for dynamic resources of the relationship between the web server and the web framework web framework is designed to serve a web server, web server provides service to handle dynamic resource requests.