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   ...   679 - 670   669 - 660   659 - 650   649 - 640   639 - 630   629 - 620   619 - 610   609 - 600   599 - 590   589 - 580   579 - 570   569 - 560   ...   9 - 1  

1. How to Implement a Fast PHP Search Engine for Applications Written Using Laravel

Updated on: 2022-09-06

Posted on:

Blog: Vegvisir Laravel Search Indexer package blog
Package: Vegvisir Laravel Search Indexer

Laravel is a popular PHP framework that implements the Model-View-Controller (MVC) design pattern.

Application objects are stored in persistent containers using model classes. Usually, these model classes use SQL database servers to store the model objects.

This solution may be acceptable when you want to store a relatively small number of model objects in database table records.

If your application needs to store and retrieve many model objects, other types of containers do not use SQL to query the database records, so it can be faster to search the object records.

This package provides a general solution to search model class objects in different storage containers that are more suited to store a large number of model class objects, like Elastic Search and Mongo DB.

Since this package provides an interface abstraction to perform searches for model objects, it is easier to change an application to use a different storage container without changing the database code.


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

1. How to Create a Laravel Blog Project that Uses Markdown as Format to Write the Blog Posts

Updated on: 2022-09-01

Posted on:

Blog: Laravel Markdown Blog package blog
Package: Laravel Markdown Blog

Blogs are still a popular form of publishing content of interest to a given community.

HTML is a natural format for defining blog content because Web pages use HTML to determine the page contents.

However, certain HTML tags may be insecure to allow blog post authors to submit content because a malicious author may use specific tags to steal private information from blog visitors.

Markdown is not as powerful as HTML in rendering content, but it is undoubtedly more secure because it does not support the same kind of tags HTML supports and can be insecure.

This package implements a blog system that allows authors to edit the post content in Markdown format, and then it displays that content on Web pages using regular HTML.


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

1. How to Simplify Your PHP Code by Performing a PHP Complexity Analisis to Find PHP Functions with Too Many Arguments

Updated on: 2022-08-31

Posted on:

Blog: PHP Function Arguments Detector package blog
Package: PHP Function Arguments Detector

Complex PHP code is hard to maintain. In practice, if you use a complex coding style, you spend a lot of time analyzing and improving your code whenever you need to make changes.

There are several types of signs that you use a complex coding style. One of them is the way you declare your classes and functions.

For instance, if you create classes with functions with many parameters, that is a sign that you are trying to do many operations in those functions.

This package can help you to find which can be complex class functions, so you can fix them, probably splitting them into several tasks that do fewer operations.


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

1. How to Help Your Blog Users to Decide If They Want to Read a Post Based on The Author Feelings Using a WordPress Plugin for Sentiment Analysis

Updated on: 2022-08-30

Posted on:

Blog: WordPress Plugin Sentiment Analysis package blog
Package: WordPress Plugin Sentiment Analysis

People who send text content to the Internet often express how they feel. That is the case, for instance, when post articles on a blog.

Knowing the kind of sentiment that an author of an article is expressing can be helpful for site users to decide if they would like to read the article or not, depending on the current mood.

It may also be helpful for site moderators to decide if they should approve an article or not, depending on whether the sentiment expressed by the article author is positive or negative.

This package implements a WordPress plugin that can analyze the sentiments expressed by authors of posts, pages, and comments. This way, users and moderators may understand the author's feelings.


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

1. How Can PHP Measure the Execution Time of a Web Script Since the HTTP Request Start

Updated on: 2022-08-29

Posted on:

Blog: PHP Utility Classes package blog
Package: PHP Utility Classes

Measuring the time a PHP script takes to execute allows determining if a hand is too slow and if its performance needs to be optimized.

When PHP is used to serve Web pages, the execution time must be measured from when the Web server received the HTTP request.

This package provides a class that can calculate the current script's real execution time considering the HTTP request start time.


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

1. How Can PHP Allow IP Address Range of Real Users by Blocking Machines Used to Perform Security Attacks

Updated on: 2022-08-26

Posted on:

Blog: Tor Geoip Tools package blog
Package: Tor Geoip Tools

Sometimes Web servers that run PHP sites are attacked by several machines hosted in the same network.

One way to protect against those attacks from all those machines is to block network connections from the whole IP address range segment.

This package simplifies blocking a whole IP address range segment by generating commands to run the Linux iptables command that adds rules to stop all the IP addresses that belong to those range segments.


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

1. How to Use PHP Validation Type Casting to Perform Complex Form Validation with Less Code

Updated on: 2022-08-25

Posted on:

Blog: Formal PHP Validation Library package blog
Package: Formal PHP Validation Library

Many Web applications need to validate values entered by the users to avoid invalid values that can make the application work unexpectedly.

Usually, developers define a set of rules to validate values entered by users. In some cases, specific values need to be validate by several rules.

This package supports the concept of type casting. This concept allows the definition of rules that combine several other rules into a single rule.

This way, developers can simplify the definition of complex rules in less code than if they had to define all simple rules for each value that their applications need to validate.


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

1. How to Quickly Create Extensions to Work as Joomla Templates

Updated on: 2022-08-23

Posted on:

Blog: Joomla Template Creator package blog
Package: Joomla Template Creator

Joomla is a popular PHP content management system many sites use to publish helpful content.

Developers can extend Joomla with additional modules that provide other functionality.

One of the types of modules that Joomla supports is template extensions that developers can install to change how a Joomla-based site appears to the users.

This package generates the files for creating Joomla template extension modules.

This way, Joomla extension developers can get started faster when they want to create new template modules.


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

2. How to Implement a PHP JPEG Exif Data Editor to Read and Write JPEG Image Captions in Multiple Languages

Updated on: 2022-08-22

Posted on:

Blog: PHP JPEG metadata package blog
Package: PHP JPEG metadata

If you are doing development work for clients whose native language is not English, you probably have been challenged to write IPTC-IM (International Press Telecommunications Council Image Metadata) that you can embed in JPEG image files with information like headlines, captions, keywords, etc.

You can embed that metadata information in JPEG image files in different languages. The challenge worsens if you want to offer the same images to different clients speaking or publishing in other languages.

Read this article to learn how to read and write IPTC-IM metadata in JPEG image files using PHP.


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

1. How to Implement a Simplified PHP Login System with Admin Features and User Registration in a Single Script

Updated on: 2022-08-19

Posted on:

Blog: PHP Login System Manager package blog
Package: PHP Login System Manager

All sites that have registered users implement a system to create and manage user records and user login sessions.

This package provides a simple solution that application developers can quickly adapt to any site regardless of how it stores and retrieves the user records.

It provides a single class that applications can use to handle access to most types of pages that the applications will use to handle user registration, login, administration, etc.


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


  889 - 880   ...   679 - 670   669 - 660   659 - 650   649 - 640   639 - 630   629 - 620   619 - 610   609 - 600   599 - 590   589 - 580   579 - 570   569 - 560   ...   9 - 1  
  PHP Classes blog PHP Classes blog   Blog All package blogs