Coding
Extending PHP with JSDoc capabilities
Hi, I wanted to ask you what do you think about my concept of extending PHP with JSDoc capabilities. I was just frustrated that I cannot pass an array with big number of optional keys Read more…
Hi, I wanted to ask you what do you think about my concept of extending PHP with JSDoc capabilities. I was just frustrated that I cannot pass an array with big number of optional keys Read more…
Throwing away Exceptions as a tool is a terrible idea. (“Go away Rust, you’re drunk”) You’ve described several different types of problems in your example code and attributed all of them to … not being Read more…
You can get the digital version for free (Just trade your email) https://www.phparch.com/books/php-development-with-windows-subsystem-for-linux-wsl/ The work is self-recommending. Looking forward to reading it! Just started reading it earlier. Thanks! Any specific reasons on why not using Read more…
I’ve tried lots of different web stuff. Node, Nextjs, React, Svelte, Django, templating engines. I’ve used PHP before too but that was a long time ago. I want to try it again, just haven’t had Read more…
So I would like to enhance my ability in web technologies from html/css to javascript and php. I have two questrions: What is the role of PHP in a website? Is it just used to Read more…
I applied to a PHP job and the interviewer sent me a test as following: “Write a CRUD application connecting to PostgreSQL, but please don’t use full-stack frameworks like Laravel, Symfony or Code Igniter, also Read more…
Hi an “amateur” PHP developer who recently picked up frameworks like Laravel and renewed my love for web development – the frameworks make it so easy! I keep getting pulled into the idea of learning Read more…
I am a wannabe free time developer who uses PHP (mainly Symfony) and Python to build smaller stuff to automate my workflows and for fun side projects. Sometimes my code is actually useful. As I Read more…
The application of $timestamp = (new DateTime('@' . $timestamp))->getTimestamp(); line should be idempotent, since all we’re doing is switching formats and the output format is the same as the input format, meaning that repeated applications Read more…
https://github.com/smuuf/better-php-exceptions I needed this for my other project, so in the last two days I created a small library for it. I figured it might come handy for anybody else, too (maybe someone also venturing Read more…