Partials are another approach to splitting the rendering process into better-controlled, smaller parts. By using partials, you will be able to place code for the rendering of certain view parts into separate files. Partials allow you to follow the DRY methodology in your view layer. With Phalcon 3.0.0 and later, partials can be situated outside the main project structure, making their use extremely valuable. For example, you can use the same partials for a number of sites located on one server.
For successful implementation of this recipe, you need to have any application with the configured Volt Template Engine service. In our example, we will use a template application generated by means of the Phalcon Developer Tools, however, you can use any other application that you have set.