Skip to main content

Creating Dynamic Content

What is meant by dynamic content? So far, we have only discussed the possibility of including key-value configurations containing strings, arrays, or objects. However, these contents are static. If you need to insert, for example, a product carousel, you couldn't do it at the moment, as product information is dynamic and can vary over time, and manually keeping it updated is impractical.

To manage this type of dynamic content, Ector introduces the concept of "functions". "Functions" allow the execution of dynamic code that can retrieve and display real-time updated data. The details on how to use and configure "functions" will be covered in the next chapter of the documentation.