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  
  513 - 504   ...   193 - 184   183 - 174   173 - 164   163 - 154   153 - 144   143 - 134   133 - 124   123 - 114   113 - 104   103 - 94   93 - 84   83 - 74   ...   3 - 1  

3. Starting Long Server PHP Scripts and Monitor their Status Part 3: Running Multiple Parallel Tasks

Updated on: 2015-10-05

Posted on:

Blog: Asynchronous Long Server Tasks package blog
Package: Asynchronous Long Server Tasks

In the previous parts of this article it was presented a solution to run a task on the server that could take a long time to complete and still be able to monitor its progress. However it was limited to running one task at a time.

Read this article to learn how to run multiple long tasks on the server in parallel taking the most of the available server resources. You can also watch a video of the example solution in action.


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

9. Get Twitter Direct Message Images in PHP with the OAuth API

Updated on: 2015-12-10

Posted on:

Blog: PHP OAuth Library package blog
Package: PHP OAuth Library

Twitter API allows applications to access users' direct messages but if you want to download images or other media associated with those direct messages, there is no specific API call to do so.

Direct messages are private, so there is no public URL to access the direct messages' images without using OAuth or you are a real logged user accessing Twitter via a browser.

Read this article to learn how to download images that belong to direct messages using authenticated requests with this PHP OAuth client class.


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

2. Starting Long Server PHP Scripts and Monitor their Status Part 2: Solving the Problem with Classes

Updated on: 2015-09-29

Posted on:

Blog: Asynchronous Long Server Tasks package blog
Package: Asynchronous Long Server Tasks

In the first part of this article we have presented a solution to start tasks from PHP that take a long time to finish.

Read this article to learn how to implement the solution with the PHP class package named "Asynchronous Long Server Tasks".


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

1. Starting Long Server PHP Scripts and Monitor their Status Part 1: The Theory

Updated on: 2015-09-22

Posted on:

Blog: Asynchronous Long Server Tasks package blog
Package: Asynchronous Long Server Tasks

Typical HTTP requests take no more than a few seconds. By default PHP limits script execution to 30 seconds. However, sometimes you need to execute tasks that much longer.

Read this article to learn how to start long tasks without making the user wait and still give progress information of a long task running on the server side.


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

2. AJAX Shopping Cart with jQuery and PHP and MySQL Part 2: How to Remove and Add to Cart in PHP code with AJAX using a Simple PHP Checkout Script

Updated on: 2017-04-15

Posted on:

Blog: Shopping Cart package blog
Package: Shopping Cart

The first part of this tutorial article covered the importance of shopping carts in sites that sell products and how to make a simple shopping cart that can add products from a database via an AJAX based Web interface.

Read this part of the article to learn how to perform other important operations like removing products or empty the shopping cart and how to proceed to the checkout.


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

2. Improving Your PHP Code Performance Part 2: Tuning with Preemptive Caching

Updated on: 2015-09-15

Posted on:

Blog: PHP Preemptive Cache package blog
Package: PHP Preemptive Cache

One way to improve the performance of slow scripts is to use caching techniques to minimize the time to retrieve data that takes a long time to compute.

Read this article to learn how to apply the Preemptive Cache class in practice to optimize the performance of scripts that retrieve data from databases.


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

1. How to Create a Simple Online PHP Shopping Cart Script Tutorial Step by Step Part 1: Add to Cart in PHP Example with HTML, AJAX, jQuery and MySQL - Demo Script using a Basket stored in Session Variables with PHP Shopping Cart Source Code

Updated on: 2022-01-15

Posted on:

Blog: Shopping Cart package blog
Package: Shopping Cart

Many sites need to sell products online. There are many PHP e-commerce platforms but when you need something simple and easy, such platforms may be too much to adapt for your needs.

Read this article to learn how to implement a shopping cart that you can easily customize using PHP and a MySQL database to let your users view and pick the products they want to buy with fast user interface based on AJAX.


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

1. Improving Your PHP Code Performance Part 1: Profiling and Detecting Slow Code

Updated on: 2015-09-08

Posted on:

Blog: PHP Preemptive Cache package blog
Package: PHP Preemptive Cache

Sometimes we have to deal with PHP code that takes longer to run than it should. When that happens we tend to keep trying to figure the causes and take every opportunity to improve the code. Sometimes it is not enough to clean up or refactor the code.

Read this article to learn techniques to detect what PHP code is causing your application to run so slow.


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

2. Calculating Periodical Events in PHP Part 2: Solving a Real World Problem

Updated on: 2015-09-07

Posted on:

Blog: PHP Sweepstakes package blog
Package: PHP Sweepstakes

In the first part of this article it was covered the problem of computing the dates of periodical events and nuances that can make the solution more complicated.

Read this article to learn how to use the PHP Sweepstakes package to solve a real world example of the problem.


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

2. Sentiment Analysis in PHP Part 2: Applying the Solution in Practice

Updated on: 2015-09-01

Posted on:

Blog: PHP Sentiment Analyzer package blog
Package: PHP Sentiment Analyzer

In the first part of this article we learned about the theory of analyzing a text to determine the sentiments expressed by the user that wrote it.

Read this article to learn to how to implement a sentiment analysis application in practice based on the PHP Sentiment Analyzer class.


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


  513 - 504   ...   193 - 184   183 - 174   173 - 164   163 - 154   153 - 144   143 - 134   133 - 124   123 - 114   113 - 104   103 - 94   93 - 84   83 - 74   ...   3 - 1  
  PHP Classes blog PHP Classes blog   Blog All package blogs  
For more information send a message to info at phpclasses dot org.