Building a procedurally generated game with PHP
A tutorial on creating a procedurally generated 2D game map using PHP, covering noise generation and rendering with CSS grid.
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.
250 articles from this blog
A tutorial on creating a procedurally generated 2D game map using PHP, covering noise generation and rendering with CSS grid.
A critique of the 'considered harmful' mindset in programming, using a popular Laravel critique as a starting point to discuss self-reflection and best practices.
An analysis of PHP's evolution through 'design by committee,' comparing its development process to the awkward but functional camel.
Explains PHP 8.3's new feature allowing readonly properties to be reinitialized during object cloning, specifically within the __clone method.
A developer advocates for using light color schemes in coding environments, citing readability, UI consistency, and eye health.
A developer explains their practice of 'code folding' to improve readability and focus by collapsing method bodies and using keyboard shortcuts.
A critical look at the use and potential pitfalls of acronyms in programming, using SOLID principles as a primary example.
A developer shares their top 10 favorite built-in PHP functions, highlighting useful and surprising capabilities of the language.
Explores the debate on placing curly brackets on new lines for better code readability, scanning, and consistency in programming.
Argues that using tabs for code indentation is superior to spaces due to accessibility benefits for visually impaired and blind developers.
An overview of PHP's evolution in 2023, covering the PHP Foundation's impact and new features in PHP 8.2.
A video walkthrough detailing the process of upgrading the Aggregate project to PHP 8.2.
A developer's wish for PHP to adopt a compile-time step, inspired by JavaScript's evolution with tools like TypeScript and Babel.
Overview of new features, performance improvements, and deprecations in the PHP 8.2 release, including readonly classes and a new random extension.
A developer explains why they prioritize a self-hosted newsletter over social platforms like Twitter and Mastodon for audience control.
The author announces their personal YouTube channel is now officially 'PHP Annotated' and part of their role as a JetBrains developer advocate.
A technical guide for upgrading to PHP 8.2 on macOS using the Homebrew package manager, including version switching and extension management.
The author announces the deprecation of the spatie/data-transfer-object PHP package, explaining its evolution and reasons for its end-of-life.
Explains the new readonly class feature in PHP 8.2, detailing its syntax, rules, and practical use cases for data objects.