@mapp directive is a shorthand directive that
returns any relative url supplied with a parent directory of res/main.
This directory is where the core static resources of spoova framework is located. This makes it easier to
link to static resource files within the directory. The example below shows how the directive can be applied
in template files.
<img src="@mapp('images/image.jpg')">
<img src="{domain}/res/main/images/image.jpg"/>
domlink()
function. Hence, it keeps track of the last url supplied.