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  
  232 - 223   ...   192 - 183   182 - 173   172 - 163   162 - 153   152 - 143   142 - 133   132 - 123   122 - 113   112 - 103   102 - 93   92 - 83   82 - 73   ...   2 - 1  

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

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

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

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

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

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 Source Code with HTML, AJAX, jQuery and MySQL - Demo Script using a Basket stored in Session Variables

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

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

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

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)

1. Calculating Periodical Events in PHP Part 1: The Problem Challenges

Blog: PHP Sweepstakes package blog
Package: PHP Sweepstakes

Sometimes it is necessary to calculate the days of periodical events, like for instance sweepstakes, contests, regular publications, etc..

In general, it is an easy problem to solve. However when the events span multiple days and must not occur in holidays, the problem becomes less trival to solve.

Read this article to learn how you can use the PHP Sweepstakes class to compute the days of regular event taking in account these nuances that may complicate the calculations.


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

  232 - 223   ...   192 - 183   182 - 173   172 - 163   162 - 153   152 - 143   142 - 133   132 - 123   122 - 113   112 - 103   102 - 93   92 - 83   82 - 73   ...   2 - 1  
  PHP Classes blog PHP Classes blog   Blog All package blogs  

For more information send a message to info at phpclasses dot org.