What is data?

In this article:


    What is data?

    Data is the output that a controller or entity provides, e.g. a title from a blog post. It is then possible to work with the data further, for example for use in if-statements.

    A data can be printed in HTML with smarty code, as shown below.

    
    {*** BlogPosting title ***}
    

    {$item->Title}

    What can data be used for?

    In addition to printing data between HTML codes, as shown above, data can be used for:

    • Logic - for example if-statements
    • Filters - for example create a string for uppercase