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  
  1977 - 1968   ...   1947 - 1938   1937 - 1928   1927 - 1918   1917 - 1908   1907 - 1898   1897 - 1888   1887 - 1878   1877 - 1868   1867 - 1858   1857 - 1848   1847 - 1838   1837 - 1828   ...   7 - 1  

1. How to Create a Simple PHP CRUD Application using MySQL to Store Records in a Database

Updated on: 2023-12-18

Posted on:

Blog: PHP CRUD Application package blog
Package: PHP CRUD Application

Many PHP applications provide a user interface to perform common operations on records of information stored in a database.

These operations are usually called CRUD: Create, Retrieve, Update, and Delete.

This package provides a simple example of creating a PHP CRUD application using a base class to access a MySQL database.

Then, specific classes can use the base class to implement functions that perform each of the CRUD operations that your application needs.

Read below to learn more about this package and how to implement your CRUD applications without writing too much PHP code.


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

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)

  1977 - 1968   ...   1947 - 1938   1937 - 1928   1927 - 1918   1917 - 1908   1907 - 1898   1897 - 1888   1887 - 1878   1877 - 1868   1867 - 1858   1857 - 1848   1847 - 1838   1837 - 1828   ...   7 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article