Monthly Archiv: July, 2009

Log4Pi

Package:
Log4Pi
Summary:
Log application activity to files
Groups:
Logging, PHP 5
Author:
Thomas Wehner
Description:
This class can be used to log application activity to files.

It can append to log files with a given name messages about activity of applications. It creates two distinct files for errors and other types of messages. The files have the same base name, which includes the current data, but have different file name extensions.

The log messages include the current date and time, the class name, line number and the activity message.


Image Uploader and Resizer

Package:
Image Uploader and Resizer
Summary:
Process and resize uploaded image files
Groups:
Files and Folders, Graphics, PHP 5
Author:
Feighen Oosterbroek
Description:
This class can be used to process and resize uploaded image files.

It can take an uploaded file and move it to given directory. If the directory does not exist, the class creates it and sets its permissions to make it accessible.

The class can also create a thumbnail files if the file is a GIF, JPEG or PNG image.


Persist Class

Package:
Persist Class
Summary:
Stores objects in relational databases
Groups:
Databases, Design Patterns, PHP 5
Author:
Zsolt Herpai
Description:
This package can be used to store and get objects from relational databases.

The package contains DBConnection class that provides access to relational databases, establishing connections, executing queries and retrieving results. The current version contains implementations for MySQL and Oracle (support for other DB systems can be added by following the attached implementation guide)

The package also contains PersistClass that uses the DBConnection to store objects in relational database tables.


Wapple Architect Mobilization

An example of the results of WAPL
Package:
Wapple Architect Mobilization
Summary:
Create pages adapted to all mobile devices
Groups:
PHP 5, Web services, Wireless and Mobile
Author:
Rich Gubby
Description:
This package can be used to create pages optimized to all mobile devices.

It can access to Wapple.net Web services API to pass the mobile device identification and retrieve information necessary to render pages adapted for the device, like the device screen size, choice of correct markup and the device capabilities.

A builder class can be used to generate the page definition in the WAPL XML format that is passed to the Web service, which renders the page adapted to the given mobile device.


mobiled

Nokia N95 8GB detection example
Package:
mobiled
Summary:
Detect mobile device types checking their browser
Groups:
PHP 5, Wireless and Mobile
Author:
Filip Oscadal
Description:
This class can be used to detect mobile device types by checking their browser identification.

It can check the user agent HTTP header sent by a mobile device browser and extract the identifier to determine the browser type.


phphilter

Package:
phphilter
Summary:
Grant access to remote users using iptables
Groups:
HTTP, PHP 5, Security, Unix
Author:
giuseppe lucarelli
Description:
This class can be used to grant access to remote users using iptables.

It can execute the iptables command on Linux to verify whether the current user IP address was authorized to access another server with a given IP and port number.

The class may grant access to the user IP address and make the necessary alter iptables configuration if the user provides a valid user name and password via HTTP authentication.


Debug_Logging

Package:
Debug_Logging
Summary:
Output debug information to the page or a log file
Groups:
Debug, Logging, PHP 5
Author:
Gerhard
Description:
This class can be used to output debug information to the page or a log file.

It can output several types of event activity and show the current date and time, the user session, the calling function and line, as well a custom message.

The debug output can be displayed in the current page, or outputted to a file .

The size of the log files may be limited. When a log file exceeds the limit, the class can rotate the logs by renaming the current log file and creating a new one.


Closure Table

Package:
Closure Table
Summary:
Manage transitive closure tables stored in MySQL
Groups:
Data types, Databases, PHP 5
Author:
Tom Schaefer
Description:
This package can be used to manage transitive closure tables (TCT) stored in a MySQL database.

It can create MySQL database tables that will store information about hierarchies of nodes stored in other database tables.

Different classes can organize nodes hierarchically by weight and depth. They can insert, delete, retrieve and sort nodes.


Powered by Gewgley