Welcome Guest, Not a member yet? Register   Sign In
Poll: Improvement for Template Parser Class
You do not have permission to vote in this poll.
Yes!
68.75%
11 68.75%
No!
31.25%
5 31.25%
Total 16 vote(s) 100%
* You voted for this item. [Show Results]

Template Parser - class expansion
#2

@condor

There is another old idea proposed for CI3, according to which an external advanced template parser could be used through a driver.

In future terms for CI4, a service locator and adapters for parsers could be created (lately I see that DI has been scrapped). A possibility of using Twig and Mustache parsers is interesting for me.

The CodeIgniter default parser is quite simple now, yes. But I don't see perspective for its syntax expansion, there are better parsers already.

I think, for CodeIgniter parser an improvement that could be implemented is enforced HTML escaping by default with syntax for turning it off on selected places at will.
Reply


Messages In This Thread
Template Parser - class expansion - by condor - 02-14-2016, 01:55 PM
RE: Template Parser - class expansion - by ivantcholakov - 02-14-2016, 03:53 PM
RE: Template Parser - class expansion - by condor - 02-15-2016, 01:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB