@twigpress Sprig brings Twig into WordPress in a completely WordPressy way…
– Escaping functions as Twig filters
– WordPress form helper functions as Twig functions
– Simple WordPress filters to extend Twig to do whatever you need
– Not bloated like Timber
@twigpress Is there a live working example somewhere? I kinda want to see what gets outputted.
@ericmikkelsen81 @twigpress In theory Sprig will be lighter as there is less PHP stuff being translated for Twig. They both use Twig and you can enable or disable Twig caching. I don’t enable Twig caching and haven’t noticed a significant difference rendering pages. I let the full page cache handle caching.
@twigpress Yea API Gateway was designed for text and dealing with any sort of binary data was a real pain. I ended up using [email protected] as part of CloudFront to work around those issues for media. Or you could just use developer.wordpress.com/docs/pho… to handle resizing 😜
@twigpress To the S3! Aka Amazon Unlimited FTP Server
@twigpress Ohhhh! Makes sense!
@twigpress Oh Google and your personalized recommendations.
It’s a bunch of PDFs.
@colin_howells @TimberWP Then I read carlalexander.ca/designing-class… from @twigpress and it clicked that you want to pass data to function and let it render the data into a template so it can be reuseable and not tied to WordPress post. It can be reused with different data dynamically or statically.