patTemplate::readTemplatesFromInput() is the method that will be used
in all of your applications that use patTemplate.
It is needed to load the templates from file, string or any other
input that you specified.
To read from custom sources like a database, you'll have to
create a new reader.