2 ms·
>>> If you need guard rails to keep you from performing database manipulations in your views you have other problems to worry about. Its a one off... Its just
by zer00eyz 3y ago
>>> If you need guard rails to keep you from performing database manipulations in your views you have other problems to worry about.
Its a one off... Its just an internal tool... This is a prototype... It's a hot fix...
I know better, I have done it. It is only with dumb luck that they didn't end up as products. Some people dont know that they should not or that it isnt a place they should try to "get away" with it. These things grow and then turn into products and someone has to clean them up.
Source: I made a lot of money turning PHP "projects" into "software".
> Also I don't see how using a loop or conditional in PHP is any different from using one in a templating engine
One of these things is Turing complete. The other is not.
Templating languages have their own laments: see yaml configs used to create "workflows", "environments" and "servers" via templating.