PHP Classes

Packages of Daniel Martinez

Recommend this page to a friend!
  All class groups  >  All authors  >  Packages of Daniel Martinez (3)  >  Mission progress status  >  Reputation  
Picture of Daniel Martinez
Name: Daniel Martinez <contact>
Classes: 3
Country: Spain Spain
Age: 40
All time rank: 159935 in Spain Spain
Week rank: 195 Up5 in Spain Spain Up
All time users: 1835
Week users: 0
Innovation award
Innovation award
Nominee: 2x
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Easy Pagination Array  
Compute values to split listings in pages
This class can compute values to split listings in pages.

It takes as input the total number of entries, the limit number of entries per page, and the number of the current page.

The class performs calculations and returns the number of the first and last entries to list in the current page.

  Files folder image Forker PHP  
PHP Programming Innovation award nominee
May 2014
Number 4


Prize: PhpStorm IDE personal permanent license
Split tasks into multiple forked processes
This package can split tasks into multiple forked processes.

The main class takes an array of data to be processed as the whole task and creates child processes giving one element of the tasks array to be processed by each child process by calling given a given function that will process the respective task data.

It uses a separate storage object to store and retrieve task data to be shared between processes.

Currently it provides different storage classes that can store task data in memory as arrays, in files, or in a MemCached server.

  Files folder image PHP KairosDB Client  
PHP Programming Innovation award nominee
June 2015
Number 8
Connect and execute queries on KairosDB
This package can connect and execute queries on KairosDB.

There is a client class that can send HTTP requests to a KairosDB server running on a given host and port.

A separate query builder class can be used to compose queries using parameters that define metrics, group by and limit clauses, tags, time limits and caching.


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z