Invention Grant
US08707161B2 Executing server side script code specified using PHP on a server to generate dynamic web pages
有权
在服务器上执行使用PHP指定的服务器端脚本代码来生成动态网页
- Patent Title: Executing server side script code specified using PHP on a server to generate dynamic web pages
- Patent Title (中): 在服务器上执行使用PHP指定的服务器端脚本代码来生成动态网页
-
Application No.: US12891554Application Date: 2010-09-27
-
Publication No.: US08707161B2Publication Date: 2014-04-22
- Inventor: Iain Andrew Russell Proctor , Minghui Yang , Haiping Zhao
- Applicant: Iain Andrew Russell Proctor , Minghui Yang , Haiping Zhao
- Applicant Address: US CA Menlo Park
- Assignee: Facebook, Inc.
- Current Assignee: Facebook, Inc.
- Current Assignee Address: US CA Menlo Park
- Agency: Fenwick & West LLP
- Main IPC: G06F17/28
- IPC: G06F17/28

Abstract:
Markup language documents including server side scripting code using PHP syntax are executed efficiently in response to requests received by a server. The processing of the markup language document results in generation of a transformed markup language document that is returned in response to the request. The server side script code is input to a compiler that generates C++ code (or code in any object-based language based on C language) implementing the functionality of the server side script code. The C++ code is compiled to generated object code which is executed in order to process the markup language document. The generated C++ code includes functionality supported by PHP language including redeclaration of functions, dynamic variables, global variables, and the like. The generated C++ code invokes memory allocation code that allocates and deallocates objects obtained by instantiating the generated C++ classes.
Public/Granted literature
- US20110179347A1 HIGH PERFORMANCE PHP Public/Granted day:2011-07-21
Information query