Let's take theming away from the nightmare situation for front end developers. Use the CodeIgniter's default theming engine to theme the view files
PROS
Safer (Designers won't mess up the code)
Simple and clean (Remove PHP code in view files)
CONS
Slower. CodeIngiter uses preg_match(); to render templates. Not good in traffic heavy sites.
Not professional. It was just made for smaller scripts
SOLUTION
After some time, we can use Smarty or Twig as our primary templating engine. Support the thing you like. Now it's Smarty VS Twig VS CI TEMPLATES
Let's take theming away from the nightmare situation for front end developers. Use the CodeIgniter's default theming engine to theme the view files
PROS
CONS
preg_match();
to render templates. Not good in traffic heavy sites.SOLUTION After some time, we can use Smarty or Twig as our primary templating engine. Support the thing you like. Now it's Smarty VS Twig VS CI TEMPLATES