Title :
Varis: IDE Support for Embedded Client Code in PHP Web Applications
Author :
Hung Viet Nguyen ; Kastner, Christian ; Nguyen, Tien N.
Author_Institution :
ECpE Dept., Iowa State Univ., Ames, IA, USA
Abstract :
In software development, IDE services are used to assist developers in programming tasks. In dynamic web applications, however, since the client-side code is embedded in the server-side program as string literals, providing IDE services for such embedded code is challenging. We introduce Varis, a tool that provides services on the embedded client-side code. We perform symbolic execution on a PHP program to approximate its output and parse it into a VarDOM that compactly represents all its DOM variations. Using the VarDOM, we implement various types of IDE services for embedded client code including syntax highlighting, code completion, and ´find declaration´.
Keywords :
Internet; embedded systems; programming environments; IDE support services; PHP Web applications; VarDOM; Varis tool; editor services; embedded client-side code; programming tasks; server-side program; software development; symbolic execution; Approximation methods; Cascading style sheets; HTML; Presses; Servers; Syntactics; IDE services; embedded code; web applications;
Conference_Titel :
Software Engineering (ICSE), 2015 IEEE/ACM 37th IEEE International Conference on
DOI :
10.1109/ICSE.2015.225