PHP Classes

PHP Tutorials

Recommend this page to a friend!

Articles to teach about PHP matters and related topics

  All package blogs All package blogs   Blog PHP Classes blog   Blog PHP Tutorials   Post article Post article  
  277 - 268   267 - 258   257 - 248   247 - 238   237 - 228   227 - 218   217 - 208   207 - 198   197 - 188   187 - 178   177 - 168   167 - 158   ...   7 - 1  

1124. Why Your PHP Code Will Benefit When You Upgrade to PHP 8.2 to Use Standalone Types for true, false and null

Updated on: 2023-01-10

Posted on:

Another attractive new feature of PHP 8.2 is the possibility to treat true, false, and null as standalone types.

This PHP 8.2 feature helps PHP developers catch bugs earlier and improve their code quality in practice by allowing them to be more specific in the types returned by functions that may have to be of these three new types: true, false, and null.

Read this short article to learn more about this new PHP 8.2 possibility and how you can use it in practice in your PHP applications to improve their quality.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1123. Why You Should Follow PHP Standards Recommendation 20 to Get the System Clock

Updated on: 2022-12-30

Posted on:

The PHP Standards Recommendation (PSR) 20 specification was released recently to help developers use a common interface to get the system click date and time.

This is an important recommendation if you need to test PHP application code that can manipulate dates and times using the current system clock.

Read this short article to learn more about this PHP standards recommendation, see some code examples, and get a suggestion of when it will be good for you to follow this recommendation.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1122. How PHP json_validate Function Will Improve The Validation of JSON Data in PHP 8.3

Updated on: 2022-12-28

Posted on:

The development of PHP 8.3 is already going on. Several new features were proposed and accepted by the PHP core developers.

One of the planned features is the ability to implement a new function called json_validate that will allow PHP developers to implement a more efficient validation of JSON data structures.

Please read this short article to learn how the json_validation function will work so you can benefit from it in your PHP applications.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1121. Why Would You Want to Do a PHP Upgrade to 8.2 Version to Benefit from ReadOnly Classes

Updated on: 2022-12-27

Posted on:

PHP 8.2 was released on December 8. It provides several new features that PHP developers implement PHP applications with better quality. One of the new features is the read-only class.

Read this short article to learn more about reading-only classes' benefits.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1120. Top Free PHP Scripts for Websites That You Should Not Miss in 2023

Updated on: 2023-11-02

Posted on:

PHP has attained a degree of success that is unprecedented. Many years ago, PHP established itself as the leading programming language in the world.

The result of this level of adoption of PHP is that there are many ready-to-use solutions written in PHP for many purposes.

Read this short article to learn more about several suggested PHP and JavaScript applications that you may be missing and that are useful for business purposes, like CRM, email marketing, visual content editors, contact forms, and URL shorteners.


Blog More ...   Post a comment Post a comment   See comments See comments (4)   Trackbacks (0)

1118. How to Verify If the EverSQL MySQL Tool Provides Good Optimization Suggestions - 8 minutes - Lately in PHP Podcast Episode 93 Part 7

Updated on: 2023-03-17

Posted on:

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.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1117. Make SQL Queries Run Faster Using the EverSQL MySQL Query Optimization Tool - 4 minutes - Lately in PHP Podcast Episode 93 Part 6

Updated on: 2022-12-21

Posted on:

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.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1116. 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

Updated on: 2022-11-30

Posted on:

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.


Blog More ...   Post a comment Post a comment   See comments See comments (2)   Trackbacks (0)

1115. Introduction on How to Use the EverSQL MySQL Query Optimizer Tool for Free - 3 minutes - Lately in PHP Podcast Episode 93 Part 4

Updated on: 2022-11-17

Posted on:

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.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1114. 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

Updated on: 2022-10-25

Posted on:

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.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

  277 - 268   267 - 258   257 - 248   247 - 238   237 - 228   227 - 218   217 - 208   207 - 198   197 - 188   187 - 178   177 - 168   167 - 158   ...   7 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Blog PHP Tutorials   Post article Post article