Type hints, SOLID programming, burn out, and more

Listen to Eric, John, and Oscar discuss the articles in the November 2020 issue, SOLID Foundations

Topics Covered

  • OSMI 2020 Mental Health in Tech Survey.
  • Practical uses for scalar type hints in PHP.
  • SOLID principles for programming.
  • The peculiarities of floating point math and handling money calculations as a result.
  • Using locks to prevent race conditions.
  • Podcasts to listen to related to PHP and web development.
  • Using __debugInfo() to keep secrets safe.
  • Preventing burn out.
  • and more (as usual)

 

The post Type hints, SOLID programming, burn out, and more appeared first on php[architect].



Asynchronous programming, testing, race conditions, mental health in tech, and more

Listen to Eric, John, and Oscar discuss the articles in the October 2020 issue, Running Parallel.

Topics Covered

  • OSMI 2020 Mental Health in Tech Survey.
  • Asynchronous PHP with Swoole.
  • Scaling and other use cases for serverless tasks, like file uploads.
  • This month’s puzzle on cleaning up directions.
  • Paying down technical debt with unit tests.
  • Finding and fixing race conditions.
  • Setting headers to harden your web application with Mozilla Observatory.
  • WSL, homestead, and developing on Windows using Linux tools.
  • and more (as usual)

 

The post Asynchronous programming, testing, race conditions, mental health in tech, and more appeared first on php[architect].


Interview with Demin Yin on Swoole

Demin Yin, evangelist for Swoole, joins Eric Van Johnson and John Congdon to talk about the project and more.

Topics Covered

  • Writing event-driven, non-blocking PHP applications.
  • Supporting for asynchronous programming and concurrent processes.
  • Performance of Swoole for handling millions of requests.
  • Taking advantage of extensions to add new features or improve performance.
  • Integrations with PHP frameworks like Laminas.
  • Swoole as an HTTP server and in embedded devices.
  • Getting started with HTML, CSS, and other dynamic languages for web development.

The post Interview with Demin Yin on Swoole appeared first on php[architect].



Middleware, Serializing Objects,

This episode looks at the September 2020 issue, Under the Scope.

Topics covered

  • Using middleware, especially in legacy applications.
  • Use cases for serializing PHP objects.
  • Cleaning up directions and cleaning up data sets.
  • Development tools you should have, like Mailhog and ngrok.
  • Development environments with WSL and Docker.
  • Using Mozilla Observatory to assess site security.
  • Decoupling and design patterns for sustainable PHP.
  • PHP’s release maintainers.
  • Digging into how autoloading works and improves the developer experience.
  • Formation of the PHP-FIG at php[tek] in 2009.

The post Middleware, Serializing Objects, appeared first on php[architect].


Interview with Terri Morgan

Eric and John chat with Terri Morgan about her article on project metrics in the September 2020 issue.

Topics Covered

  • Providing valid metrics for project managers.
  • Establishing “where you want to go” as your project goal.
  • Defining deliverables and when you’ll have them.
  • Managing scope creep.
  • Speaking and attending conferences.
  • Being a polyglot programmer.

The post Interview with Terri Morgan appeared first on php[architect].



Document databases, MySQL, JSON-Schema validation, and PHP types

In this Episode

Eric, John, and Oscar discuss the August 2020 issue, Data Discipline.

Topics Covered

  • Using SQL with non-relational databases.
  • Data integrity with UUIDs and primary keys.
  • Connecting and working to databases directly.
  • Rolling dice with PHP
  • Thinking about data types.
  • Using Windows or Linux as your daily driver.

The post Document databases, MySQL, JSON-Schema validation, and PHP types appeared first on php[architect].


Interview with Dave Stokes on JSON-Schema, and MySQL

In this Episode

Dave Stokes joins Eric Van Johnson and John Congdon to talk about MySQL and databases.

  • The correct pronunciation(s) of MySQL.
  • The impact of open-source software on their careers.
  • Upcoming EOL support for MySQL 5.x and upgrading to MySQL 8.
  • Working with JSON documents and the value of validating data early.
  • When and where to normalize data.
  • MySQL clients and password encryption.

The post Interview with Dave Stokes on JSON-Schema, and MySQL appeared first on php[architect].