Coder Social home page Coder Social logo

yorkshire-pudding / devel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from backdrop-contrib/devel

0.0 0.0 0.0 1.22 MB

Provides helper functions for Backdrop developers.

Home Page: https://backdropcms.org/project/devel

License: GNU General Public License v2.0

JavaScript 1.51% PHP 90.34% CSS 8.15%

devel's Introduction

Developer Tools (devel)

This module contains helper functions for Backdrop developers. It provides a wide array of tools for examining the functionality of your site, including:

  • Displaying a list of all SQL queries executed per page.
  • Integrating with XHProf to show what PHP was executed and identify slow calls.
  • Executing arbitrary PHP.
  • Switch between different users.
  • Report memory usage at the bottom of each page.
  • A mail-system class which redirects outbound email to files.
  • Utility functions for dumping variables to the page or messages area.

Although the abilities of this module are restricted to a permission ('access development information'), it's a good idea not to have this module enabled on production servers due to its exceedingly dangerous functionality.

The most common functions for dumping variables include:

  • dpr(): Prints a variable using print_r() to the messages area.
  • dpm(): Prints a variable using the krumo library to the messages area.
  • dvm(): Prints a variable using var_export() to the messages area.

All of these functions will only show the messages to users that have the 'access development information' permission.

Included in this package is also:

  • devel_node_access module which prints out the node_access records for a given node. Also offers hook_node_access_explain for all node access modules to implement. Handy.
  • devel_generate.module which bulk creates nodes, users, comment, terms for development.

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.

Maintainers

Originally written for Drupal by

This module is seeking additional maintainers.

devel's People

Contributors

massgov-outsider avatar klonos avatar kbahey avatar quicksketch avatar weitzman avatar dww avatar davereid avatar alanmels avatar jenlampton avatar drumm avatar dbuytaert avatar goba avatar douggreen avatar yorkshire-pudding avatar juampynr avatar tdobes avatar dncohen avatar vasasa avatar thehunmonkgroup avatar letharion avatar fgm avatar gheydon avatar eaton avatar jlfranklin avatar clouseau avatar laryn avatar morbus avatar nickonom avatar findlabnet avatar docwilmot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.