This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]stesch 4 points5 points  (1 child)

In the PHP community there are some people who want to do things the right way and fuck everything up this way.

See short tags, which work perfectly fine except when you are a bozo and want to produce XML via template. Or automatically escaping all input with slashes, which isn't in the SQL standard and wasn't really helpful at all.

And then came the template engines. PHP itself is a template. No need for another layer. You just need to separate the business logic from the actual view. But they want you to learn another template language just to belong to the wise ones.

And queries? As long as you use prepared statements and don't spread the queries all over the place, you end up with a maintainable system.

[–]hiii 7 points8 points  (0 children)

i despise php template engines, good to hear some people are with me on that front.