Git Access on Drupal: How to Get and Use Git to Start Committing Modules and...
Want to contribute back to the Drupal community? Don't be afraid, Git is not as hard as you might think. There are plenty of resources available to those who search. Drupal recently switched over to...
View ArticleDrupalCon Chicago: A Roadmap for Drupal 8
While Dries' keynote touched on a number of topics -- from the scalability of Drupal to individual shout-outs to the top 30 core contributors -- the bulk of the talk focused on the roadmap for Drupal...
View ArticleSetting JS Callbacks with Drupal, JSON and Some jQuery Sauce (for jCarousel...
Sometimes a few characters of code can make all the difference in the world. All coders know the scenario: the code looks fine, all the right values are in the right place, the code validates or...
View ArticleViews Search by Link Module's URL Title: More Views Hacking
So recently I wanted to filter by URL title, having used it extensively as a text field with an optional link in a site.The code below is supposed to apply to an exposed Link module field filter in...
View ArticleDrupal 7 hook_block changes, with example template module
Drupal seven broke out the old hook_block($op = 'list', $delta = 0, $edit = array()) function, which took an operation as an argument, into four functions, hook_block_info, hook_block_save,...
View ArticleUse Syslog instead of Watchdog
In this example, we choose one of our servers to receive the Syslog traffic and the others will send traffic to it. In a large environment, you should use a non-public-facing server to act as a syslog...
View ArticleOS X 10.7 Lion Development: Native MAMP with MySQL installer
With the release of Lion, there are some subtle differences to setting up a local MAMP (Mac OS X, Apache, MySQL, PHP) environment compared to Snow Leopard. In an effort to keep this from being overly...
View ArticleOS X 10.7 Lion Development: Native Apache & PHP with Homebrew MySQL or MariaDB
OS X Lion ships with Apache and PHP, which both require a little bit of tweaking to get fully-functional for "MAMP" local development. The one thing Lion does not ship with is a database. This will be...
View ArticleMixing Context and Drupal's Native Block Ordering System
I work on a lot of legacy sites that were built without the Context module, and I would say that at least once on each of these legacy sites, I turn to Context when I have a very specific problem: the...
View ArticleOS X 10.7 Lion Development: MacPorts
OS X Lion comes with most of the tools you would need to do "MAMP" (Mac OS X, Apache, MySQL/MariaDB, PHP) development, as outlined in my previousposts once you add a database. So then why would you...
View ArticleGetting Ahead of Drupal's Coding Standards w/ Drupal Code Sniffer, Vim and a...
If you've submitted a project for consideration in a Drupal.org project application or issue queue, you may have received a review that looks something like this, a seemigly-endless stream of errors...
View ArticleIntroducing the Backbone Module for Drupal
Let's dig in. A bit of Backbone Background I won't spend too much time on Backbone coding specifically, since there are plenty of greatresources available online. I'd particuarly recommend this...
View ArticleTesting Asynchronous JavaScript Drupal Apps with QUnit
As one blogger has put it: “we cannot avoid testing javascript anymore”…especially when it comes to testing sophisticated client-side web apps that integrate with our servers via various APIs. As we...
View ArticleOS X 10.7 Lion Development: Nginx, PHP, MariaDB with Homebrew
Nginx is quickly becoming a popular, low resource alternative to Apache for many websites. This doesn't come without challenges, such as using PHP as CGI due to not having mod_php available. Nginx also...
View ArticleThree ways to get Drush on OS X
As I've said before, we love drush. It's hard to imagine doing Drupal work without it. If OS X is your workstation, it's pretty simple to install with pear, as described on the project page. Let's...
View ArticleUsable MAMP on OS X 10.8 Mountain Lion
MAMP on OS X is a great way to quickly get started on Apache/MySQL/PHP development locally on a Mac. Unfortunately, I've found that many of the defaults can get in the way of developing some content...
View ArticleObject Oriented PHP and the Migrate Module: Code Organization for Most...
There are 2 kinds of people in this world: people who use the Migrate module to migrate content into a new Drupal site, and wrong people. This post assumes a basic familiarity with the module. The...
View ArticleSpeed up PHP on NFS with turbo_realpath on CentOS
If you run a website based on PHP, and have your source files on a network file system like NFS, OCFS2, or GlusterFS, and combine it with PHP's open_basedir protection, you'll quickly notice that the...
View ArticleContextual Complexity Vexes a Texan; or Non-contextual Views Filters,...
Ok fine, I'm not a Texan.But if you, like me, have ever needed a Drupal View's contextual filters to be combined with an "or" operator, you have probably been vexed. Contextual Filters are always...
View ArticleWhat's the deal with Pressflow 7?
Anyone who used Drupal 6 at scale knew that Pressflow 6 was pretty great. It forked Drupal and added several performance enhancements, including the ability to use external caches. Since Drupal 7...
View Article
More Pages to Explore .....