# PRADO Component Framework for PHP 5

Version 2.0.3, November 18, 2005
Copyright© 2004-2005 by Qiang Xue (qiang.xue@gmail.com)
Website: http://www.xisc.com/

PRADO is an event-driven and component-based framework for Web application development in PHP 5.

Components following the PRADO protocol are highly configurable and reusable. Properties defining the basic features of a component can be configured in specifications, templates or code. New components can be developed by either inheriting an existing component class or composing several components together. The work of using a component amounts to placing the component tag on the page template, configuring component properties, and writing handler functions to respond to component events.

PRADO shares many similarities with ASP.NET and other RAD tools for Windows GUI development, such as Borland Delphi. In particular, it supports event-driven programming, viewstate maintenance, javascript, template, form validations, etc.

## Requirements

PRADO requires PHP 5 with SimpleXML extension. It is tested to run on Windows and Linux platform with Apache httpd, Microsoft IIS web servers.

## Installation

- Unpack the distribution file using "unzip" command on Linux or "winzip" program on Windows.
- Copy all the files and directories under the unpacked "prado" directory to the DocumentRoot of the Web server (or a subdirectory of that).
- Browse the URL, http://<Web-server-address>/requirements.php, to see if your Web server satisfies the requirement for using PRADO.
- Browse the URL, http://<Web-server-address>/index.html, to see this page.
- The directory "framework" contains the core code of PRADO.
- The directory "docs/manual" contains the PRADO API documentation in HTML format.

## Examples

- Hello, world!
- The Hangman game
- A Web-based phonebook
- PRADO blog
- Internalization (I18N) and localization (L10N) support
- A car rental process
- Usage of the TDataList component
- Usage of the TDataGrid component

## Documentation

- PRADO Wiki (including several tutorials)
- PRADO API manual

## Credits

- Xiang Wei Zhuo - author of I18N/L10N support, author of TWizard and TRequiredListValidator, created car rental demo, solved incompatibility issues of javascript in PRADO, author of TFormLabel, TValidatorGroup, the tutorial for using validators in PRADO.
- Marcus Nyeholt - author of TListControl, TFileUpload, TCheckListBox, THead, multi-TForm support.
- Jason Ragsdale - the PetShop demo, xisc.com maintenance
- Pim van der Zwet - the PRADO requirement checker, the new design for xisc.com
- Todd Patrick - in charge of documentation management
- Tim Evans - the auth framework
- John Teague - in charge of PRADO v2 Maintenance Team
- Rodolfo Gonzales - PRADO v2 Maintenance Team
- Carl Mathisen - PRADO v2 Maintenance Team
- Warren Konkel - PRADO v2 Maintenance Team
- Brian Spireman - PRADO v2 Maintenance Team
- John Navratil - PRADO v2 Maintenance Team
- All PRADO users - great suggestions and feedback.

## Terms and Condition

PRADO is released under the BSD License.

Copyright © 2004-2005, Qiang Xue (qiang.xue@gmail.com)
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of the developer nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.