Dev Tools is a collection of PHP classes and functions which help with and simplify Drupal module development. While most components don't have (or need) front-end interfaces, some do provide configuration forms & GUI tools. See readme.txt for use instructions.

Release Status

There are currently no plans to ever release a 'stable' (in Drupal terms) version of the module, but rather always keep the code in the dev releases. As mentioned, Dev Tools is not meant to be used by anyone other than developers, and having release versions for a module that has no specific feature requirements doesn't make much sense, either.

Components

The module's pieces of functionality are broken down into 'components,' which can be loaded individually, or all at once. Currently available components are listed below.

  • debug: debugging helper; defines print_rr() & dsmm() for formatting debug
    output
  • js_suppress_alert: overrides standard JavaScript alert() behavior to send the text to console.log(), instead
  • display_suite: simplified programmatic creation of display suite fields (work in progress)
  • views: defines build_views_block() for building a Views block
  • block: defines block_render() for getting block content
  • cdn: adds improved file touching interface; allows for invalidation of files on CloudFront;

Other functionality

  • $entity->entity_type and $entity->entity_id are populated on entity load for all entities

Planned feature/component development

I will be adding functionality which I have developed and find useful enough to be re-used from project to project; this will include tools for contributed modules such as Display Suite and Relation, as well as miscellaneous classes.

If you have 'miscellaneous' helper code which you think would be useful to other developers, please file an issue and attach the code; I'd be happy to review and add it to Dev Tools.

Relation to Devel module?

Despide similar names, the two modules share little to nothing in common. Devel is primarily meant as a tool used during development (and turned off in production environments). Dev Tools is meant to make development simpler, and is intended to be used in production.

Downloads

Version Downloads Date Links
7.x-1.x-dev tar.gz (25.92 KB) | zip (44.42 KB) 2013-Mar-12 Notes

Project Information


Maintainers for Dev Tools

  • yuriy.babenko - 89 commits
    last: 10 weeks ago, first: 38 weeks ago

Issues for Dev Tools

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants
nobody click here