Tag Archiv: classes

Tic-Tac-Toe

Package:
Tic-Tac-Toe
Summary:
Tic-Tac-Toe game using alpha beta search algorithm
Groups:
Algorithms, Artificial intelligence, Games, PHP 5
Author:
Amin Saeedi
Description:
This package implements an interactive Tic-Tac-Toe game

It can present a Tic-Tac-Toe board that is updated using AJAX requests upon each user move.

The package implements the alpha beta search algorithm (Minimax search optimized by performing alpha beta pruning) for determining the next move, which are common algorithms for zero-sum two player games (e.g. Tic Tac Toe and Chess).


Easy Twitter Authenticaion Class – OAuth & Session

Package:
Easy Twitter Authenticaion Class - OAuth & Session
Summary:
Authenticate Twitter users using oAuth
Groups:
PHP 5, Social Networking, User Management, Web services
Author:
Shafiul Azam
Description:
This package can be used to authenticate Twitter users using oAuth.

It can sent HTTP requests to Twitter API in order to perform authentication of Twitter user using o Auth.

This package code is based on Jaisen Mathai oAuth classes.


Zip Stream

Package:
Zip Stream
Summary:
Create ZIP archives for large files
Groups:
Compression, Files and Folders, PHP 5
Author:
Asbjorn Grandt
Description:
This class can be used to create ZIP archives for large files.

It is based on the Create Zip File class originally written by Rochak Chauhan.the and Zip class of the same author of this class.

This is a simplified version of the Zip class as it does not support setting the temporary zip file to which the compressed data is saved.


Music theory

Package:
Music theory
Summary:
Generate music scales and chords
Groups:
Audio, PHP 5
Author:
Arturs Sosins
Description:
This class can be used to generate music scales and chords.

It applies the music theory to generate scales and chords by names based on interval patterns between notes.

The class can generate scale notes by provided scale name and type,
generate chord notes by provided chord name and type, transpose scales, transpose chords, generate all chords that include provided notes, generate all scales that include provided notes, generate all scales that suits provided chords and generate all chords for provided scale.


PHP PDO Wrapper Class

Package:
PHP PDO Wrapper Class
Summary:
Execute SQL queries from parameter lists using PDO
Groups:
Databases, PHP 5
Author:
Andrew P.
Description:
This class can be used to execute SQL queries from parameter lists using PDO.

It extends the PDO base class and adds new functions that can execute SQL SELECT, INSERT, UPDATE and DELETE queries from lists of parameters that define tables, fields, field values and condition clauses.


Export PDF

Package:
Export PDF
Summary:
Generate a PDF file with a listing of data records
Groups:
Files and Folders, PHP 5, Printing
Author:
karikalan
Description:
This class can be used to Generate a PDF file with a listing of data records.

It can take array of record data and generates PDF document with a listing of the data using the Haru extension.

The listing title, labels and fonts are configurable parameters.

The generated document is served for download.


Chain Query Builder

Package:
Chain Query Builder
Summary:
Compose MySQL queries chaining functions
Groups:
Databases, PHP 5
Author:
Arthur Borisow
Description:
This class can be used to compose MySQL queries chaining functions that define query parameters.

It can create and compose the SQL statement of a query by performing chained calls to different functions of the class that take parameters to define different values of the queries.

The class provides functions for defining the type of query (SELECT, INSERT, UPDATE and DELETE), involved fields and field values, condition clauses, result grouping and ordering, and the result set row range.


UseSQL

Package:
UseSQL
Summary:
MySQL database access wrapper
Groups:
Databases, PHP 5
Author:
Tanel Tammik
Description:
This class implements a MySQL database access wrapper. It can:

- Establish MySQL server connections
- Execute direct or prepared queries and retrieve results into arrays
- Execute INSERT or CREATE TABLE queries from lists of parameters that define the table, fields and field values
- Retrieve the last database access error or the last inserted record identifier

The class functions return the current object to support function call chaining.


Powered by Gewgley