Patent ID: 7316003

Claim:
A method of editing a dynamic web page, the method comprising: providing an interactive view of a dynamic web page comprising static source code and dynamic source code, wherein the static source code comprises instructions in a first programming language, wherein the dynamic source code comprises instructions in a second programming language, which is different from the first programming language; detecting a change to the dynamic web page, wherein the change comprises a modification to source code for the dynamic web page; parsing the source code, wherein said parsing comprises: identifying a changed dynamic source code element within the source code; and creating a source code parse tree corresponding to the source code; marking the changed dynamic source code element wherein said marking comprises: inserting a first comment line, including a reference to line and starting column numbers of the changed dynamic source code, into the source code before the changed dynamic source code element; and inserting a second comment line into the source code after the changed dynamic source code element; deploying the source code to a server, which generates dynamic content; receiving from the server the dynamic content corresponding to the changed dynamic source code element; parsing markup language representing the dynamic content to create a markup language parse tree; identifying a relationship between the corresponding dynamic content and the changed dynamic source code element; merging the source code parse tree and the markup language parse tree into a merged model representation of the dynamic web page, wherein said merged model indicates said relationship; refreshing the interactive view of the dynamic web page; receiving a change to the dynamically generated content, and updating the dynamic source code element indicated by said relationship in accordance with the change.