PHP Classes

PHP 4 Applications: Create event driven Web GUI using remote scripting

Recommend this page to a friend!
  Info   View files View files (22)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 65%Total: 3,763 All time: 872 This week: 370Up
Version License PHP version Categories
p4a 1.0Free for non-comm...3HTML


This is a class set for implementing a GUI with forms, listviews, etc, using event driven programming helped by the "Remote Scripting" method.

The goals are to:

1) Do all the work in PHP without having to take care of generating HTML, capturing events on the server side, processing this events using PHP , and returning the response to the client side without reloading the page.

2) Have a set of classes to create many types of GUI elements, setting the event handling by assigning names to each event of interest, and processing the events doing something like to modify the state of the object in the server side and returning the response in an hidden iframe to redraw the GUI element on the client side.

3) Open a door for a future tool, lik "Visual-PHP", that simplifies the construction and generation of Web based GUI without dealing with too many technical details.

The main class is p4a_Application, a container of buttons, forms, labels or panels, that is also a contanier itself and can be made visible or not like a frame in Visual Basic.

Innovation Award
PHP Programming Innovation award winner
August 2004

Prize: One copy of the Zend Studio
The Web is an environment that can provide an interesting means for providing access to applications running in remote servers.

However, the network delays in accessing pages updated by the servers can be uncomfortable and frustrating for users that are used to a greater interactivity level provided usually by desktop computer applications.

This class provides a solution for generating Web based forms that can be partially updated without submitting the form to the server and waiting for it to refresh the whole page.

This solution provides a more responsive Web based user interface increasing the comfort and satisfaction of Web application users when compared to traditional full page updating Web forms interfaces.

Manuel Lemos
Picture of Francisco Arias
Name: Francisco Arias <contact>
Classes: 2 packages by
Country: San Marino San Marino
Age: 53
All time rank: 4522 in San Marino San Marino
Week rank: 344 Up1 in San Marino San Marino Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file bluetheme.css Data CSS classes for the "bluetheme"
Accessible without login Plain text file index.php Example Start script of the example
Accessible without login Plain text file Introducction_p4a Doc. Introduction to the php for applications framework.The hierarchy
Accessible without login Plain text file Introduction_to_p4a_2 Doc. Introduction II. Overview of some classes
Accessible without login Plain text file Introduction_to_p4a_3 Doc. Introduction III.The framework basics
Accessible without login Plain text file Introduction_to_p4a_4 Doc. Introducction IV. INSTALATION AND LIMITATIONS
Plain text file myapp.php Class Extension of p4a_Application for the example
Plain text file myapp_classes.php Class Wrapper classes for the example
Plain text file p4a.php Class p4a_Application class
Accessible without login Plain text file p4aex_db.sql Data SQL Script fo the example
Accessible without login Plain text file p4a_all_controls.php Aux. File to include all controls
Plain text file p4a_barmenu.php Class p4a_BarMenu class
Plain text file p4a_constants.php Class All the constants of the framework
Plain text file p4a_control.php Class p4a_Control class
Plain text file p4a_datasource.php Class p4a_DataSource class
Accessible without login Plain text file p4a_events.php Example Script that capture the events for the example
Plain text file p4a_form.php Class p4a_Form class
Plain text file p4a_label.php Class p4a_Label class
Plain text file p4a_listview.php Class p4a_ListView class
Plain text file p4a_panel.php Class p4a_Panel class
Plain text file p4a_plainbutton.php Class p4a_PlainButton class
Plain text file p4a_SimpleForm.php Class SimpleForm class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:872
This week:370Up
 User Ratings  
 All time