PRADO in phpDesigner 7


phpDesigner 7 is a PHP EDITOR and PHP IDE that gives you the possibility to work with the PRADO. You can access its classes, functions and variables inside phpDesigner 7.

The PRADO framework is an open source programming framework for creating professional web applications. PRADO means PHP Rapid Application Development Object-oriented. It is component-based and allows event-driven programming. PRADO, which has a configurable and pluggable modular architecture, supports Ajax components and offers customizable and localizable error handling, generic caching modules and selective output caching.

The PRADO framework's main goal is to ensure reusability in web programming, which involves not only reusing one's own code, but also others’, and which may considerably decrease the development time. The introduction of the notion of the component is for this purpose.

Being a component-based framework, PRADO offers a protocol for writing components to build web applications. A component is a self-contained software unit that can be reused after a small customization. New components can be created by combining existing ones 1)2).

PRADO features include3):

  • Reusability - Helps developers as they can reuse their previous work and easily integrate others'.
  • Event-driven programming - End-user activities, such as mouse clicking or key pressing, are captured as server events.
  • Web controls - Using PRADO, which offers a set of components for web user interfaces, you can create interactive web pages with a few lines of code. By using the datagrid component you can build a page in the form of a data table allowing paging, sorting, editing, and deleting of the rows.
  • Database support - PRADO offers complete database support. Depending on the complexity of the business objects, you can pick the simple PDO-based data access, the popular active record, or the complete business object mapping scheme SqlMap.
  • Ajax support - Using Ajax in PRADO is easy. You can write an Ajax-enabled application without writing Javascript code. Actually, using the active controls, which were introduced in version 3.1, does not differ very much from using the regular non-Ajax enabled web controls.
  • XHTML compliance - PRADO-generated web pages are XHTML-compliant
  • Accommodation of existing work - PRADO, which is a framework focused on the presentational layer, does not ban developers from using existing class libraries or toolkits. You can use ADOdb or Creole in your PRADO application, for example.
  • Customizable and localizable error/exception handling and message logging
  • Generic and selective output caching
  • Extensible authentication and authorization
  • Security measures such as cross-site script (XSS) prevention, cookie protection, etc.


Working with the PRADO in phpDesigner 7


First you need to download the PRADO and extract it to your project's root folder.

Create a new project in phpDesigner 7 from the menu Project > Project Manager. Under 'Libraries', add the path to PRADO. Now load the new project from either the 'Project Manager' > 'Load Project' or the menu Project. You can now work with all the classes, functions and variables listed in PRADO inside phpDesigner 7.


You can easily navigate and browse all listed classes, functions and variables in PRADO from the menu Go to. Select Project Declaration > All. You can filter all the listed classes, functions and variables in your project including your framework in the text-field 'Search'.

Code Completion

The Code completion for PHP will be displayed on the fly as you continue to write your code and is able to detect the context and display PHP items based on the context. You need to be inside a PHP block in order to access all classes, functions and variables listed in your PRADO. The Code Completion will be automate triggered once typing. For manual triggering simply press 'CTRL+SPACE'.

You can configure the behavior of the Code Completion from the menu Tools > Preferences > Editor > Code Completion.

Code Tip

The contextual Code Tip for PHP helps you complete predefined and user-defined functions easily by automatically showing the expected parameters for the current function. You need to be inside a PHP block in order to work with all listed classes, functions and variables in your PRADO using the Code Tip. It is automatic triggered on the fly as you continue to write your code or manually invoked by pressing CTRL.

You can configure the behavior of the Code Tip from the menu Tools > Preferences > Editor > Code Tip.