Architecture of a single-page JavaScript web application?

后端 未结 14 1475
迷失自我
迷失自我 2020-12-07 06:36

How should a complex single-page JS web application be structured on the client-side? Specifically I\'m curious about how to cleanly structure the application in terms of it

相关标签:
14条回答
  • 2020-12-07 07:40

    NikaFramework allows you to create single-page application. Also allows you to write HTML, CSS (SASS), JavaScript into separate files and bundle them into only one output file in the end.

    0 讨论(0)
  • 2020-12-07 07:40

    I would recommend to explore Yeoman. It allow you to use existing "best practice" for your new project.

    For example:

    if you decide to use Angular.js, there is a Yeoman generator, that give you a structure for routing, views, services, etc. Also allow you to Test, minify your code, etc.

    If you decide to use Backbone, checkout this generator

    0 讨论(0)
提交回复
热议问题