Replies: 4 comments 2 replies
|
I would like the ability to specify the priority of an extension (the higher the priority, the earlier an extension is being checked for a specific modifier/block/etc function). This way you can overwrite the internal functions with your own implementation if needed. Maybe determine the corresponding extension for a modifier at compiletime instead of at runtime (now when a modifier is called it has to look trough all the extensions everytime iirc) And maybe add a benchmark suite in CI so we can see what a release does for the performance of the engine? :D |
|
I am totally onboard and I'd like to contribute |
|
Regarding the ideas Prepare for PHP9 support: I would advocate for deprecating the entire way Smary formats Datetime Regarding the autoescaping, this is long overdue! These days it should be security first. I would like to see the following added to the Smarty 6 codebase Enforceable quality toolingIntroduce a mandatory quality pipeline containing, right from the start:
A temporary PHPStan baseline may be needed during migration, but new violations should not be accepted and the baseline should only decrease over time. So basically this would mean the codebase is e.g. PHPStan level 5 but every new feature has to adhere to PHPStan level max. New Rector rules should be introduced incrementally so that automated refactoring remains reviewable. Introducing Rector will also make supporting new major PHP versions a lot easier. We can also use Rector to validate the rendered templates. Other ideas
|
Uh oh!
There was an error while loading. Please reload this page.
It's been 3 years since work on Smarty v5 started. Time to plan for Smarty v6! Work is already underway, but I'd like the input of the community on what you think we should add and what we should leave out.
Some highlights I'd like to propose:
nocacheblocks and attributes to a native{cache}...{/cache}block see Who is using nocache? #853 and Drop support for {nocache} block and nocache attribute #1199$smarty.block.childas this will greatly simplify the application logic and prevents potential loops when used together with$smarty.block.parentAny thoughts? What would you like to see added to this list?
All reactions