a single-page app design of code guidlines