Showing 7 of 1,697 result(s)

/blog/2023/09/03/creating-a-hybrid-cache-system-for-statamic#content-experimenting-with-response-times

…it interesting that the numbers bounced around quite a bit, so I then made the change to exit before I included Composer. The response time was consistently between 1 and 2 milliseconds on my local development machine after this change. We can't...

/blog/2023/09/03/creating-a-hybrid-cache-system-for-statamic#content-organization-singletons-and-facades

…. As we progress further along the development of our cache system, we will interact with our App\HybridCache\Manager implementation and from many diverse places within the codebase. Because the cache's current state is critical, regardless of...

/blog/2022/11/01/a-beginners-guide-to-antlers-arrays-and-loops#content-inserting-content-at-arbitrary-or-random-locations

…t our list of blog posts. We can achieve this behavior by creating a custom modifier that we can use to insert random content into our blog posts. In app/Modifiers/InsertContent.php : Example 1.78 Before we look at the Antlers template, let us...

/blog/2022/11/01/a-beginners-guide-to-antlers-arrays-and-loops

Arrays are the most versatile datatype when working with Antlers templates. Throughout this article, we will look at various ways to iterate arrays, define and manipulate them, and the default helper variables that exist to help you develop your...

/blog/2021/02/15/implementing-a-customer-dsl-parser-in-php#content-describing-our-language-input

…d to take a moment to understand exactly what it is we are trying to analyze. Let's consider the following example input: where(name, =, 'Alice\'s name')|where(author, =, '\\')|is:published(true) This input string contains three filter...

/blog/2021/12/12/creating-a-content-reaction-system-with-statamic-3-and-antlers#content-implementing-the-reaction-view-count

…e to generate the scaffolding, simply create a new file at app/Tags/ReactionCount.php before continuing. Once the tag file as been created, open the app/Tags/ReactionCount.php file and update its contents to the following: Our tag will accept a...

/blog/2014/07/21/part-one-creating-a-custom-pagination-view-in-laravel

Update You can view the completed part two of this article by visiting Part Two: Creating a Custom Pagination View in Laravel In this post we are going to look at building a custom paginator view in Laravel 4. There are quite a few posts are the...

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.