School's starting again! No matter if pupil, student or apprentice – everyone should be prepared for the future tasks and lessons. But if you want to broaden your PHP horizon, you should visit the IPC with the PHP Academy.
Many developers store the required .phar files of the respective tools directly in the document root of the repository to escape the dependency hell . That is the place you inevitably end up in if you pack the tools in the require-dev area of composer.json instead. There is however a way to not only solve this issue more elegantly, but also save storage space in your own version control system.
The new minor version of Symfony was released at the end of May, heralding the launch of Symfony 5. In addition to big new features such as the Mailer and HTTP Client component, existing components have also been extended and improved and additional deprecations introduced; these deprecated functions will subsequently be removed in Symfony 5. Following is an overview of the most important new features.
Since the end of 2018, PHP 5.x is no longer being supported. This means in particular that any vulnerability discovered since the beginning of January 2019 is and will remain a zero-day vulnerability - meaning there will be no patch for it. But what can we say about the security of PHP 7.x as compared to PHP 5.x?
Functional programming is trending now. Many programming languages now provide good support for developing code functionally. PHP also contains mechanisms for functional programming. Unfortunately, other paradigms, such as good legibility or good understanding of the code, often get lost along the way; but it doesn’t have to be that way!
One of the big, new features of Symfony 4 is the messenger component, which was introduced in the last release. Similar to the EventDispatcher, it is sending messages but it can also send and receive messages across the boundaries of the application. Thus, it is offering the potential to introduce event sourcing and CQRS to Symfony applications.
By now, Node.js isn’t a small-time-player anymore when it comes to the backend technology. However, the acceptance and distribution of the platform has only increased in recent years, so that more and more developers have to approach this technology. Node.js’ lightweight character is its biggest advantage, but also a disadvantage. Node.js only has a handful of core modules, which can be used to implement even larger web application. But this comes at price, because all the important features, such as routing or a plug-in layer for web applications, must be implemented manually.