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  
  168 - 159   158 - 149   148 - 139   138 - 129   128 - 119   118 - 109   108 - 99   98 - 89   88 - 79   78 - 69   68 - 59   58 - 49   ...   8 - 1  

2. Improving Your PHP Project Structure With Dependency Injection Part 2: Implementing It in Practice

Posted on: 2015-11-09
Blog: PHP Dependency Injection Container package blog
Package: PHP Dependency Injection Container

In the previous article, we talked about Dependency Injection, the Single Responsibility Principle, and the various ways it can be implemented.

Read this article all the various ways Dependency Injection can be used to improve your project structure, how Dependency Injection containers work, and how to build a Dependency Injection Container from scratch looking at a real Dependendency Injection Container package that autoload dependency classes only when they are needed.


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

1. Improving the Security of Your User Passwords in PHP with Ultra Paranoid Computing

Posted on: 2015-11-04
Blog: PHP Paranoid Passcode package blog
Package: PHP Paranoid Passcode

Usernames are distributed, passwords are weak and can be broken, personal information can be stolen and bio-metrics can be faked. What devices can you trust to keep you secure? Ultra-Paranoid Computing says none.

Read this article to learn what is Ultra-Paranoid Computing and how can you implement it in PHP to make your users use more secure password entry method.


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

1. Improving Your PHP Project Structure with Dependency Injection Part 1: How it Works?

Posted on: 2015-11-03
Blog: PHP Dependency Injection Container package blog
Package: PHP Dependency Injection Container

Dependency injection is a design pattern that is implemented in many of the modern PHP frameworks because it helps organizing better the code of multiple components that depend on the same service of information or behavior.

Read this article to learn what is dependency injection and inversion of control and how it can be implemented in PHP to benefit your projects' structure.


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

2. Tracking PHP API Accesses using Google Analytics Part 2: Recording API Accesses

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

In the first part of this article it was presented a solution to retrieve statistics data from Google Analytics API using PHP but this API also allows recording events.

This can be useful to record accesses to a PHP API that you are providing in your site.

Read this article to learn how to use Google Analytics PHP to track the accesses to a PHP API of your own.


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

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)


  168 - 159   158 - 149   148 - 139   138 - 129   128 - 119   118 - 109   108 - 99   98 - 89   88 - 79   78 - 69   68 - 59   58 - 49   ...   8 - 1  
  PHP Classes blog PHP Classes blog   Blog All package blogs