Engineering notes

Ideas worth building on.

Practical lessons, technical explorations and the decisions behind better software.

4 articles

PHP1 min read

PHP and Mysql environment with Docker

Create a Dockerfile in your PHP project FROM php:8.2-cli COPY . /usr/src/myapp WORKDIR /usr/src/myapp CMD [ "php", "./your-script.php" ] Then, run the commands to build and run the...

Kartic · Nov 20, 2024
PHP1 min read

What is recursion in PHP

Recursion is a programming solution in which a function calls itself. It is used to solve a variety of problems, all of which have in common a structure that contains repetition. R...

Kartic · May 20, 2023
PHP1 min read

What is the difference between PHP's get & post method

​​​​​​​Get MethodGET requests can be cachedGET requests remain in the browser historyGET requests can be bookmarkedGET requests should never be used when dealing with sensitive dat...

Kartic · Oct 27, 2019
PHP1 min read

What is PHP?

The PHP Hypertext Preprocessor (PHP) is a programming language that allows web developers to create dynamic content that interacts with databases. PHP is basically used for develop...

Kartic · Oct 22, 2019