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

Hi all,

I'm slowly going through the codeigniter manual. In the tutorial it states:

CodeIgniter does not require you to use this class since using pure PHP in your view pages lets them run a little faster. However, some developers prefer to use a template engine if they work with designers who they feel would find some confusion working with PHP.

However, my understanding was that by substituting PHP variables as plain text and removing any other PHP scripts before being rendered by the browser was a much more secure way of handling views.

My question is: does the templating engine with codeigniter prevent PHP scripts within views? And/Or, does codeigniter sanitize PHP echoes when they are called directly from the view?
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