JsViews

In this article:


    jsViews is a Javascript tool or library that we have made available with app.js file. This means that just like our developers, you have access to use them on the templates you develop at Dandomain Webshop.

    jsViews is a templating language for Javascript developed by developers from Microsoft, among others.
    The fact that JsViews is a templating language means that it can be used to create and build HTML elements in Javascript from Javascript data. Such as JSON, for example.

    A templating language is especially useful if you have a list of elements that are structured the same or where there are few things that differentiate them. For example, a product list. With a template, you can create a template that can be reused for all the elements.

    In the shopsyste, we use JsViews on the product card and checkout, among other things.

    If you want to know more about jsViews, you can find information on it on their website and in their documentation at http://www.jsviews.com.