学计算机最主要的是将理论落地,对于框架的理解,最好的办法就是去用,我觉得这篇外文博客写的很好。
原文链接:https://jeffknupp.com/blog/2014/03/03/what-is-a-web-framework/
精髓提取出来就是:
Solving The Big Two: Routing and Templates
Of all the issues surrounding building a web application, two stand out.
- How do we map a requested URL to the code that is meant to handle it?
- How do we create the requested HTML dynamically, injecting calculated values or information retrieved from a database?