PHP 7.1: Nullable Types and the Void Return Type
PHP 7.1's nullable types and void return type make function signatures more readable and precise, so one glance shows whether a function can return null.
Blog
My hands-on development journal: PHP and Laravel, Go, JavaScript and TypeScript, developer tools and career. Architecture writing lives in Engineering. (Page 15/17)
PHP 7.1's nullable types and void return type make function signatures more readable and precise, so one glance shows whether a function can return null.
How I bring structure to growing stylesheets using Sass variables, nested rules, mixins, file partials and extend, so one change stops breaking another.
A walkthrough of the core concepts and practical setup I encountered while moving page transitions to the client side with Vue Router.
Sharing what I learned about testing API endpoints without a browser, building collections, and integrating Postman into my development workflow.
How I design pagination, filtering, and sorting parameters in an API to present growing datasets to clients in a manageable way.
A walkthrough of the end-to-end flow for file uploading in Laravel: the form, validation, saving the file, resizing the image and handling error cases.
How I use interface definitions and dependency injection in PHP to build loosely coupled classes, illustrated with practical examples.
Why I abandoned the build pipeline I built with Gulp, and what I gained — and struggled with — when switching to Webpack.
How I use Laravel's event system to decouple side effects from the main flow — with practical examples of what you gain.
My experience moving from jQuery DOM manipulation to Vue.js's data-driven approach, and how I wrote my first reactive component.
How I apply SRP, the S in SOLID, to PHP classes with concrete examples, moving beyond abstract theory and asking where it is reasonable to stop splitting.
How I manage multiple user types in a single Laravel 5.2 application using authentication guards and route groups, and the password reset gotcha I hit.