mlsamuelson.com

  • strict warning: Non-static method view::load() should not be called statically in /home/mlsamuel/public_html/sites/all/modules/views/views.module on line 716.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /home/mlsamuel/public_html/sites/all/modules/views/includes/filter.handlers.inc on line 570.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /home/mlsamuel/public_html/sites/all/modules/views/includes/filter.handlers.inc on line 570.
  • strict warning: Declaration of views_handler_filter_many_to_one::init() should be compatible with views_handler_filter::init(&$view, $options) in /home/mlsamuel/public_html/sites/all/modules/views/includes/filter.handlers.inc on line 1562.
  • strict warning: Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) in /home/mlsamuel/public_html/sites/all/modules/views/includes/argument.handlers.inc on line 694.
  • strict warning: Declaration of views_plugin_display::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home/mlsamuel/public_html/sites/all/modules/views/includes/plugins.inc on line 1861.
  • strict warning: Declaration of views_plugin_display::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /home/mlsamuel/public_html/sites/all/modules/views/includes/plugins.inc on line 1861.
  • strict warning: Declaration of views_plugin_style_default::options() should be compatible with views_object::options() in /home/mlsamuel/public_html/sites/all/modules/views/includes/plugins.inc on line 3100.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home/mlsamuel/public_html/sites/all/modules/views/includes/plugins.inc on line 3673.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /home/mlsamuel/public_html/sites/all/modules/views/includes/plugins.inc on line 3673.
  • strict warning: Declaration of views_handler_field_comment::init() should be compatible with views_handler_field::init(&$view, $options) in /home/mlsamuel/public_html/sites/all/modules/views/modules/comment.views.inc on line 480.
  • strict warning: Declaration of views_handler_field_username_comment::init() should be compatible with views_handler_field::init(&$view, $options) in /home/mlsamuel/public_html/sites/all/modules/views/modules/comment.views.inc on line 527.
  • strict warning: Declaration of views_handler_field_node_new_comments::pre_render() should be compatible with views_handler_field::pre_render($values) in /home/mlsamuel/public_html/sites/all/modules/views/modules/comment.views.inc on line 803.
  • strict warning: Declaration of views_handler_filter_node_status::operator_form() should be compatible with views_handler_filter::operator_form(&$form, &$form_state) in /home/mlsamuel/public_html/sites/all/modules/views/modules/node.views.inc on line 1112.
  • strict warning: Declaration of views_handler_filter_search::exposed_validate() should be compatible with views_handler::exposed_validate(&$form, &$form_state) in /home/mlsamuel/public_html/sites/all/modules/views/modules/search.views.inc on line 230.
  • strict warning: Declaration of views_handler_field_file::init() should be compatible with views_handler_field::init(&$view, $options) in /home/mlsamuel/public_html/sites/all/modules/views/modules/system.views.inc on line 225.
  • strict warning: Declaration of views_handler_filter_term_node_tid::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/mlsamuel/public_html/sites/all/modules/views/modules/taxonomy.views.inc on line 933.
  • strict warning: Declaration of views_handler_field_upload_description::init() should be compatible with views_handler_field::init(&$view, $options) in /home/mlsamuel/public_html/sites/all/modules/views/modules/upload.views.inc on line 269.
  • strict warning: Declaration of views_handler_field_user::init() should be compatible with views_handler_field::init(&$view, $options) in /home/mlsamuel/public_html/sites/all/modules/views/modules/user.views.inc on line 414.
  • strict warning: Declaration of views_handler_filter_user_name::value_submit() should be compatible with views_handler_filter_in_operator::value_submit($form, &$form_state) in /home/mlsamuel/public_html/sites/all/modules/views/modules/user.views.inc on line 746.
  • strict warning: Declaration of views_handler_filter_user_name::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/mlsamuel/public_html/sites/all/modules/views/modules/user.views.inc on line 746.
  • strict warning: Declaration of views_handler_field_content::options() should be compatible with views_object::options() in /home/mlsamuel/public_html/sites/all/modules/cck/includes/content.views.inc on line 378.
  • strict warning: Non-static method view::load() should not be called statically in /home/mlsamuel/public_html/sites/all/modules/views/views.module on line 716.
  • strict warning: Non-static method view::load_views() should not be called statically in /home/mlsamuel/public_html/sites/all/modules/views/views.module on line 674.
  • strict warning: Non-static method view::db_objects() should not be called statically in /home/mlsamuel/public_html/sites/all/modules/views/includes/view.inc on line 1159.
  • strict warning: Non-static method view::load() should not be called statically in /home/mlsamuel/public_html/sites/all/modules/views/views.module on line 716.
  • strict warning: Non-static method view::load() should not be called statically in /home/mlsamuel/public_html/sites/all/modules/views/views.module on line 716.
  • strict warning: Non-static method view::load() should not be called statically in /home/mlsamuel/public_html/sites/all/modules/views/views.module on line 716.

Install Webgrind to profile Drupal and other PHP applications on OS X

Screenshot of Webgrind

A coworker recently clued me in on Webgrind, a platform independent, browser-based PHP profiling application. I was impressed with it, and thought I'd contribute to the installation and usage instructions that are floating around the web with my specific setup.

Assumes you're using MAMP on OS X, but you can probably adapt.


Top Drupal modules for most installations

I presented a session on "Essential Drupal Modules" at today's Boise Code Camp. The talk highlighted the modules most every Drupal installation should have, as well as a number of gap-fitting modules that fill a few UI and functionality deficits found in Drupal core. Additionally I included a segment on finding and evaluating modules.

Getting Started with Drupal's Batch API

The following is a posting of my code from this month's Boise Drupal User Group presentation I did on Drupal's Batch API as it exists in Drupal 6. It also showcases a simple technique one could use for firing off batch operations via Drupal's admin interface. It's light on prose, and heavy on code.

screenshot of batch api in action: progress bar

Strategies for Grokking Drupal Code

If programmers wanted to be technical writers, they probably would be technical writers and not programmers. You can see that tautology played out in many a Drupal module where the documentation (most likely a README.txt) is on the light side, and the code is on the heavy side. Don't get me wrong, there's some great documentation out there, and many valiant efforts on the part of developers, but you just can't always depend on extensive documentation - especially when you're looking at a module that's not particularly mature.

My OS X Panoply

I'm setting up a new MacBook Pro for development work. Thought it might be nice to have a list of programs installed and customizations made. Perhaps others will find it helpful, too. This setup is fairly well road-tested by this Drupal and web application developer.

Firefox

Find these via https://addons.mozilla.org/en-US/firefox/

  • Firebug (Developer tool. Great for CSS and Javascript work.)
  • Web Developer Toolbar (Developer tool. You should know it. Great for turning off Javascript, messing with cookies, measuring parts of a page.)
Syndicate content

Find Me Around

User login