Web modules are exclusive to Velo and enable you to write functions that run server-side in the backend, and easily call them in your client-side code. Let's see Our Advanced Tips for Improved Function Import.
Web modules are exclusive to Velo and enable you to write functions that run server-side in the backend, and easily call them in your client-side code. With web modules you can import functions from backend into files or scripts in page code or public files, knowing they will run server-side in the backend. Velo handles all the client-server communication required to enable this access. See the advanced tip below if you want to know how this communication is handled.
Advanced: How Web Modules Work - Behind the Scenes
When you import a web module on the client-side you get a proxy function to the web module function. This proxy function uses an XMLHttpRequest to invoke the function in the backend. The runtime listens to those
invocations and calls the appropriate function.
The arguments and return value are serialized using JSON.
What is PHP: - Who invented PHP, how it works, answers to all such questions about PHP, and much other information, you are going to