Authenticated User Caching Concepts in Drupal 7 Jun 09, 2014 Drupal has a wide variety of highly effective solutions for caching anonymous user content. The typical setup is APC, Memcached or Redis, and Varnish in front, and this can easily serve thousands of concurrent anonymous users. There is excellent documentation out there discussing this kind of simple caching. But what about authenticated users? You can cache elements of the page using a method like Render cache, Entity Cache, or Views Content Cache. ...
Drupal Superheroes: ASSEMBLE! May 28, 2014 Regular Drupalcon attendees know that the opening pre-keynote session is one of the highlights of the con. That’s the session where we welcome everyone to the con with stupid jokes, some well known Drupalists, and a lot of fun. This year is going to be especially good - and we need your help! The evil Lord Over Engineering is threatening to delay the release of the CMS, which we need to save the world! ...
Drupalcamp Helsinki takes on the world May 26, 2014 Last weekend I got to keynote Drupalcamp Helsinki with my friend and often-collaborator, scaragucc - and what a great camp it was! Organizer Lauri Eskola deserves tremendous credit for taking this camp to the next level. They doubled their attendance from last year, attracted positive attention from some great notables in the global Drupal world, and got their local community energized to engage more. At all the various after parties there were frequent toasts of “one of the best Drupalcamps in the world! ...
How to recover photos and data from a keylocked Android phone May 18, 2014 Recently a good friend of mine passed away suddenly. Her family asked me to recover her photos and videos from her computer and android phone. The computer was easy enough, but the android phone posed a real problem. It had a keylock enabled, and USB debugging disabled. There was no external SD card to pull out, which meant that all the photos were stored on the internal memory. The phone was a totally stock Samsung Galaxy S3 mini. ...
Why use an IDE when vim is so awesome? May 12, 2014 One thing I’ve never really understood is IDEs. I mean, I get it when you have a complex, emulated environment as a key part of your development. But for the majority of us who write in high level languages like PHP or Ruby, I just don’t see the benefit. Why use some mouse-y, graphics dependent piece of software when you can use the ubiquitous Vim? I use Vim because: It can do everything any IDE I’ve seen can do. ...
Coder vs. Themer Ultimate Grudge Match Smackdown Fight to the Death May 01, 2014 I’m really excited about a new session that I’ve been doing with my friend and colleague, Adam Juran aka scaragucc: the Coder vs Themer Ultimate Grudge Match Smackdown Fight to the Death! The basic premise: we both start with the same wireframe of a front page to build. But I’m only allowed to use the module layer, and Adam is only allowed to use the theme layer. It’s a really fun and entertaining way to play with the blurry lines between “coder” and “themer”. ...
How to create a custom Display Suite field Apr 02, 2014 A few months ago I posted about how to create a custom Panels pane, a critical reference for anyone who uses Panels layouts. The other part of the toolkit for quick and awesome layouts is the Display Suite module. With DS you can create new “Display modes” for your content, to be reused around the site. For example, on one recent site I had four standard ways to display my nodes: Full, Teaser, Mini-Teaser, and Search Result. ...
Drupal Dev Days Szeged, or: why you should attend every Camp you can Mar 29, 2014 Today is the last day of Drupal Dev Days in Szeged, Hungary, and I’ve never been more full of the “Drupal spirit!” One of Drupal’s greatest strengths is the closness of its’ community, how friendly and accepting they can be. Drupalcons are highlight events for many, not because of the learning as much as because of the social track: the chance to see old friends and make new ones. Even more important is the chance to experience in person this incredibly friendly community. ...
Another cryptic Ruby message Jan 10, 2014 Ruby on Rails drives me nuts, and today I found another example of why: the cryptic error messages. After a server update, my chiliproject/redmine site refused to start. The error message was “Object is not missing constant Issue!” What does that even mean? It took me a little while to understand that Issue in this context is the Redmine object “Issue”. But still, “Object is not missing constant X” isn’t much help. ...
Drush self aliases Jan 10, 2014 I ran into an interesting problem with the drush @self alias today. I wanted to pull a fresh copy of the DB down from a client’s live site to my local development copy. Should be as easy as drush sql-sync @clientsite.live @self, right? I’ve done this a thousand times before. And I’ve also ignored the warning message every time before, but today I thought I’d check it out: WARNING: Using temporary files to store and transfer sql-dump. ...