Developing Single Page Application With Best Practices