Welcome Guest, Not a member yet? Register   Sign In
template engine?
#4

(05-26-2016, 02:58 PM)winers1290 Wrote:
(05-25-2016, 06:54 PM)skunkbad Wrote: No and no, but there's no problem with that. Also, if you're working with a "designer" that isn't comfortable around php, a funky template language isn't going to help. You just need to work with more experienced people.

I agree with you, PHP is something you would need even designers to be comfortable with.

However, surely it is a security risk, being able to execute PHP code in a view? I think I prefer all business logic entirely separate, and I just wondered whether there was a method in Codeigniter to strip views of PHP code when a user was utilising the template parser.

I suppose I could use the NGINX config file to manage this. I really only mention it because I've been doing some work with Drupal lately and I know that their ideology is that PHP shouldn't be executed in a view.

No it's not, when the html runs PHP is not visible to the users. Do a page view when you go to any site that uses PHP.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
template engine? - by winers1290 - 05-25-2016, 06:33 PM
RE: template engine? - by skunkbad - 05-25-2016, 06:54 PM
RE: template engine? - by winers1290 - 05-26-2016, 02:58 PM
RE: template engine? - by InsiteFX - 05-27-2016, 03:31 AM
RE: template engine? - by winers1290 - 05-28-2016, 03:07 AM
RE: template engine? - by cartalot - 05-27-2016, 12:55 PM
RE: template engine? - by Paradinight - 05-28-2016, 08:22 AM
RE: template engine? - by cartalot - 05-28-2016, 12:21 PM
RE: template engine? - by marksman - 06-14-2016, 08:06 AM
RE: template engine? - by ivantcholakov - 06-14-2016, 10:37 AM
RE: template engine? - by PaulD - 06-14-2016, 12:37 PM
RE: template engine? - by ivantcholakov - 06-15-2016, 04:17 AM
RE: template engine? - by spjonez - 06-15-2016, 05:31 AM
RE: template engine? - by prezire - 06-15-2016, 05:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB