PHP Classes

PHP Classes blog

Recommend this page to a friend!

Latest PHP Classes blog posts

  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article  
  1986 - 1977   ...   1946 - 1937   1936 - 1927   1926 - 1917   1916 - 1907   1906 - 1897   1896 - 1887   1886 - 1877   1876 - 1867   1866 - 1857   1856 - 1847   1846 - 1837   1836 - 1827   ...   6 - 1  

1184. How PHP DomDocument Class Will Be Improved in PHP 8.4 to Parse and Serialize Better HTML5 Documents

Updated on: 2024-01-05

Posted on:

Until PHP 8.3, PHP developers can use the DOMDocument class to parse HTML pages and files to process them helpfully for their PHP applications.

For instance, the DOMDocument can extract information from sites only available on the web pages.

Unfortunately, the DOMDocument class implementation is based on the LibXML2 library, which is only ready to parse HTML 4 documents.

Therefore, PHP 8.4 will be improved to use a new parser library that can process HTML5 pages and files to parse pages with types of elements only available in HTML5.

Most modern sites use HTML5 to generate their pages to take advantage of new HTML page elements not supported by HTML 4.

PHP 8.4 will be the next official version that PHP core developers will release, with improved features and better security protection.

Read this short article to see some PHP code and learn how to take advantage of this improvement of PHP 8.4 and when it will be available for you to use in your PHP applications.


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

1. How to Use a WordPress Portfolio Plugin to Show to Companies that May Hire You

Updated on: 2023-12-14

Posted on:

Blog: Yuri Wordpress Portfolio Plugin package blog
Package: Yuri Wordpress Portfolio Plugin

Many professional developers act as freelancers or employees of other companies.

When they are looking for a new job, it helps to have a page ready to show the portfolio to potential companies that may hire the professional.

This package provides a WordPress plugin that implements a custom post type specifically to generate pages for presenting professional portfolios based on a few details the developer may enter easily using forms on a Web page.


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

1183. How to Use an Artificial Intelligence Image Recognition API to Detect Objects and Enhance the Images with Visual Effects Using Google MediaPipe API

Updated on: 2024-03-13

Posted on:

One of the uses of artificial intelligence is to process images helpfully.

Nowadays, there are APIs that developers can use from any programming language, including PHP, to benefit from the capabilities of those APIs to perform tasks that would be difficult to achieve using traditional programming based on regular algorithms.

Please read this article to learn how to use Google MediaPipe to process images, extract objects in pictures like people, and apply special effects on them.


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

1. How to Choose a Fast PHP Package to Store and Retrieve Data Objects Using a PHP BenchMark of Different PHP DTO Packages

Updated on: 2023-12-11

Posted on:

Blog: PHP Benchmark DTO Transform package blog
Package: PHP Benchmark DTO Transform

Data transfer objects (DTO) are objects that applications use to store values of classes representing fundamental entities that applications manipulate, such as products sold on an e-commerce site.

Eventually, applications will use those objects to retrieve and store their values in data containers such as SQL databases.

Many PHP packages provide classes to implement data transfer objects.

This package implements a benchmark that measures the performance of several PHP DTO packages in essential aspects like speed and memory usage.

This way, other developers can compare the different PHP DTO packages and choose one with better performance.


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

1. How Can PHP Cache Database Query Results to Make Your PHP Applications Faster Using a Redis Server

Updated on: 2023-12-08

Posted on:

Blog: PHP Cache Database Results Library package blog
Package: PHP Cache Database Results Library

Many PHP applications must execute database queries to retrieve data to display on Web pages or serve to mobile applications via an API.

Database queries can take a lot of time to execute. If your application must complete the same question often, using a cache solution may speed up retrieving the database query results.

There are many types of cache solutions. This package implements a cache solution that uses a Redis server to store cached database query results.

This way, applications that retrieve database query results may become faster.

At the same time, they can be ready to reuse the same Redis cache server by multiple servers that your site or mobile application may need to access to handle accesses from many simultaneous users.


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

1. How to Use a PHP Container Class to Add Transaction Support to Make Your Applications More Robust

Updated on: 2023-12-07

Posted on:

Blog: PHP Transactional Containers package blog
Package: PHP Transactional Containers

Transactions are a sequence of operations that must be executed in an atomic way. This means that if one of the operations of the sequence fails, all operations executed previously need to be reverted.

If you use a database server like MySQL or others, they support transactions.

Now, it may be hard to support transactions if you use a data object that may use a database server or not, and you have not anticipated the support for transactions since the beginning.

This package can help add transaction support to an application that uses data objects by adding minimal code to improve the application's robustness.


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

1182. How to Find the 2023 Edition of the PHP Elephant to Buy and Get It in Time as a Nice Christmas Gift for You or for Those that You Love

Updated on: 2023-12-06

Posted on:

The 2023 edition of the PHP elePHPant just arrived in time for us to send it to you before Christmas.

This edition of the PHP elePHPant uses a blue tone more faithful to the first elePHPants sold many years ago.

Read this short article to learn how to find the 2023 edition of the PHP elePHPant so you can get it just in time for Christmas where you live, and give it as a lovely gift to those that you love.


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

1. How to Implement a Modern PHP AJAX Login System that Uses JSON Web Tokens to Transmit Data Securely From the Broswer to a PHP Server Side API

Updated on: 2023-12-05

Posted on:

Blog: PHP AJAX Login with JWT and Fetch API package blog
Package: PHP AJAX Login with JWT and Fetch API

A JSON Web Token (JWT) is a text string with values encoded in the JSON format that stores values that may be signed using cryptography methods, so it can be used to transmit messages verified when the messages reach the destination.

Modern browsers already support the JavaScript Fetch API. Using this API, developers can use a more modern way to send asynchronous requests from browsers to an API running on the Web server side.

This package uses both JWT and the Fetch API to implement a user login and management system that can replace traditional systems that use XMLHttpRequest object support to send AJAX requests to a server-side API implemented in PHP to authenticate and authorize user access securely.


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

1. How to Use a PHP Query Builder Library to Easily Compose and Execute Database Queries With Related Tables

Updated on: 2023-12-01

Posted on:

Blog: PHP Query Builder Library for Related Tables package blog
Package: PHP Query Builder Library for Related Tables

Most PHP applications that need to perform database queries to access the application data need to access data in different database tables.

Composing queries that involve multiple tables needs to be done carefully.

Learn about this PHP query builder library for related tables to build and execute queries that involve multiple tables using the PHP PDO extension.


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

2. How to Use a PHP CRUD Generator Framework to Develop PHP Applications Faster

Updated on: 2023-11-30

Posted on:

Blog: PHP CRUD MVC package blog
Package: PHP CRUD MVC

The PHP CRUD MVC package can generate code to speed up implementing PHP applications that use the MVC design pattern.

Developers can use the capabilities of this package to generate code to implement common functionality that would take more time and be tedious to write manually.

Read this short tutorial article to learn how the PHP CRUD MVC package works and how you can benefit from its code generation capabilities to develop your PHP applications faster using this package or the generator application available on a separate site.

It has been a while since I launched my code generator, PHPCRUD, on the web. You can access it by going to its page at https://phpcrud.ceuvago.com/#/.

Today, I'm excited to announce the 5th version, which can be downloaded via GitHub and is more powerful than ever.

If you want to see the demo video, you can watch this 2-minute video to see you have everything you need to start generating your PHP applications without programming.


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

  1986 - 1977   ...   1946 - 1937   1936 - 1927   1926 - 1917   1916 - 1907   1906 - 1897   1896 - 1887   1886 - 1877   1876 - 1867   1866 - 1857   1856 - 1847   1846 - 1837   1836 - 1827   ...   6 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article