发明名称 |
METHODS FOR TRANSFORMING A SERVER SIDE TEMPLATE INTO A CLIENT SIDE TEMPLATE AND DEVICES THEREOF |
摘要 |
A method, non-transitory computer readable medium, and web content server that assists with transforming server side template to client side template includes obtaining a server side template comprising a plurality of Hypertext Markup Language (HTML) and logical instructions responsive to a request for webpage received from a client device. The obtained server side template is parsed to generate a document object model. The parsed document object model is traversed to identify the plurality of HTML and logical instructions. The obtained server side template is transformed to a client side template by replacing each of the identified plurality of HTML and logical instructions during the traversing with an equivalent JavaScript code. |
申请公布号 |
US2017111431(A1) |
申请公布日期 |
2017.04.20 |
申请号 |
US201514883886 |
申请日期 |
2015.10.15 |
申请人 |
Usablenet Inc |
发明人 |
Scoda Enrico;Pittino Luca;Pezzano Simone |
分类号 |
H04L29/08;G06F17/24;G06F17/22 |
主分类号 |
H04L29/08 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for transforming server side template to a client side template, the method comprising:
obtaining, by a web content server, a server side template comprising a plurality of Hypertext Markup Language (HTML) and logical instructions responsive to a request for webpage received from a client device; parsing, by the web content server, the obtained server side template to generate a document object model; traversing, by the web content server, the generated document object model to identify the plurality of HTML and logical instructions; and transforming, by the web content server, the obtained server side template to a client side template by replacing each of the identified plurality of HTML and logical instructions during the traversing with an equivalent JavaScript code. |
地址 |
New York NY US |