News and interviews about the latest happenings in the PHP and Web development world. Hosted by Manuel Lemos of the PHPClasses.org site and Ernani Joppert. It is recorded in MP3 format at least once a month in the beginning of each month.
PHP Current Version Adoption in 2023, AJAX Character Counter, PHP Conferences of November - 8 minutes - Lately in PHP 99 By Manuel Lemos On the Lately in PHP 99 podcast, you will learn in 8 minutes about the percentages of adoption of PHP versions by members of the Laravel community, a package that can show a character counter using AJAX to measure the length of text entered by a user in text form input, the PHP conferences and user group meetings around the world in November 2023. Read this article, watch an 11-minute video, or listen to episode 99 audio of the Lately in PHP podcast to learn about the best articles published on the PHP Classes site in the week of October 1 through October 7.
PHP 8 Enums to CSS Colors, WordPress Editor, Bot Protection, SVG to PNG Conversion - 6 minutes - Lately in PHP 98 By Manuel Lemos On the Lately in PHP 98 podcast, you will learn in 6 minutes about a WordPress plugin that implements a visual editor for posts with blocks, a package to convert SVG graphics into PNG images and remove the image transparency using the ImageMagick extension, a WordPress plugin to blocks abusive bots, using PHP 8 enum types to assign names to colors defined by CSS frameworks like Bootstrap and Tailwind. Read this article, watch a 6-minute video, or listen to episode 98 audio of the Lately in PHP podcast to learn about the best articles published on the PHP Classes site in the week of September 23 through September 30
Fast PHP Menu Builder, Pure PHP Automatic Backup, 8 Artificial Intelligence Facts - 3 minutes - Lately in PHP 97 By Manuel Lemos On the Lately in PHP 97 podcast you will learn in 6 minutes about a fast PHP menu builder package that loads configuration from files, a pure PHP automatic database backup package, 8 artificial intelligence facts that all developers need to know. Read this article, watch a 6-minute video, or listen to episode 97 audio of the Lately in PHP podcast to learn about the best articles published on the PHP Classes site in the week of September 17 through September 22.
October PHP Events, Customize PHP Composer Hooks, Make WordPress Host a Podcast - 6 minutes - Lately in PHP 96 By Manuel Lemos On the Lately in PHP 96 podcast you will learn in 3 minutes about October PHP Events, Customize PHP Composer Hooks, Make WordPress Host a Podcast. Read this article, watch a 3-minute video, or listen to episode 96 audio of the Lately in PHP podcast to learn about the best articles published on the PHP Classes site in the week of September 10 through September 16.
Future of PDO, PHP Classes Ideas, Scan Documents into PDF, Tools for Code Quality - 3 minutes - Lately in PHP 95 By Manuel Lemos The Lately in PHP podcast is back with a new format that is more direct to the point, thanks to the feedback from our audience. Read this article, watch a 3-minute video, or listen to episode 95 of the Lately in PHP podcast to learn about the best articles published on the PHP Classes site in the week of September 3 through September 9.
How to Implement PHP Asyncronous programming using PHP 8.1 Fibers - 6 minutes - Lately in PHP podcast episode 94 By Manuel Lemos PHP 8.1 introduced a new feature called fibers, allowing developers to implement PHP asynchronous programming. If you implement asynchronous programming, it is possible to make your PHP scripts execute multiple tasks in parallel, thus making those scripts faster. Read this article, watch a 6-minute video, or listen to episode 94 of the Lately in PHP podcast to learn how to use PHP fibers, PHP Swoole, or ReactPHP to make your PHP scripts finish faster.
How to Verify If the EverSQL MySQL Tool Provides Good Optimization Suggestions - 8 minutes - Lately in PHP Podcast Episode 93 Part 7 By Manuel Lemos The EverSQL MySQL optimization tool is excellent for suggesting alterations to MySQL tables and indexes to make SQL queries run faster. The actual gains in performance may vary depending on the type of query. Significant SQL query optimizations reduce the number of table rows scanned when the MySQL server executes a query. Read this article, watch an 8-minute video, or listen to part 7 of episode 93 of the Lately in PHP podcast to learn how to verify the efficiency of the MySQL query optimizations suggested by the EverSQL tool.
Make SQL Queries Run Faster Using the EverSQL MySQL Query Optimization Tool - 4 minutes - Lately in PHP Podcast Episode 93 Part 6 By Manuel Lemos Slow SQL queries are one of the factors that can make sites slower and cause harm to the user experience. Fortunately, optimization tools can suggest small changes in your database schema that can make your SQL queries run much, so your Web sites can provide a much better user experience. EverSQL is one of those optimization tools that can suggest effective changes for databases stored in MySQL servers or some other server compatible with MySQL, such as MariaDB. Read this article, watch a 4-minute video, or listen to part 6 of episode 93 of the Lately in PHP podcast to learn how to optimize your MySQL database using the EverSQL tool for free.
How to Help the EverSQL Tool Optimizing MySQL SQL Queries More Efficiently by Passing It Your MySQL Database Metadata - 4 minutes - Lately in PHP Podcast Episode 93 Part 5 By Manuel Lemos The EverSQL tool is excellent for suggesting optimizations for SQL queries for your applications that use MySQL. That tool must first obtain the structure of your database tables to suggest good optimizations. You can get that structure by executing a SQL query that extracts the database metadata. Read this article, watch a 4-minute video, or listen to part 4 of episode 93 of the Lately in PHP podcast to learn how to extract your MySQL database metadata to help the EverSQL tool to optimize your application SQL queries for free.
Introduction on How to Use the EverSQL MySQL Query Optimizer Tool for Free - 3 minutes - Lately in PHP Podcast Episode 93 Part 4 By Manuel Lemos When you want to optimize SQL queries to optimize an application that uses MySQL, you can use "manual" methods. These methods require good SQL query optimization knowledge. If you need to optimize many SQL queries, doing it "manually" may also take time. One way to optimize SQL queries without requiring you to learn so much about optimization is to use a SQL query optimization tool. Optimization tools also take you much less time to optimize many queries than if you try manually. Read this article, watch a 3-minute video, or listen to part 4 of episode 93 of the Lately in PHP podcast to learn how to use a free tool to optimize MySQL SQL queries without much knowledge and faster than if you try to do it manually.
How to Use Simple MySQL Monitoring Tools for Free to Find the Slowest Queries that You Should Optimize First - 2 minutes - Lately in PHP Podcast Episode 93 Part 3 By Manuel Lemos When you want to optimize the performance of a MySQL-based application, you should try to optimize first the slowest queries that affect the application's performance. The MySQL slow query log file provides a list of slow queries as they happen. So you need to monitor that file to determine the most critical slow SQL queries you need to optimize first. Read this article, watch a 2-minute video, or listen to part 3 of episode 93 of the Lately in PHP podcast to learn how to use a free tool to monitor the MySQL slow query log and find the slowest SQL queries.
How to Find MySQL Slow Queries in a Production Server by Activating the Slow Query Log - 2 minutes - Lately in PHP Podcast Episode 93 Part 2 By Manuel Lemos When you want to optimize a MySQL database application in production, you should figure out the slowest queries in that environment. Enabling the MySQL slow query log can help you figure out the slowest SQL queries to optimize first. You can do that in a production environment, but you need to take extra care with how you enable the slow query log to avoid causing harm to the application. Read this article, watch a 2-minute video, or listen to part 2 of episode 93 of the Lately in PHP podcast to learn how to enable the MySQL slow query log in a production environment in a safe way.
Find MySQL Slow Queries by Activating the Slow Query Log - 7 minutes - Lately in PHP Podcast Episode 93 Part 1 By Manuel Lemos One of the factors that may make a Web application slow is the speed of execution of database queries executed by the application back-end code. If you optimize the database queries that are the slowest, it may make a lot of impact on the speed of an application. The first step in optimizing the slowest database queries is to find which are the slowest queries. Using MySQL as the database server, you can find the slowest queries by activating the slow query log. Read this article, watch a 7-minute video, or listen to part 1 of episode 93 of the Lately in PHP podcast to learn how to enable the MySQL slow query log.
How to Update PHP Version Using Methods and Tools the PHP Community Uses - 3 minutes - Lately in PHP Podcast Episode 92 Part 10 By Manuel Lemos Every time you need to solve a problem, you may realize there may be several approaches to solve that problem. Each way has its advantages and disadvantages. This fact shows why it is helpful to learn from other developers what approach they use to solve a problem that you also want to solve. Read this article, watch a 3-minute video, or listen to part 10 of episode 92 of the Lately in PHP podcast to learn about other methods and tools different developers use to upgrade PHP versions.
How to Use a PHP Monitoring System with Email Notification to Verify a Version Upgrade - 3 minutes - Lately in PHP Podcast Episode 92 Part 9 By Manuel Lemos When you make changes to a site or another aspect of your site production environment, there is always a chance that some parts may not work well after you complete the changes due to unexpected consequences. Often these consequences cause your site's PHP code to trigger errors. These errors may start appearing after you do a PHP version upgrade. One way to determine if there were errors after you made production environment changes is to monitor PHP errors and send emails for the new PHP errors that started to appear. Read this article, watch a 3-minute video, or listen to part 9 of episode 92 of the Lately in PHP podcast to learn how to monitor your PHP errors quickly and be notified by email, so you can fix the environment that causes the errors.
How to Verify If a PHP Version Upgrade Really Succeeded - 2 minutes - Lately in PHP Podcast Episode 92 Part 8 By Manuel Lemos Having tests to verify if a PHP version upgrade succeeded is excellent, but unfortunately, that is not enough because there are always aspects of the consequences of the version upgrade that we are not fully aware of initially. So it is expected that some fixes may be necessary after a PHP version upgrade. Still, you may not even be aware of all the fixes you may need to do after the upgrade. This situation is where other human beings can help you complete the quality control of the PHP version upgrade process. Read this article, watch a 2-minute video, or listen to part 8 of episode 92 of the Lately in PHP podcast to learn how you can use the help of other human beings to assure the control of the quality of your applications after a PHP version upgrade.
The Right Order to Execute the Steps to Upgrade to a New PHP Version - 2 minutes - Lately in PHP Podcast Episode 92 Part 7 By Manuel Lemos One of the reasons why certain version upgrades went wrong is that you do the version upgrade process steps in the incorrect order. You can determine the correct order by the more critical steps you need to do first because you can only do the following steps when you complete the crucial steps. Read this article, watch a 2-minute video, or listen to part 7 of episode 92 of the Lately in PHP podcast to learn the correct order of the steps to perform a PHP version upgrade.
How to Test Your Application Features in Practice During a PHP Version Upgrade - 4 minutes - Lately in PHP Podcast Episode 92 Part 6 By Manuel Lemos After you have planned all the steps of a PHP version upgrade process, it is time to execute the planned steps. Read this article, watch a 4-minute video, or listen to part 6 of episode 92 of the Lately in PHP podcast to learn how to test your application features in practice during a PHP version upgrade using reliable testing tools.
What Are Your App Features to Test First Before a PHP Version Upgrade - 3 minutes - Lately in PHP Podcast Episode 92 Part 5 By Manuel Lemos Testing a PHP application may require that you test a lot of features. Therefore you need to define the order of the features that you will test. First, you need to define the most critical features of your PHP application to verify if they are working as expected early on in the testing process. Read this article, watch a 3-minute video, or listen to part 5 of episode 92 of the Lately in PHP podcast to learn how to determine which are the most critical features you should test first during a PHP version upgrade testing process.
How to Setup a Development Environment to Test a PHP Version Upgrade - 3 minutes - Lately in PHP Podcast Episode 92 Part 4 By Manuel Lemos The first thing you need to do to start an upgrade of a PHP version is to set up a development environment where you can test if your application continues to work well with the new PHP version. Read this article, watch a 3-minute video, or listen to part 4 of episode 92 of the Lately in PHP podcast to learn how to set up a machine to test if your PHP applications work as expected after the PHP upgrade version.
How to Plan a PHP Version Upgrade Successfully - 11 minutes - Lately in PHP Podcast Episode 92 Part 3 By Manuel Lemos Upgrading to a new PHP version can be a complex task that may fail due to the lack of planning on how to solve each problem of each step of the upgrading job. Please read this article, watch an 11-minute podcast video or listen to the audio of part 3 of episode 92 of the Lately in PHP podcast to learn how to plan a PHP version upgrade process so it can conclude successfully.
When Is the Right Time to Update to a New PHP Version - 5 minutes - Lately in PHP Podcast Episode 92 Part 2 By Manuel Lemos When you consider updating your applications to use a new PHP version, many available versions are available. Updating too soon or too late to a newer version of PHP may cause problems of instability or security in their applications. Please read this article, watch a 5-minute podcast video or listen to the audio of part 2 of episode 92 of the Lately in PHP podcast to learn about criteria that you can use to do a safe version update.
Why You Need to Choose the Right Moment to Upgrade to a New PHP Version - 4 minutes - Lately in PHP Podcast Episode 92 Part 1 By Manuel Lemos Every developer depends on several types of software applications to run their applications to do their work. Examples of those software applications are PHP, a database server, a Web server, and an operating system. Newer versions of these software applications are released to improve their features and fix their bugs to benefit the community of developers that use them in their projects. Upgrading too soon or too late to a newer version of a software tool that you need may cause problems of instability or security in their applications. Please read this article, watch a 4-minute podcast video or listen to the audio of part 1 of episode 92 of the Lately in PHP podcast on why it is essential to carefully choose the right time to upgrade to a newer version of PHP or those software tools.
10 Pieces of PHP Developer Advice in 2022: Advice #10: How to Have a Better PHP Developer Career Learning While You Give Advice to Other Developers - 4 minutes - Lately in PHP Podcast Episode 90 Part 10 By Manuel Lemos One of the best ways to learn in practice is to help others solve their problems. This learning method works well because when you try to solve other people's problems, you also learn more about possible solutions. Read this article, watch a 4-minute podcast video or listen to the audio of part 10 of episode 90 of the Lately in PHP podcast on how to advise yourself and other PHP developers to evolve in your PHP developer career.
10 Pieces of PHP Developer Advice in 2022: Advice #9: How Can You Be More Productive as PHP Developers by Using Good Time Management Method and Tools - 6 minutes - Lately in PHP Podcast Episode 90 Part 9 By Manuel Lemos If you want to have an excellent quality of life, you need to spend your time doing most of the time activities that you love. To do those activities you love, you need to plan well how you spend your time, splitting your time well between activities you do for yourself, your spouse, family, friends, and PHP developer work. The best way to plan well how you use your time is to use good time management tools and methods. Read this article, or watch a 6-minute podcast video or listen to the audio of part 9 of episode 90 of the Lately in PHP podcast to learn how to do good time management with suggested methods and tools.
10 Pieces of PHP Developer Advice in 2022: Advice #8: How Can You Find Compatible Partners to Collaborate on Your Business of PHP Products or Services - 6 minutes - Lately in PHP Podcast Episode 90 Part 8 By Manuel Lemos Many developers want to become business owners and sell their products or services. Some try to collaborate with partners to split the work and move on faster. Sometimes they fight with the partner and split. This situation happens because they are not compatible with their chosen partners. There is a means to determine if you are compatible with other people before you even start talking with other people to become a partner. Read this article, watch a 6-minute podcast video, or listen to part 8 of episode 90 of the Lately in PHP podcast to learn how to determine if another person is compatible with you to collaborate in a successful business.
Improving PHP Possibilities Overriding Built-in PHP Functions - 3 Minutes Lately in PHP podcast episode 87 By Manuel Lemos PHP provides many built-in functions that are widely used. One way to improve the possibilities of PHP could be to override the built-in functions with user defined code. The discussion for the support for this possibility was one of the main topics discussed by Manuel Lemos and Arturs Sosins on the episode 87 of the Lately in PHP podcast. In this episode they also talked about the the latest PHP 7.2.0 release candidate versions, using double as indexes of arrays, allowing default values in the list() command, the story of the PHP unserialize function, the world elephant day, creating a CAPTCHA solver with a PHP OCR class and fixing the year 2038 problem with a better time handling class. This article also contains a podcast summary as a 3 minute video and a transcript of the summary. Listen to the podcast, or watch the hangout video, or the summary video, or read the transcript to learn more about these interesting PHP topics.
Definite CSRF Attack Protection in PHP with Same Site Cookies Support - 3 Minutes Lately in PHP podcast episode 86 By Manuel Lemos Same Site Cookies is a modern security feature being supported in the latest Web browser versions to provide a definite protection to Cross-Site Request Forgery attacks. The support of the same site cookies in PHP was one of the main topics discussed by Manuel Lemos and Arturs Sosins on the episode 86 of the Lately in PHP podcast. In this episode they also talked about the PHP 7.2 feature freeze, proposals to change object arrow -> to dot . notation, array coalesce operator, native support to JSON object to arrays in PDO, an article about comparing two similar images, and the 18 years of PHP Classes. This article also contains a podcast summary as a 3 minute video and a transcript of the summary. Listen to the podcast, or watch the hangout video, or the summary video, or read the transcript to learn more about these interesting PHP topics.
Improving PHP Extensions Mixing PHP and C code using PCS - 4 Minutes Lately in PHP podcast episode 85 By Manuel Lemos PCS is a mechanism that allows creating PHP extensions mixing C and PHP code, thus allowing to develop PHP extensions faster. The possibility to use of PCS in PHP 7.2 was one of the main topics discussed by Manuel Lemos and Arturs Sosins on the episode 85 of the Lately in PHP podcast. In this episode they also talked about the proposals to support retrying code that throws exceptions, matching regular expressions starting in a position of the text, having final variables, binary serialization of variables, etc.. This article also contains a podcast summary as a 4 minute video and a transcript of the summary. Listen to the podcast, or watch the hangout video, or the summary video, or read the transcript to learn more about these interesting PHP topics.
PHP Hybrid VM to Make Small PHP Benchmarks 1.5 Faster - 3 Minutes Lately in PHP podcast episode 84 By Manuel Lemos PHP evolution efforts in terms of performance optimization continues. Now there is an effort to implement a Hybrid VM that can provide great performance improvements for PHP 7.2 with the JIT engine or not. This was one of the main topics discussed by Manuel Lemos and Arturs Sosins on the episode 84 of the Lately in PHP podcast. In this episode they also talked about the Raspberry PI PHP extension, using NULL parameters in PDO queries, and the evolution of support of SSL/TLS connections from PHP code. They also talked about PHP tutorial articles on using a digital document signature platform, managing cloud servers automatically from PHP and how Hired is helping developers to get better jobs without waiting for you to go after them. This article also contains a podcast summary as a 3 minute video of the summary. Listen to the podcast, or watch the hangout video, or the summary video to learn more about these interesting PHP topics.
PHP and JavaScript Innovation Award Report June 2017 Edition - March 2017 nominees By Manuel Lemos This is the June edition of the Innovation Award podcast hangout recorded by Manuel Lemos and Arturs Sosins to comment on the outstanding features of all the past month nominees and winners PHP and JavaScript packages, the prizes that the authors earned, starting with the nominees from the month of March 2017. Listen to the podcast, or watch the hangout video to learn why the nominated packages were considered to be innovative, as well the current rankings of the Innovation Award Championship by author and by country.
PHP 7.2 Release Date Time Table - 4 Minutes Lately in PHP podcast episode 83 By Manuel Lemos Now that PHP 7.2 release managers were elected, the time table for each alpha, beta, release candidate and general availablity dates were announced. This was one of the main topics discussed by Manuel Lemos and Arturs Sosins on the episode 83 of the Lately in PHP podcast. In this episode they also talked about the problem of casting objects to scalars passed by reference to functions, supporting float data types in PDO, implementing a better interface for serializing objects, and improvements for the filter extension. They also talked about PHP tutorial articles on using dynClass as an improvement to PHP stdClass, installing Laravel 5 on Ubuntu and the problems of Chrome trying to block bogus Cross-Site Scripting security attacks. This article also contains a podcast summary as a text transcript and a 4 minute video of the summary. Listen to the podcast, or watch the hangout video, or read the transcript text to learn more about these interesting PHP topics.
PHP 7.2 Release Date and Managers Being Chosen - 7 Minutes Lately in PHP podcast episode 82 By Manuel Lemos PHP 7.2 development is reaching to the alpha stage in June, hopefully to have a final version released later this year. So for now the release managers are being chosen, so they can start preparing to work on each alpha, beta and release candidate version. This was one of the main topics discussed by Manuel Lemos and Arturs Sosins on the episode 82 of the Lately in PHP podcast. In this episode they also talked about other proposals for PHP cache keys for stream wrappers, serialized object validation with is_string, type variants, let range() return a generator, named parameters again, and removing the need for ; on the end of the line . They also commented on an article about promoting Open Source projects using data mining and business intelligence to boost SEO factors, and using OpenID Connect protocol to implement single sign-on social login systems. This article also contains a podcast summary as a text transcript and a 5 minute video of the summary. Listen to the podcast, or watch the hangout video, or read the transcript text to learn more about these interesting PHP topics.
PHP Articles Report March 2017 Edition By Manuel Lemos This is the March 2017 edition of the podcast hangout recorded by Manuel Lemos and Arturs Sosins to comment on the latest outstanding PHP articles published recently. In this edition they discuss articles about the difference between using the old MySQL extension, MySQLi and PDO, controlling an Android device using PHP code running on the device with Termux, and a comparison of WordPress security plugins. Listen to the podcast, or watch the hangout video to learn more about these PHP articles.
PHP and JavaScript Innovation Award Report March 2017 Edition - December 2016 nominees By Manuel Lemos This is the March edition of the Innovation Award podcast hangout recorded by Manuel Lemos and Arturs Sosins to comment on the outstanding features of all the past month nominees and winners PHP and JavaScript packages, the prizes that the authors earned, starting with the nominees from the month of December 2016. Listen to the podcast, or watch the hangout video to learn why the nominated packages were considered to be innovative, as well the current rankings of the Innovation Award Championship by author and by country.
Macros-like in PHP 7.2 using Arrow Functions - 5 Minutes Lately in PHP podcast episode 81 By Manuel Lemos One of the features proposed for PHP 7.2 or next PHP version is the arrow functions. This is somewhat similar to the macros that exist in other languages, although it is not exactly the same thing. This was one of the main topics discussed by Manuel Lemos and Arturs Sosins on the episode 81 of the Lately in PHP podcast. In this episode they also talked about other proposals for future PHP versions like Deprecating bare words that are used as constant strings often by mistake, type checking when calling shared libraries with the FFI extension, a generic HMAC hashing function, namespaces for core extensions, support for strings with national characters for PDO prepared statements . This article also contains a podcast summary as a text transcript and a 5 minute video of the summary. Listen to the podcast, or watch the hangout video, or read the transcript text to learn more about these interesting PHP topics.