Brak podglądu sarvendev.com · php UUID, ORM and strange deadlocks Some time ago I took over the development of one module in a bigger application. The volume of requests in this module was quite small. However, I’ve noticed some strange deadlocks... 30.10.2024 sarvendev.com
Brak podglądu sarvendev.com · laravel Poor performance of Eloquent ORM in comparison to Doctrine In the last article, I compared two ORMs: Eloquent mostly related to Laravel, and Doctrine associated with Symfony. I presented a comparison on why reading data from the database w... 14.10.2024 sarvendev.com
Brak podglądu sarvendev.com · good practices Unlocking ORM Performance: The Essential Role of Read Models ORMs are useful tools that help us save our objects to the database. However, there are some pitfalls, so it is important to know the tools we use. In this article, I want to focus... 01.10.2024 sarvendev.com
Brak podglądu sarvendev.com · good practices Shotgun surgery: How to avoid it and achieve safety and high productivity Imagine an engineer tasked with updating a feature who makes changes across the entire codebase without a clear plan or structure. Instead of committing small, focused updates, the... 18.09.2024 sarvendev.com
Brak podglądu sarvendev.com · laravel Container Efficiency in Modular Monoliths: Symfony vs. Laravel In the evolving landscape of software development, modular monolith architectures have gained significant traction. This approach offers a balanced middle ground between traditiona... 10.07.2024 sarvendev.com
Brak podglądu sarvendev.com · trivia Problematic second Today, each of us has many possibilities to check the current time. We have smartphones, watches, computers, TVs, refrigerators, ovens, etc. Everyone knows what a year is and what... 01.07.2024 sarvendev.com
Brak podglądu sarvendev.com · laravel Laravel: Bootstrap time optimization by using a hashtable to store providers Having a profiler and performance monitoring is crucial for maintaining the efficiency and reliability of any application. Profilers help engineers identify bottlenecks by providin... 28.05.2024 sarvendev.com
Brak podglądu sarvendev.com · php Rethinking Mocking: DIY Approach vs. Frameworks on examples in PHP and Typescript In the landscape of software testing, the choice between a do-it-yourself (DIY) approach to mocking or utilizing mocking frameworks is a pivotal decision for programmers. While moc... 23.04.2024 sarvendev.com
Brak podglądu sarvendev.com · php Tips for optimizing integration tests While unit tests are known for their speed compared to integration tests, the latter offer heightened confidence in the system’s functionality. Thus, avoiding integration tests is... 25.01.2024 sarvendev.com
Brak podglądu sarvendev.com · laravel Uncovering the bottlenecks: An investigation into the poor performance of Laravel’s container Last time I’ve been analyzing the performance of Laravel’s container. I’ve encountered that the application spends a lot of time building dependencies, especially for heavy endpoin... 03.04.2023 sarvendev.com
Brak podglądu sarvendev.com · laravel Laravel – AggregateServiceProvider affects the performance Some time ago I started wondering about the long bootstrap time of an application based on Laravel. I’ve started debugging and have figured out that this problem was related to the... 21.03.2023 sarvendev.com
Brak podglądu sarvendev.com · laravel Laravel – variadic parameter trap What do you expect from the framework if the dependency cannot be created? Sure, it should be an exception, but I had an unpleasant surprise. Problem I had code similar to the foll... 14.03.2023 sarvendev.com
Brak podglądu sarvendev.com · ddd Modeling a future action During modeling a business logic we have often a problem with properly highlighting a relevant future action. I mean relevant from a domain point of view. The most popular solution... 13.12.2022 sarvendev.com
Brak podglądu sarvendev.com · ddd An absolutely clean domain or just common sense Nowadays, a concept like DDD is widely known and used by many programmers. Curious programmers read a lot about those practices in books written by Evans or Vernon or maybe have kn... 11.10.2022 sarvendev.com
Brak podglądu sarvendev.com · good practices Unit testing tips by examples in PHP In these times, the benefits of writing unit tests are huge. I think that most of the recently started projects contain any unit tests. In enterprise applications with a lot of bus... 17.08.2021 sarvendev.com
Brak podglądu sarvendev.com · devops Docker hangs during build Yesterday I had a strange problem with Docker during a build process. I use Linux Mint. I didn’t have enough space at the main system directory /. By default, Docker saves all data... 02.04.2020 sarvendev.com
Brak podglądu sarvendev.com · patterns Circuit Breaker In most systems, we use remote calls. Many factors may have an impact on these remote calls e.g. network latency, server availability and so on. So we should assume that something... 23.03.2020 sarvendev.com
Brak podglądu sarvendev.com Konferencja ConFrontJS 2019 Objąłem tegoroczną edycję konferencji ConFrontJS 2019 patronatem medialnym. Konferencja odbędzie się 7 grudnia w Warszawie. Mam dla Was kod rabatowy -25% do wykorzystania nie tylko... 11.11.2019 sarvendev.com
Brak podglądu sarvendev.com · good practices Mutation testing – we are testing tests Writing tests should assure us that the code created by us is working correctly. Often we point out the code coverage factor and if we have 100% we can say that implemented solutio... 25.06.2019 sarvendev.com
Brak podglądu sarvendev.com Testy mutacyjne – czyli testujemy testy Pisanie testów ma nas upewnić, że wytwarzany przez nas kod działa poprawnie. Często wyznaczamy sobie współczynnik code coverage i przy wyniku blisko stuprocentowym możemy powiedzie... 25.06.2019 sarvendev.com