PHP Classes

All package blogs

Recommend this page to a friend!

Latest posts of all package blogs

  PHP Classes blog PHP Classes blog   Blog All package blogs  
  889 - 880   ...   429 - 420   419 - 410   409 - 400   399 - 390   389 - 380   379 - 370   369 - 360   359 - 350   349 - 340   339 - 330   329 - 320   319 - 310   ...   9 - 1  

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)

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)

1. How to Implement PHP Full Text Search without Database to Search for Project Files

Updated on: 2021-04-20

Posted on:

Blog: Website PHP Full Text Search package blog
Package: Website PHP Full Text Search

Sometimes developers need to find specific information in the files that they use to develop the Web sites that they implement.

This package provides a solution for finding the information they need with support to filter the section to text that may be in the files in sections delimited by certain start and end text marks.


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

1. How to Create PHP Site from Scratch Very Quickly

Updated on: 2021-04-19

Posted on:

Blog: Update Site package blog
Package: Update Site

Sometimes developers need to create simple sites in a very short period of time.

Often WordPress is a choice of many developers but it is already too powerful and complex to setup and configure so quickly.

Read this article to learn how to use a simple Update Site class to create a new and simple PHP site made of articles from scratch very quickly.


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

1. How to Access Databases from PHP using Less Code with the Cursor Class Similar to Android Cursor

Updated on: 2021-04-16

Posted on:

Blog: PHP SQL Cursor package blog
Package: PHP SQL Cursor

Cursor is a class that can be used to execute SQL queries and retrieve the query results in a few lines of code.

Read this article to learn how to access databases using the Cursor class to reduce the amount of code that you need to write to implement your PHP applications.


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

1. How to Use a Laravel Theme Package to Customize the Presentation of a PHP Web Application

Updated on: 2021-04-15

Posted on:

Blog: PHP Theme For Website package blog
Package: PHP Theme For Website

Laravel is a very popular framework that many developers use to implement PHP Web applications.

Laravel make it easier for developers to define many aspects of an application including the way the applications are presented to their users by the means of HTML templates, images, CSS and JavaScript files. These files can be combined to form a presentation theme.

This package allows to pack all theme files into a compressed archive. This way, a theme can be easily installed or distributed.


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


  889 - 880   ...   429 - 420   419 - 410   409 - 400   399 - 390   389 - 380   379 - 370   369 - 360   359 - 350   349 - 340   339 - 330   329 - 320   319 - 310   ...   9 - 1  
  PHP Classes blog PHP Classes blog   Blog All package blogs