Replies: 1 comment 1 reply
-
|
Hello colleagues, sorry for the intrusion in the post, but I was very happy
to see Timber and the link from our colleague Jarkko.
It uses an MVC pattern, something we don't even use when creating templates
or plugins. In addition to its lean structure.
I wish I could help with something.
Em dom., 26 de mai. de 2024 02:37, Jarkko Saltiola ***@***.***>
escreveu:
… I recently found out about Timber which is a layout or theme framework for
WordPress using common patterns from server side rendering frameworks
https://timber.github.io/docs/v2/. While I'm still getting up to speed
with it rebuilding some slow sites, it seems like it could be a nice fit to
use together with HTMX.
@svandragt <https://github.com/svandragt> would you have interest and/or
time to check that out a bit and maybe give some pointers how it would
integrate with HTMX(Press)? I may look into it myself a bit later also, but
I don't have as good understanding on the WP internals being used.
This is also somewhat related to issue #1
<#1> as Twig templating it
uses is very similar to eg. Django or Jinja2 templates, maybe many patterns
from there could be used in WP also with more similar template engine on
both sides.
—
Reply to this email directly, view it on GitHub
<#16>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR2AUHIYM3YC3R6T3YPDOLZEFYJ3AVCNFSM6AAAAABIJP5HSWVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWG4ZDSOBRHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I recently found out about Timber which is a layout or theme framework for WordPress using common patterns from server side rendering frameworks https://timber.github.io/docs/v2/. While I'm still getting up to speed with it rebuilding some slow sites, it seems like it could be a nice fit to use together with HTMX.
@svandragt would you have interest and/or time to check that out a bit and maybe give some pointers how it would integrate with HTMX(Press)? I may look into it myself a bit later also, but I don't have as good understanding on the WP internals being used.
This is also somewhat related to issue #1 as Twig templating it uses is very similar to eg. Django or Jinja2 templates, maybe many patterns from there could be used in WP also with more similar template engine on both sides.
EDIT: there was recent issue about this in Timber repo also: timber/timber#2944
Beta Was this translation helpful? Give feedback.
All reactions