Static websites with Tempest
Explains how to generate static HTML pages from dynamic PHP controllers using the Tempest framework's StaticPage attribute and data providers.
Brent — Curator of Stitcher’s Community Feed, a community-driven, hand-curated content aggregator highlighting thoughtful, high-quality writing from across the web. The feed focuses on software engineering, open source, web development, infrastructure, and the human side of building technology. Readers can browse recent picks, follow via RSS, or contribute their own suggestions.
239 articles from this blog
Explains how to generate static HTML pages from dynamic PHP controllers using the Tempest framework's StaticPage attribute and data providers.
A reflection on the concept of 'theoretical software engineers' and the tension between ideal best practices and pragmatic, real-world development.
Overview of new features in PHP 8.4, including property hooks, chaining on 'new', and asymmetric visibility.
Explores Tempest PHP framework's 'unfair advantage' of starting fresh, questioning established patterns like Laravel facades, and embracing modern PHP features.
Announcement for a livestream to tag the first alpha release of Tempest, a software framework.
A developer reflects on the evolution of his custom static site generator, moving away from complex YAML configuration towards a simpler approach.
A developer's critique of inheritance misuse in OOP, comparing abstract classes vs. interfaces and advocating for better design patterns.
The author explains why their PHP framework, Tempest, will require PHP 8.4 as a minimum version, citing future-proofing, community advancement, and managing adoption.
A developer reflects on how his coding style and preferences have evolved over a decade, moving away from abstractions and clever code toward simplicity and practicality.
A developer shares the design process and challenges of implementing improved lazy loading in their custom ORM, focusing on static analysis and reducing configuration.
The article argues that most programming tasks, from ORMs to routing, fundamentally involve text processing and data mapping.
array_find in PHP 8.4 Written on 2024-07-18 PHP 8.4 adds a handful of functions that have been missing for a while: array_find() and its variants. The
PHP 8.4 introduces a new, fully HTML 5 compliant parser via the \Dom\HTMLDocument class, fixing long-standing HTML support issues.
PHP 8.4 introduces syntactic sugar allowing method/property chaining on new objects without extra parentheses, streamlining code.
A developer shares how a single blog post about a Laracasts video led to a job at Spatie and eventually a role as a PHP Developer Advocate at JetBrains.
A PHP developer reflects on leaving Twitter, realizing it's a vocal minority and not essential for staying relevant in the PHP community.
Explains tagged singletons in dependency injection, allowing multiple singleton instances of the same class distinguished by tags for different contexts.
A look at the exciting developments in PHP for 2024, including the PHP Foundation's work, the FrankenPHP app server, and Laravel's growth.
A developer explores efficient testing strategies for 109+ regex-based code highlighting patterns, moving from individual tests to data-driven approaches.
A technical guide on implementing a custom language syntax highlighter using patterns and injections in the tempest/highlight library.