in reply to Issues and Advantages module Text::Template

Hi,

Your question is very funny

because your school assignment is not important

Nobody targeting CGI worries about maintainability, scalability and reliability and delimiter because how could any of that stuff be important if your plan is to target CGI?

How is delimiter even a thought you spend more than one second considering unless this is your very first piece of code you had to write ever?

You can't outsource experience, you have to live it, thats the point of homework like this, so

Pick any templating system out of a hat and try to use it

Spend a day writing code, then "throw it all out" (start a new directory, version2)

Tomorrow pick another templating system out of a hat and start writing code from scratch

  • Comment on Re: Issues and Advantages module Text::Template (opinions)

Replies are listed 'Best First'.
Re^2: Issues and Advantages module Text::Template (opinions)
by Corion (Patriarch) on Jun 02, 2017 at 07:43 UTC

    I understand "target CGI" to mean "output the HTML myself", and "run via the CGI protocol" (instead of some kind of server, like mod_perl).

    So I don't see why one shouldn't or couldn't think about maintainability, scalability, reliability and template delimiters when targetting CGI.

    Also, while I fully support that experience is something you have to do yourself, there certainly are ideas that are so bad that they don't need to be explored. But you don't give any actual arguments as to why CGI shouldn't be explored, and you don't give any arguments as to why the choice of delimiter doesn't matter.

      Aw awww :)

      So you don't see the humor ? You think its not a student? And you think I'm against CGI?

      Its like asking tell me the best way to build a car thats the fastest and the most fuel efficient and bestest it can be ... also mechanics will be working on it so engine accessible from the drivers seat is a plus

      How can you seriously respond to such a question ? Oh right, you didn't :)

        Yes, but I also didn't choose a derisive and hostile tone towards somebody fresh to the site.

        If you leave off the first four sentences of your node, your answer becomes much friendlier in tone while it still says the same thing.