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  
  1934 - 1925   ...   1354 - 1345   1344 - 1335   1334 - 1325   1324 - 1315   1314 - 1305   1304 - 1295   1294 - 1285   1284 - 1275   1274 - 1265   1264 - 1255   1254 - 1245   1244 - 1235   ...   4 - 1  

1. How Can PHP Run SQL Query Just By Accessing a Class Variable

Updated on: 2021-05-06

Posted on:

Blog: Queasy DB package blog
Package: Queasy DB

Many applications need to perform database queries to store and retrieve the information that they need to execute their tasks.

The traditional solutions to perform database queries require that developers assemble the SQL query strings combining any parameter values that may be necessary to compose the final SQL query strings.

This package provides a much simpler solutions that just requires accessing class variables to assemble and run the SQL queries that need to be executed.


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

1. How to Implement a PHP Image Edge Detection to Find Shapes using the Redstart Graphic BoxAction Classes

Updated on: 2021-05-05

Posted on:

Blog: Redstart Graphic Library package blog
Package: Redstart Graphic Library

Many people take pictures of other people, animals or objects that are important to the person that take the pictures.

Finding the edges of those people, animals or object may be useful to create contour lines around them or to create image clips cutting the image following the lines that connect the edges.

Read this short article to learn how to find the edges of images using the Redstart Graphic library package capabilities to detect those edges using builtin filter classes.


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

1. How to Develop More Efficient Applications Using PHP Asynchronous Programming with Micro-Services and React PHP or Swoole

Updated on: 2021-05-04

Posted on:

Blog: Crow PHP Web Framework package blog
Package: Crow PHP Web Framework

Asynchronous programming is a modern approach to develop applications that can make a more efficient use of the CPUs used in the machines on which the applications are running.

There are several solutions to implement asynchronous programming in PHP, like for instance Reach PHP and Swoole.

This package implements a framework that takes advantages of these asynchronous programming solutions to implement Web applications based on micro-services.


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

2. How to Limit the Number of Class Objects using PHP Singleton and Multiton Design Patterns

Updated on: 2021-04-29

Posted on:

Blog: TonTon PHP Singleton Trait New Generation package blog
Package: TonTon PHP Singleton Trait New Generation

Singleton and multiton are software design patterns that can be used to limit the number of objects a given class that can be created within the life time of current PHP script.

These design patterns are very useful for PHP developers in certain circumstances.

Read this article to learn why the singleton and multiton can be useful in PHP projects and how you can use them in general purpose project and in particular in WordPress projects.


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

1. How to Use a PHP Error Bag to Organize Better the Messages that Applications Generate

Updated on: 2021-04-27

Posted on:

Blog: PHP Message Container package blog
Package: PHP Message Container

A message bag is an approach used by some developers to store text messages in containers that have internal lockers to store each message according to the message type.

This approach allows a better organization of the way messages may be stored by applications.

This package provides a PHP implementation of the message bag storage approach.


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

1051. How to Add a PHP WYSIWYG Editor to Allow Users to View HTML Documents While Those Are Being Edited

Updated on: 2021-04-27

Posted on:

WYSIWYG is the acronym that is used to refer to a way to edit content while you can view how that will look like while that content is being edited by the user.

This is good for non-technical users that do not want to learn about HTML to edit the content of Web pages like for instances blog posts.

Read this article to learn more about WYSIWYG editors and how you can implement this kind of editors in PHP applications.


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

1. How to Implement a Fast PHP Message Queue System to Scale Applications Running Long Tasks in the Background

Updated on: 2021-04-26

Posted on:

Blog: MesQ PHP Queue Management System package blog
Package: MesQ PHP Queue Management System

Message queues are useful structures to store requests to perform tasks as soon as possible, but need to executed by the order of queuing.

There are many message queuing solution types. Some rely on having a specific message queuing server software.

This package provides a simple solution that relies only local files to store messages in a queue.


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

1. How Can a PHP Functional Programming Library Be Used to Process Sequences of Actions in a Simpler Way

Updated on: 2021-04-23

Posted on:

Blog: Either package blog
Package: Either

Often PHP developers need to write code that processes sequences of actions that may be executed or not depending on the success of prior actions.

Using the traditional if and else code structures may become confusing when there is a long sequence of actions that can be executed conditionally.

Read this article to learn how to use a functional programming approach with the Either package to avoid using the if and else statements to make the code less confusing.

Exception handling as a form of code micromanagement

We introduce a structure called Either. It's used on the functional world with programming languages like Haskell ad Scala. After I started using it, I appreciate the way it turns my PHP code more clear.


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

1. How to Use PHP Singleton Trait Variants to Limit the Number of Class Instances that Can Be Created to More Than One Object

Updated on: 2021-04-22

Posted on:

Blog: TonTon PHP Singleton Trait New Generation package blog
Package: TonTon PHP Singleton Trait New Generation

Singleton is a well known design pattern that is used by many classes to assure that only one instance of the class objects exist during the time that a script is executed.

Multiton is a variant of the singleton design pattern that allows more than one instance of a class to exist up to a given limit.

This package provides a solution to implement singleton or multiton classes that can have its variable values be saved to a MemCached container, so the objects can be loaded with the same class values in other times that a script is run after the original script that has set the class variable has ended.


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

1. How to Use a Simple Database Connection Class

Updated on: 2021-04-20

Posted on:

Blog: PHP MySQL Database package blog
Package: PHP MySQL Database

Most PHP application sites need to access a database to store and retrieve application data.

There are many classes to connect to a database. The best and the ones that are simple and easy to understand, so everybody can use them with a good sense of what is going on in the class.

Read this short tutorial article to learn how you can use the PHP MySQL Database class to perform all database query functions with the least complexity.


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

  1934 - 1925   ...   1354 - 1345   1344 - 1335   1334 - 1325   1324 - 1315   1314 - 1305   1304 - 1295   1294 - 1285   1284 - 1275   1274 - 1265   1264 - 1255   1254 - 1245   1244 - 1235   ...   4 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article