Knockout Application Basics

I use knockout to develop the front-end of our application. It has silent, impressive features and has simplified for us many complex data binding scenarios. However, it does not provide any guidance or constructs that can help structure the code. Are there any application structures created on the Knockout platform that provide the creation of modular applications with a large scale of JavaScript. For example, in the case of Backbone there are many application infrastructures built on top of it (Marionette, Chaplin, Vertebrae, LayoutManager, etc.).

+4
source share
1 answer

We built BoilerplateJS . This is not quite a framework, but it is the reference architecture for large-scale JavaScript projects. It can be used with knockoutjs, as well as a few examples .

It provides guidance on how to:

  • The structure of your code in modules
  • How to manage dependencies (RequireJS is used here)
  • Client Side Routing
  • Unit testing .. and several other aspects to consider when creating a large-scale JavaScript application.
+4
source

Source: https://habr.com/ru/post/1435688/


All Articles