PRADO (framework)
![]() | |
Developer(s) | PRADO Group |
---|---|
Initial release | September 1, 2004 |
Stable release | |
Development status | Active |
Written in | PHP |
Operating system | Cross-platform |
Type | Web framework |
License | Modified BSD License[2] |
Website |
www |
PRADO is an open source, object-oriented, event-driven, component-based PHP web framework. PRADO's name is an acronym derived from "PHP Rapid Application Development Object-oriented".[3]
History
The PRADO project was started by Qiang Xue, and was inspired by Apache Tapestry.[3] The framework also borrowed ideas from Borland Delphi and Microsoft's ASP.NET framework. The first public release of PRADO came out in June 2004, but was written using the very limited and now outdated PHP 4 object model, which caused many problems. Qiang then re-wrote the framework for the new PHP 5 object model, and won the Zend PHP 5 coding contest with it.
PRADO is a rapid application development (RAD) framework, and in its infancy has been criticized to not be ready for high-performance, high-traffic scenarios. Implementations of template and configuration caching in later PRADO revisions eliminated most performance bottlenecks in its architecture, making it suited for the creation of medium- to high-traffic websites, while still providing a rapid way amongst PHP frameworks for the development of interactive web pages and applications.
In the late 2008, Qiang unveiled the Yii framework, a conceptual redesign of PRADO, targeted to high-performance, high-traffic scenarios. The following maintenance and updates to the PRADO project have been handled by community members of the project gathering on the project's Google Code page.[4] Since 2013, the project has moved to GitHub.[5]
Features
PRADO features include the following:
- A clean and extensible, dynamic, XML-conformant, tag-based templating system, similar to ASP.NET's, but designed for PHP's dynamic approach[6][7]
- Clear separation of presentation and content, input handling and business logic, based on the Model-View-Controller approach[8][9]
- Database Access Objects (DAO), XML-based SQLMap data mapper, parameterized query builder, Active Record and automatic scaffolding[10][11][12][13]
- Interactive client-side presentation layer based on the Prototype JavaScript Framework and script.aculo.us effects library. It can however also use external controls based on jQuery and other JavaScript frameworks[14]
- Form input and validation, supporting validation both on client- (for faster user feedback) and server-side (aiming to ensure data integrity and data security[15]
- Ajax-enabled active widgets (such as auto-complete input field, active button, active data grid) which can be updated, shown or paged dynamically, without having to reload and re-build the whole page[16]
- Built-in URL mapping support for search-engine-optimized and semantic URLs, which works without needing URL rewriting support from the web server[17]
- Over 100 standard controls/widgets, including drag and drop, validation and data-bound controls[18][19][20]
- Customizable data grid, with support of automatic generation of columns based on automatically discovered database schema[21]
- Built-in authentication and authorization support[22]
- Skinning and theming[23]
- Internationalization and localization (I18N and L10N) support, including message translation, date and time formatting, number formatting, and interface localization[24]
- Full support of Unicode and non-English custom code pages, including automatic transcoding between client- and server-side character sets[24]
- Layered caching scheme, supporting separate caching of data queries and output fragments, via database, shared memory, memcached) for storing cached data, and dynamic cache entry validation upon retrieval[25]
- Support for progressive rendering of pages, automatic script minification and on-demand lazy loading of client-side script and stylesheet files for faster loading of pages[26][27]
- Error handling and logging, with errors handled and presented, and log messages optionally categorized, filtered and routed to different destinations[28][29]
- Built-in security measures, which include cross-site scripting (XSS) prevention, HTTP cookie tampering prevention and SQL injection prevention[30]
- Unit testing and functional testing based on PHPUnit, SimpleTest and Selenium[31][32]
- Automatic skeleton application generation from the PRADO command-line tool[33]
- Supports both XML-based and native PHP-coded configuration of application and run-time environments[34]
- Code generated by PRADO components adheres to the XHTML standard[8]
- Supports for creation and consummation of SOAP- or JSON-based web services[35][36]
- Interoperability with third-party code, including PEAR and Zend Framework[37][38]
Documentation
PRADO comes with a collection of official documentation, including a tutorial to develop a simple blog application, a reference guide describing all features, and a class reference for all properties, methods and events. The documentation is available in both HTML and Compiled HTML Help (.CHM) form.
Licensing
PRADO is released under a Modified BSD License, which enables free use of PRADO for developing both open-source and proprietary web applications, without requiring distribution of the source code of derived works.
See also
References
- ↑ "pradosoft/prado: Release 3.3.2". github.com. 2015-08-23. Retrieved 2016-09-03.
- ↑ http://www.pradoframework.net/license/
- 1 2 "About PRADO". Retrieved 11 March 2012.
- ↑ "prado3 - PRADO PHP Framework - Google Project Hosting". google.com.
- ↑ "pradosoft/prado". GitHub.
- ↑ "PRADO Documentation: Templates, Part I". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Master and Content". pradoframework.net. Retrieved 2013-09-22.
- 1 2 "PRADO Documentation: What is PRADO?". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Architecture". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Data Access Objects (DAO)". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Data Mapper". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Active Record". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Active Record Scaffold Views". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Javascript in PRADO, Questions and Answers". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Validation Controls". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Active Controls (AJAX enabled Controls)". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: URL Mapping (Friendly URLs)". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Standard Controls". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: List Controls". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Data Controls". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: TDataGrid". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Authentication and Authorization". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Themes and Skins". pradoframework.net. Retrieved 2013-09-22.
- 1 2 "PRADO Documentation: Internationalization (I18N) and Localization (L10N)". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Performance Tuning". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: New Features". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: TClientScript". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Error Handling and Reporting". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Logging". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Security". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO GitHub: prado/tests at master - pradosoft/prado". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO GitHub: prado/tests/test_tools at master - pradosoft/prado". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Command Line Tool". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: Application Configurations". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: SOAP Service". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Documentation: RPC Service". pradoframework.net. Retrieved 2013-09-22.
- ↑ "PRADO Wiki: How can I use PEAR libraries with PRADO?". pradosoft.com. Retrieved 2013-09-22.
- ↑ "PRADO Forum: HOWTO - PRADO and Zend Framework". pradosoft.com. Retrieved 2013-09-22.