Using client-side QWeb templates

Just as it's a bad habit to programmatically create HTML code in JavaScript, you should only create the minimum amount of DOM elements in your client-side JavaScript code. Fortunately, there's a templating engine available for the client side, too, and even more fortunately, the client-side templating engine has the same syntax as the server-side templates.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset