InterviewSolution
| 1. |
What Is Kid? |
|
Answer» Kid is a simple template ENGINE which includes the name of the template to be processed (which is mandatory) and input of the data to be PASSED when the template is rendered. On creation of the template for the first time, Kid creates a Python module which can be served as a CACHED version of the template. The kid.Template FUNCTION returns an instance of the template class which can be used to render the output content. The template class provides the FOLLOWING set of commands
Kid is a simple template engine which includes the name of the template to be processed (which is mandatory) and input of the data to be passed when the template is rendered. On creation of the template for the first time, Kid creates a Python module which can be served as a cached version of the template. The kid.Template function returns an instance of the template class which can be used to render the output content. The template class provides the following set of commands |
|