Changes in PHPDevShell 3.5 "Dawn"

Registered by Greg on 2013-06-11

These are the miscellaneous changes which are not mentioned in Bugs or other Blueprints

Blueprint information

Status:
Started
Approver:
None
Priority:
Medium
Drafter:
Greg
Direction:
Approved
Assignee:
None
Definition:
New
Series goal:
Accepted for trunk-3.x
Implementation:
Good progress
Milestone target:
milestone icon 3.5
Started by
Greg on 2015-02-06

Related branches

Sprints

Whiteboard

- general cleanup of the source code files, including some new exception throwing
- we started adopting "interface" (iPHPDS_deferred, iPHPDS_dbConnector, iPHPDS_dbSpecifics)
- some API cleanup - some deprecated calls have been deleted:
    PHPDS_query class: $single_value, $return_id, $auto_protect, $single_row, $no_empty_row, rows(), as_array(), as_line(), as_one(), as_whole(), extra_build(), protect_array(), get_key(), get_results()
- a user-overridable run() has been added to PHPDS_query
- the Exception handler display has some minor improvements (such as listing the include files)
- the PU_sprintfn() function now handles arrays as arguments (convert into a flat, comma-separated list of the array's content)
- the database layer has been improved to separate the server-specifics from the connection link (ie. connecting to MySQL via PDO)
- added support for auto-initialized classes, like this:
$this->PHPDS_classFactory()->registerClass('#MY_class', 'MY_class', 'MY_plugin');
- added two methods PHPDS_template->addJsFileToBottom() and PHPDS_template->addJsToBottom() to support new best pratices of having JS code at the bottom of the page
- the dependancies are now cached which can lead to 30% speed increase

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.