Alin PintiliePhp generators or how to simplify iteratorsDid you know that a PHP function can return multiple times?Feb 26, 2023Feb 26, 2023
Alin PintilieWhat do Chat GPT and IT layoffs have in common?Layoffs, ChatGPT, ProductivityFeb 11, 2023Feb 11, 2023
Alin PintiliePHP IteratorIf you didn’t know, yes, PHP has its own iterator functionality and if you didn’t use it you probably would be surprised to know that there…Feb 6, 2023Feb 6, 2023
Alin PintilieLazy loading using the iterator in PHP for saving 90% of memoryOf course, there are some advantages when it comes to eager loading (loading all data one at a time) like processing speed or code…Feb 6, 20233Feb 6, 20233
Alin PintilieHow to encapsulate behavior using PHP iterator to comply SRPOOP is still alive and some of us are still trying to encapsulate (more details here) proprieties and behavior. During my work on a legacy…Feb 6, 2023Feb 6, 2023
Alin PintilieHow to build your own PHP collection using the iteratorIf you are a PHP programmer you understand what array means for us. We gravitate around it. Indubitably there are a lot of advantages but…Feb 6, 20231Feb 6, 20231
Alin PintilieBuild custom php object storage for 46% memory savingAs we know the iterator is a versatile and powerful tool that can be used in different scenarios (a few examples here). One use case is…Feb 6, 2023Feb 6, 2023
Alin PintilieAutomate token usage with variables and scripts in PostmanDid you know that you don’t need anymore to copy the access token returned from the login method into the header of the others requests…Jun 18, 2022Jun 18, 2022
Alin PintilieAbstract class vs interfaceIf you plan to have an interview for a development position it is a high probability to face the following question: “What is the…Jan 22, 20222Jan 22, 20222
Alin PintilieThe 4 pillars of OOP with code samples in PHPAfter more than three years of coding and more than five in the IT field, after some pet projects and some courses, I’ve started to assess…Jan 13, 2022Jan 13, 2022