Hi
I recently did some training around front end topics and I'm left a little confused by templates. To create a template app I understand that I create an application and name it template_myapp. I then give it a description and an image.
I can then use that template to build new apps.
What I don't understand is this....in a quiz I took one question was 'How do you create the template module?'
The answer was d. Create a module with the name Template_myapp give it a description and an image.
What's the difference between a template app and a template module? Is the template module created within the template app?
Is there a scenario whereby there might be a template_module within the template_app which you wish to reuse but you don't want to make use of the whole template? Is this what the question is referring to?
It is the module that is the template, it just has to sit in some app to exist.
You can name your app whatever you like, you could even have multiple templates in the same app.
It is the module that should start with Template_ and have an icon and a description. Actually, the icon and description are not really necessary, it works without them, but it just helps in choosing one when starting a new application.
When you create an application based on a template, your modules that you create in it will be based on your template instead of the standard reactive module.
I was studing this exatcly topic today and testing the template creation I saw that description and icon wasn't necessary, even the documention saying so. I'll do the front-end exam this week and I am really concerned about this.
Thanks @Dorine Boudry very helpful.
With regards to the icon and description does that relate to the app rather than the module or does it mean I should change the module icon and give the module a description?
e.g. here..
Thanks
The module
for example : I have an application with multiple template modules
2 of them have an icon and a description, the bottom one doesn't
And this is how i see them when starting a new application
Thanks for clarifying, very helpful! @Dorine Boudry