RESTful Remote Object Proxies with ProxyManager
The proxy pattern is another cool design pattern in software development. A proxy is a class working as an interface to another class or web service. For the sake of simplicity, weβll refer to proxied classes as subjects throughout the rest of the article.
The proxy pattern is another cool design pattern in software development. A proxy is a class working as an interface to another class or web service. For the sake of simplicity, weβll refer to proxied classes as subjects throughout the rest of the article.
Hexagonal Architecture
I found Hexagonal Architecture to be a good expression of how I think about code. In fact, when I wrote Implementing Laravel, I was actually espousing some ideals of Hexagonal Architecture without knowing it.
I found Hexagonal Architecture to be a good expression of how I think about code. In fact, when I wrote Implementing Laravel, I was actually espousing some ideals of Hexagonal Architecture without knowing it.
Organize Your Code PHP Best Practices
A few advices for how to organize your code and what tools will help you.
A few advices for how to organize your code and what tools will help you.
Basic Refactoring Techniques: Extract Method
Refactoring is the process of restructuring code without changing its behaviour and the technique "Extract Method" is one of the most important building blocks of refactoring.
Refactoring is the process of restructuring code without changing its behaviour and the technique "Extract Method" is one of the most important building blocks of refactoring.
Managing PUT requests with file uploads in psr-7 and middleware PHP applications
It has been a long time since I first realized that handling file uploads in non-POST requests (like PUT) wasn't an easy task.
It has been a long time since I first realized that handling file uploads in non-POST requests (like PUT) wasn't an easy task.
Mitigating PHPβs long standing issue with OPCache leaking sensitive data
A very old security vulnerability has been fixed in PHP regarding the way it handles its OPCaches in environments where a single master process shares multiple PHP-FPM pools. This is the most common way to run PHP nowadays and might affect you, too.
A very old security vulnerability has been fixed in PHP regarding the way it handles its OPCaches in environments where a single master process shares multiple PHP-FPM pools. This is the most common way to run PHP nowadays and might affect you, too.
Google Spreadsheets and PHP
Have you ever needed to pull some data from a Google Spreadsheet? My default in the past would be to export the data and upload it to the app directly, but it turns out itβs not very difficult to read directly from Google Spreadsheets using the Google Drive API.
Have you ever needed to pull some data from a Google Spreadsheet? My default in the past would be to export the data and upload it to the app directly, but it turns out itβs not very difficult to read directly from Google Spreadsheets using the Google Drive API.
Modelling Reactive Systems with Event Storming and Domain-Driven Design
A successful Event Storming sessionβββas well as a successful software projectβββdemands equal parts art, knowledge, and technical skill. Also, itβs much cheaper to make changes to sticky notes than production code. Learning about your systems by writing code is a very expensive way of understanding and refining the business processes involved.
A successful Event Storming sessionβββas well as a successful software projectβββdemands equal parts art, knowledge, and technical skill. Also, itβs much cheaper to make changes to sticky notes than production code. Learning about your systems by writing code is a very expensive way of understanding and refining the business processes involved.
Modelling Reactive Systems with Event Storming and Domain-Driven Design
A successful Event Storming sessionβββas well as a successful software projectβββdemands equal parts art, knowledge, and technical skill. Also, itβs much cheaper to make changes to sticky notes than production code. Learning about your systems by writing code is a very expensive way of understanding and refining the business processes involved.
A successful Event Storming sessionβββas well as a successful software projectβββdemands equal parts art, knowledge, and technical skill. Also, itβs much cheaper to make changes to sticky notes than production code. Learning about your systems by writing code is a very expensive way of understanding and refining the business processes involved.
Creating strictly typed arrays and collections in PHP
One of the language features announced back in PHP 5.6 was the addition of the ββ¦β token to denote that a function or method accepts a variable length of arguments.
One of the language features announced back in PHP 5.6 was the addition of the ββ¦β token to denote that a function or method accepts a variable length of arguments.
How to use Domain-Driven Design to better understand the business
DDD is an approach to software development which strongly focuses on modeling the core business concepts β model β which in general is the most complex part of a business systems. DDD is neither a technology nor a methodology. It simply provides the best practices to take the right decisions to accelerate software projects for complicated domains.
DDD is an approach to software development which strongly focuses on modeling the core business concepts β model β which in general is the most complex part of a business systems. DDD is neither a technology nor a methodology. It simply provides the best practices to take the right decisions to accelerate software projects for complicated domains.
Simply Boost Laravel Performance In Production
When you are going to deploy your Laravel project into production environment, performance becomes matter because real users will use your website or services.
When you are going to deploy your Laravel project into production environment, performance becomes matter because real users will use your website or services.
Maintain Slim PHP MVC Frameworks with a Layered Structure
Fat controllers and models: an inevitable problem for most large-scale projects based on MVC frameworks such as Yii and Laravel. The primary thing that fattens controllers and models is the Active Record, a powerful and essential component of such frameworks.
Fat controllers and models: an inevitable problem for most large-scale projects based on MVC frameworks such as Yii and Laravel. The primary thing that fattens controllers and models is the Active Record, a powerful and essential component of such frameworks.
#news #drupal
Security vulnerability in unmaintained Drupal contrib module puts 120000 sites at risk
http://drupal.sh/vulnerable-drupal-contrib-module-puts-120000-sites-at-risk
Security vulnerability in unmaintained Drupal contrib module puts 120000 sites at risk
http://drupal.sh/vulnerable-drupal-contrib-module-puts-120000-sites-at-risk
s Best Practice Actually Poor Practice? Dependency Injection, Type Hinting, and Unit Tests...
I've recently been in discussion with a colleague who thinks that dependency injection (DI) is over-used and, in cases where the dependency is a concrete class, unnecessary (in the latter case, he advocates simply creating new objects on the fly). I raised the point that dependency injection allows you to pass in a mock object while unit testing, but he dismissed that as irrelevant and not a valid argument as to why dependency injection is useful.
I've recently been in discussion with a colleague who thinks that dependency injection (DI) is over-used and, in cases where the dependency is a concrete class, unnecessary (in the latter case, he advocates simply creating new objects on the fly). I raised the point that dependency injection allows you to pass in a mock object while unit testing, but he dismissed that as irrelevant and not a valid argument as to why dependency injection is useful.
Symfony 4: Monolith vs Micro
Monolith projects versus micro-applications; a never-ending debate. Both ways to develop applications are fine in my book. Symfony supports both. Even if the Symfony Standard Edition is probably more suitable for monolith projects as it depends on the symfony/symfony package.
Monolith projects versus micro-applications; a never-ending debate. Both ways to develop applications are fine in my book. Symfony supports both. Even if the Symfony Standard Edition is probably more suitable for monolith projects as it depends on the symfony/symfony package.
This Picture Will Change the Way You Learn to Code
Recently several amazing visualizations of the various technologies used by web developers in 2017 surfaced on the Interwebs. One of them (geared towards backend developers) is pictured above.
https://cdn-images-1.medium.com/max/1000/1*wS8k6IlIgSb-7-lPhaNyrQ.png
Recently several amazing visualizations of the various technologies used by web developers in 2017 surfaced on the Interwebs. One of them (geared towards backend developers) is pictured above.
https://cdn-images-1.medium.com/max/1000/1*wS8k6IlIgSb-7-lPhaNyrQ.png
13 Simple Rules for Good Coding (from my 15 years of experience)
Hi guys, i work as a programmer more than 15 years and was using many different languages, paradigms, frameworks and other shit. And i want to share with you my rules of writing good code.
Hi guys, i work as a programmer more than 15 years and was using many different languages, paradigms, frameworks and other shit. And i want to share with you my rules of writing good code.
How You Can Successfully Ship New Code in a Legacy Codebase
The greek philosopher Heraclitus already knew that "change is the only constant" and as software developers we know this to be true for much of software development and business requirements.
The greek philosopher Heraclitus already knew that "change is the only constant" and as software developers we know this to be true for much of software development and business requirements.