Zend Framework in phpDesigner 7

Introduction

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

Zend Framework is an is an open source, object-oriented web application framework implemented in PHP 51). Zend Framework features include2):

  • All components are fully object-oriented PHP 5 and are E_STRICT compliant
  • Use-at-will architecture with loosely coupled components and minimal interdependencies
  • Extensible MVC implementation supporting layouts and PHP-based templates by default
  • Support for multiple database systems and vendors, including MySQL, Oracle, IBM DB2, Microsoft SQL Server, PostgreSQL, SQLite, and Informix Dynamic Server
  • Email composition and delivery, retrieval via mbox, Maildir, POP3 and IMAP4
  • Flexible caching sub-system with support for many types of backends, such as memory or a file system.

Requirements

Working with the Zend Framework in phpDesigner 7

Setup

First you need to download the Zend Framework 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 Zend Framework. 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 Zend Framework inside phpDesigner 7.

Navigation

You can easily navigate and browse all listed classes, functions and variables in Zend Framework 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 Zend Framework. 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 Zend Framework 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.