560. Notable PHP package: PHP Session MySQL Handler
Updated on: 2017-05-10
Posted on: 2017-05-10
By default PHP stores information of session variables in files, but applications can provide their own session handlers and store session data in other storage containers like databases. It is common to store session data in MySQL databases.
One issue to be concerned with sessions is that only one script can change session data at a time of a given user.
For databases, transactions could be used to prevent that multiple scripts try to change the same user session data in a way that could cause inconsistency.
However, the use of sessions may cause that the table that contains session data records locks the access to session records of all users.
This class provides a better solution by using row level locking, thus allowing that session records of different users be changed at the same time by different scripts.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
One issue to be concerned with sessions is that only one script can change session data at a time of a given user.
For databases, transactions could be used to prevent that multiple scripts try to change the same user session data in a way that could cause inconsistency.
However, the use of sessions may cause that the table that contains session data records locks the access to session records of all users.
This class provides a better solution by using row level locking, thus allowing that session records of different users be changed at the same time by different scripts.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
557. Notable PHP package: PHP ODT Template SQL Reports
Updated on: 2017-05-03
Posted on: 2017-05-03
Many applications need to generate reports from data retrieved from a database.
This class can generate reports from MySQL database query results using templates in the ODT format used by OpenOffice.
This allows creating report documents formatted with user defined templates and replacing placeholders with data from a database.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
This class can generate reports from MySQL database query results using templates in the ODT format used by OpenOffice.
This allows creating report documents formatted with user defined templates and replacing placeholders with data from a database.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
556. Notable PHP package: Name String Order
Updated on: 2017-05-01
Posted on: 2017-05-01
The name of a person can be represented in different ways in different places. Sometimes the surname appears first, others times it appears last.
This class can take a look at a string with a person name and detect if the surname comes first or last. Then it can reformat the name according to whatever order is preferred in your PHP application.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
This class can take a look at a string with a person name and detect if the surname comes first or last. Then it can reformat the name according to whatever order is preferred in your PHP application.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
555. Notable PHP package: PHP iTunes Search API
Updated on: 2017-04-26
Posted on: 2017-04-26
iTunes is a popular store for purchasing media and apps for Apple devices.
This package can send queries to iTunes APIs to retrieve and parse RSS feeds with the details of several types of media and apps sold by iTunes.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
This package can send queries to iTunes APIs to retrieve and parse RSS feeds with the details of several types of media and apps sold by iTunes.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
553. Notable PHP package: File Pager
Updated on: 2017-04-24
Posted on: 2017-04-24
Pagination is useful to split listings of long information into multiple pages. It is often used to split database query results into a list of Web pages.
This package can paginate an arbitrary text into a list of pages of limited line length suited to display on console terminal.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
This package can paginate an arbitrary text into a list of pages of limited line length suited to display on console terminal.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
552. Notable PHP package: PHP Dominant Color
Updated on: 2017-04-19
Posted on: 2017-04-19
Some applications need to display an image in a background that matches the most common color of the image.
This package can find the dominant color of an image and creates a new image in the GIF format with one pixel using that dominant color.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
This package can find the dominant color of an image and creates a new image in the GIF format with one pixel using that dominant color.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
550. Notable PHP package: PHP NBA API and MLB Stats
Updated on: 2017-04-17
Posted on: 2017-04-17
NBA and MLB are United States associations that organize professional championships of popular sports that are basketball and baseball.
This package can retrieve several types of statistics about NBA and MLB from erikberg.com API.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
This package can retrieve several types of statistics about NBA and MLB from erikberg.com API.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
549. Notable PHP package: PHP Word Search in Array
Updated on: 2017-04-13
Posted on: 2017-04-13
Crossword is a well known puzzle game that consists in finding words from a list that appear in a grid laid out either horizontally or vertically.
This class can search a word in a 2 dimension array of characters, thus helping to find words in a crossword puzzle automatically.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
This class can search a word in a 2 dimension array of characters, thus helping to find words in a crossword puzzle automatically.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
548. Notable PHP package: PHP Code Fixer
Updated on: 2017-04-11
Posted on: 2017-04-11
Over time PHP deprecated and remove some of its functions and variables that were supported in past versions.
This package parse PHP code and find known issues of functions, variables and php.ini configuration directives that are deprecated. It can also suggest replacements for the code that uses deprecated features.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
This package parse PHP code and find known issues of functions, variables and php.ini configuration directives that are deprecated. It can also suggest replacements for the code that uses deprecated features.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
547. Notable PHP package: PHP JSON Query
Updated on: 2017-04-06
Posted on: 2017-04-06
JSON has become the de facto standard format for exchanging structured data types in the form of readable text, thus replacing XML for similar purposes.
There are many XML libraries for creating, parsing and querying XML documents.
This package provides a pure PHP solution for parsing and querying JSON data similar to XML query libraries.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
There are many XML libraries for creating, parsing and querying XML documents.
This package provides a pure PHP solution for parsing and querying JSON data similar to XML query libraries.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)