Course content

How to write your website's custom JavaScript with Interactions

As a developer, when you need to add functionalities to the frontend of your website, you might be tempted to include some global script running everywhere. What if I told you there is a better solution? Interactions are the Odoo integrated way to inject dynamic code into your pages. They are a modernized and a more developer-friendly replacement of publicWidgets, which experienced developers in Odoo already know. With Interactions, you benefit from an actual lifecycle, with methods and a syntax closer to OWL. They start when needed and you do not have to worry about when to stop or restart them: the internals do it for you. In this talk, I will present the code of a simple Interaction, step by step, to highlight the features and the expected way of thinking about it. Try Odoo online at https://www.odoo.com/r/xGhi
Rating
0 0

There are no comments for now.

to be the first to leave a comment.