PHP

Rethinking Mocking: DIY Approach vs. Frameworks on examples in PHP and Typescript - SarvenDev (sarvendev.com)

In the landscape of software testing, the choice between a do-it-yourself (DIY) approach to mocking and utilizing mocking frameworks is a pivotal decision for programmers. While mocking is indispensable for code reliability, its overuse or incorrect implementation can introduce complexities and fragilities within test suites....

How to Implement JSON Web Tokens (JWTs) in PHP – PHP Authentication Guide (www.freecodecamp.org)

In this article, we'll explore the process of creating JSON Web Tokens (JWTs) from scratch in PHP, presenting a superior and more secure authentication scheme. By implementing this advanced approach, we unveil a robust and highly secure authentication mechanism that significantly enhances data protection and user authentication....

Master the Change (tomasvotruba.com)

When we upgrade a new project to the best version possible, the latest PHP and framework versions, it's not only about changing syntax sugar to a more fancy one. It's about the vast focus shift in project management so far. It's a change to master. I want to share the basic rules we apply to make the "impossible" upgrades...

Building PHP docker images in a better way with Wolfi-OS (shyim.me)

Currently, the de-facto standard to Dockerizing PHP applications is to use the Docker PHP official image. This is maintained by Docker itself and community members and has compiled PHP with no extensions. To install extensions, we have to do this in our Dockerfile: FROMphp:8.2-cliRUN docker-php-ext-install pdo pdo_mysql curlThe...

Measuring the DOM Namespace Reconciliation Performance Fix (tideways.com)

This is the story of the manufacturing of seven-league boots for a function that is responsible for processing XML/HTML data in the PHP library. Optimizations in the PHP standard library, like here in ext/dom, have the potential to speed up the performance of applications significantly by an upgrade to the current PHP version. I...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • php
  • DreamBathrooms
  • magazineikmin
  • osvaldo12
  • ethstaker
  • Youngstown
  • slotface
  • mdbf
  • khanakhh
  • rosin
  • kavyap
  • Durango
  • hgfsjryuu7
  • GTA5RPClips
  • Backrooms
  • Leos
  • thenastyranch
  • cubers
  • ngwrru68w68
  • tacticalgear
  • everett
  • vwfavf
  • cisconetworking
  • InstantRegret
  • normalnudes
  • modclub
  • tester
  • anitta
  • provamag3
  • All magazines