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  
  1836 - 1827   ...   1786 - 1777   1776 - 1767   1766 - 1757   1756 - 1747   1746 - 1737   1736 - 1727   1726 - 1717   1716 - 1707   1706 - 1697   1696 - 1687   1686 - 1677   1676 - 1667   ...   6 - 1  

1147. How to Use PHP Sessions to Handle Many Simultaneous Accesses

Updated on: 2023-08-11

Posted on:

Most PHP applications use sessions to keep track of users and store data that is relevant to them.

By default, PHP uses local files to store session data. That is fine for sites and applications with few simultaneous users.

Read this article to learn more about PHP sessions and how you can improve the way you use PHP sessions to be ready to handle better the situation when your PHP sites or applications start getting many simultaneous users.


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

1. How to Add a PHP Wishlist to an E-Commerce Site that Uses WooCommerce to Help Selling More Products in the Future

Updated on: 2023-03-21

Posted on:

Blog: Ade Simple WooCommerce Wishlist plugin package blog
Package: Ade Simple WooCommerce Wishlist plugin

Many e-commerce sites have wishlists to help customers remember the products they want.

Maybe somebody buys one of those products so the customer may get that product someday.

Or maybe the customer buys that product later if he is reminded that the customer wished to have that product sometime in the past.

This package can add a wishlist to an e-commerce site built with WooCommerce. This way, e-commerce sites can sell the products they have in store more in the future.


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

1. How to Implement a Basic Artificial Intelligence PHP Decision Making Programs That Automatically Suggest Good Decisions Based on Probabilities

Updated on: 2023-03-20

Posted on:

Blog: PHP Probability Selector package blog
Package: PHP Probability Selector

Some applications need to select items from a list automatically. For instance, applications that need to assign jobs to a list of servers.

This class implements an algorithm that considers the number of times the items on a list was used and probability weights assigned to each item to decide which item should be used next time automatically.


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

1. How to Implement a PHP Bot Detection Process Like CloudFlare to Avoid SpamBots From Abusing Servers

Updated on: 2023-03-19

Posted on:

Blog: contao PHP Spambot Detection package blog
Package: contao PHP Spambot Detection

Spambots are usually programs that are run automatically by people with bad intentions.

Sometimes they want to steal the content of Web sites to republish on other sites without benefiting the original creators of the content.

Spambots may also overload servers because they send too many requests to servers to retrieve the content quickly.

This package provides a way to detect the accesses from spambots.

This way, site owners that use this package can block the access of spambots to avoid damages that it can cause to the site businesses.


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

1. How to Perform PHP Type Casting to String of Variables of Any Type to Generate Strings that You Can Easily Store in Databases or Files

Updated on: 2023-03-18

Posted on:

Blog: PHP Type Tools package blog
Package: PHP Type Tools

PHP is a language that is very flexible when it comes to manipulating the types of variable values.

This package provides a combination of tools in the form of practical classes that can perform several types of variable data type access, like generating unique strings from any variable values, type casting, and introspection of objects or array values.


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

1146. How to Implement PHP Asyncronous programming using PHP 8.1 Fibers - 6 minutes - Lately in PHP podcast episode 94

Updated on: 2023-03-17

Posted on:

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.


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

1. How to Simplify Object Queries Using a PHP Active Record Relations Manager Trait

Updated on: 2023-03-16

Posted on:

Blog: Yii2 Query Relation Manager package blog
Package: Yii2 Query Relation Manager

ActiveRecord is a popular design pattern implemented by many frameworks based on the Model-View-Controller (MVC) design pattern to store and retrieve objects stored, for instance, in SQL databases.

Applications that use the MVC design pattern usually need to perform queries to retrieve specific model class objects that match certain conditions.

This package uses a query relation manager trait to add the ability to model classes to elaborate complex queries on model objects that match conditions that may include filters on the model object properties and relations with other model class objects.


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

1145. WhatsApp New Developer Tool to Be Released Soon

Updated on: 2023-03-15

Posted on:

Recently, the Meta group, the owner of Facebook, WhatsApp, and Instagram platforms, made the WhatsApp API available to all developers without paying high fees.

Now the Meta group will release a new developer tool for those who want to work with WhatsApp. This tool will be announced soon in an upcoming Webinar.

Read this article to learn how to participate in the announcement Webinar and get early access to this new WhatsApp developer tool.


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

1. How to Get Your PHP Developer Reputation From Your Contributions to StackOverflow

Updated on: 2023-03-14

Posted on:

Blog: PHP StackExchange API package blog
Package: PHP StackExchange API

StackExchange is a well-known network of sites where users can ask questions about how to solve problems specific to those communities.

One of those sites of the StackExchange network is StackOverflow. This is a site for programmers.

This package allows developers to access several aspects of sites of the StackExchange network using its API.


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

1. How to Use a XML to PDF PHP Library to Generate PDF from Proof of Purchase XML Documents

Updated on: 2023-03-12

Posted on:

Blog: CFE Printer package blog
Package: CFE Printer

Many companies need to print documents that can be used as proof of purchase by their customers for the products or services.

In many countries, these documents are generated in XML format by the companies and authenticated by the official institutions that regulate commercial activities in those countries.

This package can print authenticated XML documents by generating PDF documents that can be saved or printed.


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

  1836 - 1827   ...   1786 - 1777   1776 - 1767   1766 - 1757   1756 - 1747   1746 - 1737   1736 - 1727   1726 - 1717   1716 - 1707   1706 - 1697   1696 - 1687   1686 - 1677   1676 - 1667   ...   6 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article