How PHP works internally?
Here are my notes about how PHP works internally. If you guys have any addition please add your comments as a response. Tokenizing: In this step, the PHP interpreter takes the PHP codes and builds a…
Here are my notes about how PHP works internally. If you guys have any addition please add your comments as a response. Tokenizing: In this step, the PHP interpreter takes the PHP codes and builds a…
My notes about how to secure PHP Sessions, what is session hijacking, and so on.. “How To Secure PHP Sessions?” is published by Atakan Demircioğlu in Developers Keep Learning.
Two-factor authentication (2FA) is an identity and access management security method that requires two forms of identification to access resources and data. (Microsoft) The algorithm uses a form of…
My notes about composition, and inheritance on the PHP side.. “Inheritance vs Composition with PHP Examples” is published by Atakan Demircioğlu in Developers Keep Learning.
In very basic words, it is a contact or signature. Any class that implements an interface must be expected to have the same behavior. That means if you define a method contact that takes two params…
Here are my notes about the JIT compiler in PHP.. “JIT Compiler in PHP” is published by Atakan Demircioğlu in Developers Keep Learning.
I just compared it in one way and wrote the test results. It is important what do yo do inside the looping. Note: echo is affecting testing performance. But it is ok for getting an idea that what…
PHP Magic methods explained. What are the PHP Magic methods?. “PHP Magic Methods Explained” is published by Atakan Demircioğlu in Developers Keep Learning.
Basically, this is a method to tell the PHP engine to hold the output data before sending it to the browser. Output buffering generally will not affect the speed of your web server by any great…
Command Line Interface (CLI) tools have been gaining popularity lately due to their speed and efficiency. CLI tools that can automate tasks, simplify workflows, enhance your productivity and etc. If…
Line 10: Test suite execution should be stopped after the first test is finished with the status “failure”. For testing, create a file named ValidatorTest.php and then create a class like this. You…
My notes about generating a sitemap in a Symfony 6 application.
My notes about Gearman Job Server installation Ubuntu 22.04 (PHP 8.1).
1- Singleton Pattern: Involves a single class that is responsible to create an object while making sure that only a single object gets created. 2- Builder Pattern: The main purpose of the Builder…
If you are familiar with AWS S3, we can say it is a mirror thing in another Cloud provider. You can upload files, images, etc to a Digital Ocean space. So there are many ways to use Digital Ocean…
I liked to use array_reduce and array_walk in PHP. These are my notes about array_reduce and array_walk. If you are coming from the JS side, mostly you know the reduce() function. I think it is…
Unlock the secrets to optimizing PHP performance by mastering the understanding of expensive operations in php. Learn how to identify and mitigate costly processes for lightning-fast web applications. Dive into efficient coding techniques and performance-tuning strategies to supercharge your PHP projects.
Learn how to create stunning OG (Open Graph) images dynamically using PHP. Elevate your website's social sharing experience with custom-designed images tailored for platforms like Facebook, Twitter, and LinkedIn.
Discover the latest in PHP 8.1: GD with AVIF image support, empowering developers to handle AVIF images efficiently. Upgrade your PHP capabilities for enhanced image processing and optimization.
Transform the look and feel of your command-line interface (CLI) applications effortlessly with Termwind, a powerful styling library. Elevate user experience by adding dynamic and visually appealing designs to your CLI tools using simple syntax and intuitive features.
Learn how to implement the Template Method design pattern in PHP with a practical example. See how abstract classes and concrete subclasses work together to define a template for a series of steps, allowing for easy customization while maintaining a consistent structure.
Learn how to parse YAML in PHP effortlessly. Our tutorial provides step-by-step guidance for parsing YAML data in your PHP applications, making data manipulation a breeze.
Discover how to optimize your WordPress website's images for responsiveness with this comprehensive guide. Learn essential techniques and find a PHP example to streamline your implementation process. Elevate your site's user experience and performance today.
Learn how to effectively use the in_array function in PHP to check if a value exists in an array. Explore its syntax, practical examples, performance considerations, and faster alternatives for large datasets.
Discover the new array functions in PHP 8.4, including array_find, array_find_key, array_any, and array_all, designed to streamline element searching and inspection with callback functions. Learn how to use these features with practical examples.
Elevate your PHP coding game with Laravel Collections, making array handling simpler and more powerful. This article unveils numerous quick tips to enhance your codebase immediately.
Learn how to seamlessly integrate Laravel with React in this comprehensive step-by-step guide. Enhance your web development skills by building dynamic and modern applications with ease.
Discover how PHP's declare(strict_types=1) directive enhances type safety and code reliability. Learn the benefits of strict typing, its integration with type hinting, and its application in Laravel. Explore detailed examples and best practices in our guide.
Laravel collections are a powerful feature of the Laravel framework that simplifies data manipulation and transformation. Learn how to merge, sort, and group data effectively, and understand advanced usage for handling Eloquent models and arrays. Enhance your Laravel skills today!