[wp-trac] [WordPress Trac] #33472: Templating Engine

WordPress Trac noreply at wordpress.org
Thu Sep 10 02:31:35 UTC 2015


#33472: Templating Engine
-----------------------------+---------------------------------------
 Reporter:  KalenJohnson     |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Themes           |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  administration, template
-----------------------------+---------------------------------------

Comment (by francogilio):

 Do any of you guys tried out Sprig by Zach Adams: [https://github.com
 /zach-adams/sprig] ?

 It's got some interesting concepts and uses Twig as the Templating Engine.



 Replying to [comment:12 xavivars]:
 > I've started to use Timber for a couple of projects recently, and it
 makes amazingly simple to write WordPress templates.
 >
 > One of the projects is being built from scratch with Timber (we started
 from plain static HTML files, and we've been integrating it with WordPress
 while building the twig templates), and it's much easier and the result is
 much cleaner than what would be using "standard" WordPress templates.
 >
 > For the other project (which, in fact, was like the proof-of-concept of
 the second) we took an existing website and started migrating one template
 at a time the existing theme to twig (through Timber). Thanks to the
 backwards compatibility, we could do that incrementally, and we even
 published intermediate versions of the theme where only a few templates
 were using twig, and the others were still standard WordPress templates.
 >
 > I'd love to see Timber becoming WordPress native.


 Wow, I didn't knew about that deep backwards compatibility. I'm eager to
 try it out!

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33472#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list