JavaScript in OutSystems
As is often said in web programming circles, the frontend is made up of three strands: HTML, which is the bones, CSS is the skin, and…muscles are missing!
The muscles, or the application's ability to respond and have dynamic behaviors, such as adopting certain behaviors according to the user's orders, are given by another language: JavaScript!
As in the previous cases, Service Studio automatically generates the JavaScript necessary for the correct functioning of the application, either inserted as a resource or indirectly in function calls of certain components.
The autogenerated scripts are saved in the Scripts
folder in the Interface tab, and if we want to extend or customize something in our application that needs more scripts, we can add our files to that same folder. Note that the OutSystems platform accepts minified or formatted code, as JavaScript...