A Good API into the complex WordPress API
-
I’ve been working a lot with Timber recently and it has been a wonder.
Coming from traditional MVC style code and how templates are used in Rails/Laraval/Express, the WordPress API and theme development process was a disaster in comparison. If you are coming from modern web application development, I highly recommend this Library. The WordPress API is mostly in global scope by default and template compilation can be cached, so there is little-to-no trade off.
Timber uses Twig Templates, which are similar to Jinja Templates in Python or Django Templates. They are extremely flexible and easy to wrap your head around. I would probably start at the twig website and at Jarad’s Screencasts.
I am now actively contributing to it on Github and look forward to helping Jarad make it even more powerful.
- The topic ‘A Good API into the complex WordPress API’ is closed to new replies.