http://qs321.pair.com?node_id=169757


in reply to Re: OUTPUT: inline or template_based?
in thread OUTPUT: inline or template_based?

Phew was it there stuff to read... however I have noted one post in particular which tells that the community is simply divided by which technique is better... and I sincerely could still not determine what fits best the common practice.

Point is: I don't have experience on the subject, so I was interested in Monk's opinions to make up my mind before doing serious coding.

As of now, I prefer inline code... most simply because I dont have still understood (nor found) practical examples of WHY templating IS better.

To maybe enrich the concept some more... suppose that the templates need not be modified once the APP is deployed... wouldn't it be an unworthy effort to code for such use and open a vulnerability in the application?

Many thanks everybody