Strict Standards: Declaration of Doku_Renderer_metadata::table_open() should be compatible with Doku_Renderer::table_open($maxcols = NULL, $numrows = NULL, $pos = NULL) in /customers/b/e/2/mpsoftware.dk/httpd.www/wiki/inc/parser/metadata.php on line 24 Strict Standards: Declaration of Doku_Renderer_metadata::table_close() should be compatible with Doku_Renderer::table_close($pos = NULL) in /customers/b/e/2/mpsoftware.dk/httpd.www/wiki/inc/parser/metadata.php on line 24 Strict Standards: Declaration of syntax_plugin_qna_toc::handle() should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, &$handler) in /customers/b/e/2/mpsoftware.dk/httpd.www/wiki/lib/plugins/qna/syntax/toc.php on line 217 Strict Standards: Declaration of syntax_plugin_qna_toc::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, &$renderer, $data) in /customers/b/e/2/mpsoftware.dk/httpd.www/wiki/lib/plugins/qna/syntax/toc.php on line 217 Strict Standards: Declaration of syntax_plugin_qna_block::handle() should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, &$handler) in /customers/b/e/2/mpsoftware.dk/httpd.www/wiki/lib/plugins/qna/syntax/block.php on line 151 Strict Standards: Declaration of syntax_plugin_qna_block::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, &$renderer, $data) in /customers/b/e/2/mpsoftware.dk/httpd.www/wiki/lib/plugins/qna/syntax/block.php on line 151

CakePHP in phpDesigner 7

Introduction

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

CakePHP is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications. Using commonly known design patterns like MVC and ORM within the convention over configuration paradigm, CakePHP reduces development costs and helps developers write less code.

CakePHP features include1):

  • No Configuration - Set-up the database and let the magic begin
  • Extremely Simple - Just look at the nameā€¦It's Cake
  • Active, Friendly Community - Join us #cakephp on IRC. We'd love to help you get started
  • Flexible License - Distributed under the MIT License
  • Clean IP - Every line of code was written by the CakePHP development team
  • Best Practices - covering security, authentication, and session handling, among the many other features
  • OO - Whether you are a seasoned object-oriented programmer or a beginner, you'll feel comfortable

Requirements

Working with the CakePHP in phpDesigner 7

Setup

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

Navigation

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