Log4Pi

Package:
Summary:
Log application activity to files
Groups:
Author:
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:
Summary:
Process and resize uploaded image files
Groups:
Author:
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:
Summary:
Stores objects in relational databases
Groups:
Author:
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:
Summary:
Create pages adapted to all mobile devices
Groups:
Author:
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:
Summary:
Detect mobile device types checking their browser
Groups:
Author:
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:
Summary:
Grant access to remote users using iptables
Groups:
Author:
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:
Summary:
Output debug information to the page or a log file
Groups:
Author:
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:
Summary:
Manage transitive closure tables stored in MySQL
Groups:
Author:
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