How to Migrate Spaghetti to 304 Symfony 5 Controllers Over Weekend
During Easter weekend, usually, people take a break and have a rest. Instead, we used these 4 days of holiday to migrate the 304-controller application. At least that was the goal on Friday.
Me in my colleague in the migrated project accepted the challenge. We got into many minds and code-traps. We'd like to share this experience with you and inspire those who are still stuck on non-MVC code and think it might take weeks or even months to switch to a framework.
During Easter weekend, usually, people take a break and have a rest. Instead, we used these 4 days of holiday to migrate the 304-controller application. At least that was the goal on Friday.
Me in my colleague in the migrated project accepted the challenge. We got into many minds and code-traps. We'd like to share this experience with you and inspire those who are still stuck on non-MVC code and think it might take weeks or even months to switch to a framework.
Meet the new Symfony Security: Authenticators
After more than half a year of work and discussions, Symfony 5.1 ships with an experimental and revisited Security system. Iβm incredibly excited about this system, as I think it opens up the component for a lot of possibilities. Thatβs why in the coming week, Iβll publish a series of blogposts about this new system. I hope youβll be just as excited as I am and help realising the full potential with us!
After more than half a year of work and discussions, Symfony 5.1 ships with an experimental and revisited Security system. Iβm incredibly excited about this system, as I think it opens up the component for a lot of possibilities. Thatβs why in the coming week, Iβll publish a series of blogposts about this new system. I hope youβll be just as excited as I am and help realising the full potential with us!
Yii2 PHP Framework - Full Course (Build a YouTube Clone)
Yii is a fast, secure, and efficient PHP framework used to create all kinds of web apps. Learn how to use Yii2 in this full tutorial for beginners by building a YouTube clone.
Yii is a fast, secure, and efficient PHP framework used to create all kinds of web apps. Learn how to use Yii2 in this full tutorial for beginners by building a YouTube clone.
Avoiding inheritance in Laravel
Over the past few years, I've paired with hundreds of developers on their Laravel projects. One of the most common regrets (technical debt) we encounter is the use of inheritance. While inheritance is one of the pillars of object oriented programming, it's actually less beneficial when used alongside a framework like Laravel.
Over the past few years, I've paired with hundreds of developers on their Laravel projects. One of the most common regrets (technical debt) we encounter is the use of inheritance. While inheritance is one of the pillars of object oriented programming, it's actually less beneficial when used alongside a framework like Laravel.
Liskov Substitution Principle in PHP
PHP did not start as an Object Oriented Programming language, but over the years, PHP has improved with classes, namespaces, interfaces, traits, abstract classes, and other improvements that help developers write SOLID code.
PHP did not start as an Object Oriented Programming language, but over the years, PHP has improved with classes, namespaces, interfaces, traits, abstract classes, and other improvements that help developers write SOLID code.
The Bulletproof Event Naming For Symfony Event Dispatcher
I wrote intro to Symfony\EventDispatcher and how to use it with simple event.
But when it comes to dispatching events, you can choose from 4 different ways. Which one to choose and why? Today I will show you pros and cons of them to make it easier for you.
I wrote intro to Symfony\EventDispatcher and how to use it with simple event.
But when it comes to dispatching events, you can choose from 4 different ways. Which one to choose and why? Today I will show you pros and cons of them to make it easier for you.
Weekly articles and news for back-end developers
Do you want to receive a ton of useful articles, news and videos related to PHP and the back-end development?
Join to us!
Do you want to receive a ton of useful articles, news and videos related to PHP and the back-end development?
Join to us!
How does Laravel Jobs get queued?
To understand how Laravel Jobs gets into a queue driver, youβll first need to know OOP. Let's check PHP Objectβs lifecycle first.
To understand how Laravel Jobs gets into a queue driver, youβll first need to know OOP. Let's check PHP Objectβs lifecycle first.
Creating Reusable Bootstrap Elements With Laravel's Make:Component
Bootstrap is a good system for getting an applicationβs layout started and it comes with lots of helpful user interface elements that we can use in our application. The downside, is there tends to be a lot of duplication in our source code to support these elements. Thankfully, Laravel added components in the 7.x branch which will allow us to reduce that duplication.
Bootstrap is a good system for getting an applicationβs layout started and it comes with lots of helpful user interface elements that we can use in our application. The downside, is there tends to be a lot of duplication in our source code to support these elements. Thankfully, Laravel added components in the 7.x branch which will allow us to reduce that duplication.
FREE access to articles and videos related to the back-end development.
Do you want to get a ton of useful articles, news and videos every week?
Just join to us and receive most interesting and useful information about PHP and the back-end development.
Do you want to get a ton of useful articles, news and videos every week?
Just join to us and receive most interesting and useful information about PHP and the back-end development.
ββBuilders and architects: two types of programmers
You're probably familiar with the feeling: a programmer in your vicinity or online just doesn't seem to get your point of view. Even though there's no doubt they are clearly wrong. These kinds of encounters make you feel misunderstood, frustrated, yes, even angry.
You're probably familiar with the feeling: a programmer in your vicinity or online just doesn't seem to get your point of view. Even though there's no doubt they are clearly wrong. These kinds of encounters make you feel misunderstood, frustrated, yes, even angry.
How to Manage ACLs in Symfony the Easy Peasy Way
It's no secret ACLs can be tricky. Since voters seem to be the alternative to ACLs recommended by Symfony, I recently decided that I'd write my own easy-to-use Symfony 5 bundle to manage access control lists (ACL) in my applications.
It's no secret ACLs can be tricky. Since voters seem to be the alternative to ACLs recommended by Symfony, I recently decided that I'd write my own easy-to-use Symfony 5 bundle to manage access control lists (ACL) in my applications.
If you mock, are you even testing?
Have you ever felt like youβre making the code harder to read for the sake of testing?
Imagine, you have this existing code and itβs not tested. It does a bunch of side-effects. People say you should put that code under tests before touching it.
Have you ever felt like youβre making the code harder to read for the sake of testing?
Imagine, you have this existing code and itβs not tested. It does a bunch of side-effects. People say you should put that code under tests before touching it.
We create our database of articles
We think that it is not right to tell you what to read and what not, because different developers interest different things and they have a different level of knowledge. We created a simple project that allows you to search articles and never lose them.
Everyday we add a lot of new and useful articles for you. We hope you'll like it and we open for your feedback.
We think that it is not right to tell you what to read and what not, because different developers interest different things and they have a different level of knowledge. We created a simple project that allows you to search articles and never lose them.
Everyday we add a lot of new and useful articles for you. We hope you'll like it and we open for your feedback.
7 Best Courses to Master Git and Github for Programmers
These are the best courses to learn Git from scratch and also advanced concepts like branching and merging. It also includes a free course to learn git
These are the best courses to learn Git from scratch and also advanced concepts like branching and merging. It also includes a free course to learn git
Software Complexity: Naming
Good writing is hard. But why? Because good writing is about good reading. We tend to focus on the former and forget the latter. We forget that code is written only once, but read many times.
Good writing is hard. But why? Because good writing is about good reading. We tend to focus on the former and forget the latter. We forget that code is written only once, but read many times.
Everything you need (and don't need) to know about PHP's type system
PHP is a dynamically typed scripting language and until the year of 2015 php had no support for statically declared types at all. One could cast to scalar types explicitly in the code, but declaring scalar types in methods and functions signatures wasn't a thing until PHP 7.0 with the Scalar Type Declarations and Return Type Declarations rfcs.
PHP is a dynamically typed scripting language and until the year of 2015 php had no support for statically declared types at all. One could cast to scalar types explicitly in the code, but declaring scalar types in methods and functions signatures wasn't a thing until PHP 7.0 with the Scalar Type Declarations and Return Type Declarations rfcs.
Enhancements to PHP code coverage in 2020
In 2003, with the release of Xdebug 1.2, Derick Rethans introduced the ability to collect code coverage data to the PHP ecosystem for the first time. In 2004, with the release of PHPUnit 2, Sebastian Bergmann made the first real use of this new power by allowing developers to evaluate the effectiveness of their test suites by generating coverage reports.
In 2003, with the release of Xdebug 1.2, Derick Rethans introduced the ability to collect code coverage data to the PHP ecosystem for the first time. In 2004, with the release of PHPUnit 2, Sebastian Bergmann made the first real use of this new power by allowing developers to evaluate the effectiveness of their test suites by generating coverage reports.
Clean Code (Robert C. Martin)
Noted software expert Robert C. Martin presents a revolutionary paradigm with "Clean Code: A Handbook of Agile Software Craftsmanship." Martin has teamed up with his colleagues from Object Mentor to distill their best agile practice of cleaning code "on the fly" into a book that will instill within you the values of a software craftsman and make you a better programmer--but only if you work at it.
Noted software expert Robert C. Martin presents a revolutionary paradigm with "Clean Code: A Handbook of Agile Software Craftsmanship." Martin has teamed up with his colleagues from Object Mentor to distill their best agile practice of cleaning code "on the fly" into a book that will instill within you the values of a software craftsman and make you a better programmer--but only if you work at it.