[RFC] Gradually switch to TWIG template syntax
- DavidIQ
- Customisations Team Leader
- Posts: 1905
- Joined: Thu Mar 02, 2006 4:29 pm
- Location: Earth
- Contact:
Re: [RFC] Gradually switch to TWIG template syntax
If we don't transition anything at all then what was the point of merging the TWIG engine into phpBB? That being said if this is going to hold back 3.1 then I would say leave it for a subsequent release, maybe an RC. I don't see why this should either hold back the Alpha release nor why it could not be included in a Release Candidate. It would be great if the full switch can happen before 3.1 comes out of RC status.
- EXreaction
- Registered User
- Posts: 1555
- Joined: Sat Sep 10, 2005 2:15 am
Re: [RFC] Gradually switch to TWIG template syntax
The move to Twig was primarily because our template engine was not maintainable and really buggy. There were critical issues that were difficult, if not impossible to fix on our old template engine because of how it was designed.
- Pony99CA
- Registered User
- Posts: 986
- Joined: Sun Feb 08, 2009 2:35 am
- Location: Hollister, CA
- Contact:
Re: [RFC] Gradually switch to TWIG template syntax
So that people writing new styles for phpBB 3.1 could use TWIG? I suspect that people are going to have enough problems porting their MODs to extensions and they won't want to worry about changing template systems.DavidIQ wrote:If we don't transition anything at all then what was the point of merging the TWIG engine into phpBB?
However, I presume that if somebody writing an extension is familiar with TWIG, they can use TWIG in their style extensions, right?
I agree. Switching can probably wait until 3.2. Maybe the responsive ProSilver style can use TWIG, too.DavidIQ wrote:That being said if this is going to hold back 3.1 then I would say leave it for a subsequent release, maybe an RC.
Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
- DavidIQ
- Customisations Team Leader
- Posts: 1905
- Joined: Thu Mar 02, 2006 4:29 pm
- Location: Earth
- Contact:
Re: [RFC] Gradually switch to TWIG template syntax
Yes that will be fine and encouraged.Pony99CA wrote:However, I presume that if somebody writing an extension is familiar with TWIG, they can use TWIG in their style extensions, right?