发明申请
- 专利标题: Web Site Implementation by Mapping Expression Evaluation
- 专利标题(中): 通过映射表达式评估实现网站
-
申请号: US12795766申请日: 2010-06-08
-
公开(公告)号: US20110302267A1公开(公告)日: 2011-12-08
- 发明人: Erik Bo Christensen
- 申请人: Erik Bo Christensen
- 申请人地址: US WA Redmond
- 专利权人: MICROSOFT CORPORATION
- 当前专利权人: MICROSOFT CORPORATION
- 当前专利权人地址: US WA Redmond
- 主分类号: G06F9/44
- IPC分类号: G06F9/44 ; G06F15/16
摘要:
Web sites are modeled using mappings from paths to expressions. A mapping data structure of expressions represents a web site's hierarchical structure, and an enumerator, an array of characters, or an array of bytes represents the web site's content. Expressions are written in a declarative programming language, and are lazily evaluated to provide results used in HTTP responses. A mapping may be recursive. An expression may contain a function call which returns contents of a file named in the HTTP request path, or the expression may evaluate to a text string, for example. Expressions may call functions which produce side-effects. An expression may recursively map a directory name to a mapping of a file name. Scalability is promoted by concurrently evaluating expression(s) on different machines in a stateless middle tier, and by streaming results. An arbitrarily large web site may be implemented in this manner.
公开/授权文献
- US08645490B2 Web site implementation by mapping expression evaluation 公开/授权日:2014-02-04
信息查询