Drupal devel environment
Jump to navigation
Jump to search
Contents
firefox tips
- Drupal modules rss feed
- firefox -p -no-remote
- devel module - intercept all redirects-
- firefox tamper plugin
- ask if you want to redirect
- firefox tamper plugin
- iMacros
- record actions and hit play
- drupal for firebug
- firefox extension
- drupal module
- run php code in context of drupal session
- ? watchdog log
modules
- admin menus
- devel
- simpletest - unit testing
- write a test case that creates data for me
- select which test you want to run through web ui
- involves writing code
- login toboggan
- login form on every page you get an access denied
- login with email address
- Xdebug - php debugger
- integrated with IDE
- step through code
source code and configuration management
- Check in your entire source tree
- sometimes you have to hack code
- Organize your source code
- keep delel modules away from sites/localhost/dev
- separate code I work on from 3rd party code
- custom/modified/as is
- check in clean source for third-party modules - no tweaks
- do a diff, generate patch, do module upgrades, then reapply patch
- test all upgrades against a production copy.
- test updates
- copy production database
- for behavior changes - write update function that creates all changes are encoded in version control.
- for editorial changes
- manage your branches and merge changes
- tools to make it easy to merge branches.
- which patches haven't been merge yet
automation and regression testing
- different database configs password
- use build tools
- comment set of commands
- useful makefile targets
- make sql backup restore clearcache tags doc test doxygen
- reload database, load test
- mysqldump -u $DB_USER\ --password=${DB_PASSWORD} ${DB} ... either keep a local include, or use a parser that parses settings.php
- use build tools
- make tools to save work
- bash scripting/php/python scripting language
- Drush
- drush eval 'var dump (node_load(1)'
- automate drupal update
- simpletest- test code and webpages
- define your own test case
tips
- Vimperator
- conkeror
- search "geben" - xdebug for emacs
- unfuddle - commit include
- trace module
- drubuntu - muldisite
- coder
- netbeans IDE
- different aliases for drush
- check her website to see her makefile
- install profile
- aegir