1. How Can PHP Run SQL Query Just By Accessing a Class Variable
Updated on: 2021-05-06
Posted on: 2021-05-06
Blog: Queasy DB package blog
Package: Queasy DB
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.
More ... Post a comment 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: 2021-05-05
Blog: Redstart Graphic Library package blog
Package: Redstart Graphic Library
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.
More ... Post a comment 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: 2021-05-04
Blog: Crow PHP Web Framework package blog
Package: Crow PHP Web Framework
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.
More ... Post a comment 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: 2021-04-29
Blog: TonTon PHP Singleton Trait New Generation package blog
Package: TonTon PHP Singleton Trait New Generation
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.
More ... Post a comment 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: 2021-04-27
Blog: PHP Message Container package blog
Package: PHP Message Container
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.
More ... Post a comment 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: 2021-04-27
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.
More ... Post a comment 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: 2021-04-26
Blog: MesQ PHP Queue Management System package blog
Package: MesQ PHP Queue Management System
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.
More ... Post a comment 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: 2021-04-23
Blog: Either package blog
Package: Either
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.
More ... Post a comment 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: 2021-04-22
Blog: TonTon PHP Singleton Trait New Generation package blog
Package: TonTon PHP Singleton Trait New Generation
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.
More ... Post a comment See comments (0) Trackbacks (0)
1. How to Use a Simple Database Connection Class
Updated on: 2021-04-20
Posted on: 2021-04-20
Blog: PHP MySQL Database package blog
Package: PHP MySQL Database
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.
More ... Post a comment See comments (0) Trackbacks (0)