Showing 7 of 1,697 result(s)

/blog/2023/09/03/creating-a-hybrid-cache-system-for-statamic-part-two

…r sections to include other data types. Another option would be to add explicit getters for each data type, but the associative array method also works as long as you are consistent with the implementation. Additionally, I would not expect any...

/blog/2021/02/15/implementing-a-customer-dsl-parser-in-php#content-parsing-a-single-input-filter

We will start our parser implementation by defining our characters as constants. We could simply write them as strings each time we need them in our code, but it is easy to make a mistake that way once things get going. We will build on the code...

/blog/2017/09/24/image-resources-for-applications-and-blogs

A common problem faced by blog authors, site hobbyist, start-ups, etc. is sourcing high-quality images without breaking the bank. Believe it or not, there are many resources available online that make amazing images available at no cost for both...

/blog/2023/09/03/creating-a-hybrid-cache-system-for-statamic#content-experimentation-and-cache-design

…the response times resulting from exiting public/index.php before Laravel and Statamic are loaded are incredibly speedy. Our main challenge will be implementing a cache system that can operate independently of Laravel, Statamic, and any other...

/blog/2023/09/03/creating-a-hybrid-cache-system-for-statamic-part-three#content-bypassing-the-cache

…l Panel and let it sit until the session expired, we would find that our X-Hybrid-Cache cookie value gets stuck at true , and won't reset until we sign back in and log out, or clear our cookies. A simple way to solve this is to update our...

/blog/2021/02/15/implementing-a-customer-dsl-parser-in-php#content-parsing-string-input-values

Our next challenge is going to be allowing for string input values. We will update our input.txt file to contain the following value: where(name, =, 'Simple string input') If we run our parser now we get the following output: It almost looks...

/blog/2023/09/03/creating-a-hybrid-cache-system-for-statamic-part-four

…s from within our templates. The logic will be straightforward: We will provide utility methods, create an Antlers tag to specify a custom expiration, and store that alongside the cached response contents. When serving the cached content, we will...

Some absolutely amazing
people

The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.