PHP Classes
elePHPant
Icontem

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  
  174 - 165   164 - 155   154 - 145   144 - 135   134 - 125   124 - 115   114 - 105   104 - 95   94 - 85   84 - 75   74 - 65   64 - 55   ...   4 - 1  

1. Tracking PHP API Accesses using Google Analytics Part 1: Retrieving Access Statistics

Posted on: 2015-10-20
Blog: PHP Google Analytics API Metrics Tracker package blog
Package: PHP Google Analytics API Metrics Tracker

Google Analytics is a popular tool used by many sites to keep track of the statistics of the visitors of the sites.

However, it also provides an API that lets you do more than that, like for instance keeping track of the accesses to the APIs of your own sites, as well building custom user user interfaces to view the access statistics in the way that is most convenient for the site managers.

Read this part of the article to learn how to use the Google Analytics API to retrieve and display your site statistics that you need to generate custom reports.


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

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

Posted on: 2015-10-05
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

Posted on: 2015-09-30
Blog: PHP OAuth Library API package blog
Package: PHP OAuth Library API

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 (1)   Trackbacks (0)

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

Posted on: 2015-09-28
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

Posted on: 2015-09-22
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. Creating an AJAX based PHP Shopping Cart Part 2: Removing Items and Checkout

Posted on: 2015-09-21
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 (6)   Trackbacks (0)

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

Posted on: 2015-09-15
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. Creating an AJAX based PHP Shopping Cart Part 1: Building the Cart

Posted on: 2015-09-09
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 (12)   Trackbacks (0)

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

Posted on: 2015-09-08
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

Posted on: 2015-09-07
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)


  174 - 165   164 - 155   154 - 145   144 - 135   134 - 125   124 - 115   114 - 105   104 - 95   94 - 85   84 - 75   74 - 65   64 - 55   ...   4 - 1  
  PHP Classes blog PHP Classes blog   Blog All package blogs