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

jQuery in phpDesigner 7

phpDesigner 7 comes with a built-in JavaScript Editor. Access and work with your JavaScript classes and functions through the code completion and code tip on the fly and easily navigate through your JavaScript with the declaration manager. phpDesigner 7 comes with support for working with all the popular JavaScript frameworks like jQuery, Ext JS, YUI, Dojo, MooTools and Prototype!

jQuery

“jQuery is a lightweight cross-browser JavaScript library designed to simplify the client-side scripting of HTML. jQuery's syntax is designed to make it easier to navigate a document, select DOM elements, create animations, handle events, and develop Ajax applications. jQuery also provides capabilities for developers to create plugins on top of the JavaScript library. Utilising these facilities, developers are able to create abstractions for low-level interaction and animation, advanced effects and high-level, theme-able widgets. This contributes to the creation of powerful and dynamic web pages”1).

Requirements

By default jQuery is automatic enabled in phpDesigner 7. However, in order to run a script using the classes or functions from jQuery you must either download and place it together with your files or link to it, this is done from the menu JavaScript > Frameworks > jQuery.

If like to disable the support for jQuery in phpDesigner 7. Go to the folder where you installed phpDesigner 7, and edit the file xmlJavaScript-jQuery.xml. Change the value, and and restart phpDesigner 7:

<module name="jQuery 1.3.1" disabled="False">

to

<module name="jQuery 1.3.1" disabled="True">

Working with jQuery in phpDesigner 7

Navigation

You can easily navigate and browse all listed classes and functions in jQuery from the menu Go to. Select Project Declaration > All. You can filter all the listed classes and functions by type and name.

Code Completion

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

Disable the Code completion from the menu Tools > Preferences > Editor > Code completion > Disable.

Code Tip

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